summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/xmalloc.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-20 07:15:04 +0000
committermav <mav@FreeBSD.org>2014-10-20 07:15:04 +0000
commitcf495e06a44ce74adbeb57b9d9f524dd5f808532 (patch)
tree3869b6a1a102e139681404013ff1d8e311ee4284 /contrib/diff/lib/xmalloc.c
parent558b9d746be84146d8d79d96c9cc61a81221d549 (diff)
downloadFreeBSD-src-cf495e06a44ce74adbeb57b9d9f524dd5f808532.zip
FreeBSD-src-cf495e06a44ce74adbeb57b9d9f524dd5f808532.tar.gz
MFS10 r273272 (r273143 in head):
Remove setting BIO_DONE flag for BIOs that have done() method. This fixes use-after-free, caused by geom_disk, completing same BIO twice to save extra allocation, and getting BIO_DONE set after the first. Approved by: re (hrs)
Diffstat (limited to 'contrib/diff/lib/xmalloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud