summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/shared_mutex.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-20 06:41:26 +0000
committertruckman <truckman@FreeBSD.org>2016-05-20 06:41:26 +0000
commit5c329ee4289a660060ecf596cbc3801e8c819df8 (patch)
treebd3c8e8694a8bd31cbc323e7e6a4092235adb76a /contrib/libc++/src/shared_mutex.cpp
parent377e456dcc1bad19ae2a4a655498f6bfb30612df (diff)
downloadFreeBSD-src-5c329ee4289a660060ecf596cbc3801e8c819df8.zip
FreeBSD-src-5c329ee4289a660060ecf596cbc3801e8c819df8.tar.gz
MFC r299591
Always return either a dynamically allocated string or NULL from expand(). Never return the name parameter, which could be a the buf[] buffer which is allocated on the stack by getdeadletter() and which would then be used after getdeadletter() has returned. Reported by: Coverity CID: 1199383
Diffstat (limited to 'contrib/libc++/src/shared_mutex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud