summaryrefslogtreecommitdiffstats
path: root/release/pc98
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2017-06-25 05:46:03 +0000
committerdelphij <delphij@FreeBSD.org>2017-06-25 05:46:03 +0000
commitfcce4148584876e3cabb698b445b6efda15e4ee6 (patch)
treec0a309e2d17fd4215f55a9bb41238b7cd28f29be /release/pc98
parentdeacf3bf7cab31f93f26daa334eb6ac860d508c2 (diff)
downloadFreeBSD-src-fcce4148584876e3cabb698b445b6efda15e4ee6.zip
FreeBSD-src-fcce4148584876e3cabb698b445b6efda15e4ee6.tar.gz
MFC r320216: Fix use-after-free introduced in r300388.
In r300388, endnetconfig() was called on nc_handle which would release the associated netconfig structure, which means tmpnconf->nc_netid would be a use-after-free. Solve this by doing endnetconfig() in return paths instead. Reported by: jemalloc via kevlo Reviewed by: cem, ngie (earlier version)
Diffstat (limited to 'release/pc98')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud