summaryrefslogtreecommitdiffstats
path: root/lib/libcbor
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-11-14 01:02:02 +0000
committerdlg <dlg@openbsd.org>2019-11-14 01:02:02 +0000
commitd0f4f6723adbf04efe0ba88d574a018ed8fdc396 (patch)
tree8a70e241e357627c77064735d9adbfe6220c5211 /lib/libcbor
parentin order to be able to figure out the number of signatures left on (diff)
downloadwireguard-openbsd-d0f4f6723adbf04efe0ba88d574a018ed8fdc396.tar.xz
wireguard-openbsd-d0f4f6723adbf04efe0ba88d574a018ed8fdc396.zip
avoid a use after free in if_delgroup.
if_detach passes the groupname from an ifg_list struct to if_delgroup, if_delgroup then uses the name to find the same ifg_list struct so it can free it, and then passes the name from the struct to pfi_group_change(). at worst this can cause a fault if malloc(9) actually unmaps the page the struct was on, and at best it causes pf interfaces with garbage names to be created. ok sashan@ bluhm@
Diffstat (limited to 'lib/libcbor')
0 files changed, 0 insertions, 0 deletions