summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-04-20 00:19:04 +0000
committerngie <ngie@FreeBSD.org>2016-04-20 00:19:04 +0000
commitc812be13956348789ee902dfa962354ef4cfe6ba (patch)
tree18cdd07180043b3350d52eeea0565553b3877a4c /sbin/savecore
parentef837f8229b78347a7fa76948f495fc09df2ec2e (diff)
downloadFreeBSD-src-c812be13956348789ee902dfa962354ef4cfe6ba.zip
FreeBSD-src-c812be13956348789ee902dfa962354ef4cfe6ba.tar.gz
Fix double fclose of `fp1` when freopen fails
freopen handles closing file descriptors on error, with the exception of fdopen'ed descriptors, so closing an already fclose'd file descriptor is incorrect CID: 1338525 Differential Revision: https://reviews.freebsd.org/D6013 MFC after: 2 weeks Reported by: Coverity Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sbin/savecore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud