summaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2016-06-07 19:49:08 +0000
committercem <cem@FreeBSD.org>2016-06-07 19:49:08 +0000
commit3b6ce85def33ecb4ad25a28b38f8cce3c529e33f (patch)
treed9ecefdad118f65f06f5620edf4bede664121750 /UPDATING
parent2f8ff58ccd3d2b91f74e0867d95223c47bff8387 (diff)
downloadFreeBSD-src-3b6ce85def33ecb4ad25a28b38f8cce3c529e33f.zip
FreeBSD-src-3b6ce85def33ecb4ad25a28b38f8cce3c529e33f.tar.gz
iflib: Fix potential leak in iflib_if_transmit
Due to an accidental mismatch between allocation and release in the slow path of iflib_if_transmit, if a caller passed 9-16 mbufs to the routine, the mbuf array would be leaked. Fix the mismatch by removing the magic numbers in favor of nitems() on the stack array. According to mmacy, this leak is unlikely. Reported by: Coverity Discussed with: mmacy CID: 1356040 Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud