summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2015-01-08 03:44:54 +0000
committerpfg <pfg@FreeBSD.org>2015-01-08 03:44:54 +0000
commit881f69699c38b25568fa51a3937070d03607e2c7 (patch)
tree06c7c420992f2695435faf93bddd7a6d96eab161 /contrib
parent355ebe62bd2ba0d8fc02e3d12cb6d8e651895006 (diff)
downloadFreeBSD-src-881f69699c38b25568fa51a3937070d03607e2c7.zip
FreeBSD-src-881f69699c38b25568fa51a3937070d03607e2c7.tar.gz
MFC r276218:
patch: Bring in xstrdup and use it when appropriate. The function savestr allows NULL return values during Plan A patching so in case of out of memory conditions, Plan B can step in. In many cases, NULL value is not properly handled, so use xstrdup here (it's outside Plan A/B patching, which means that even Plan B relies on successful operations). Clean up some whitespaces while here Obtained from: OpenBSD
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud