summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-11-20 11:53:36 +0000
committerdlg <dlg@openbsd.org>2015-11-20 11:53:36 +0000
commit85a89ca51278e08c881d89415506beee26f9c7c2 (patch)
tree4363e5ceb208f255b9abc6a6bbc26f19ae00f317 /usr.bin/tmux/tmux.c
parenti made a mistake. rename ifq_enq and ifq_deq to ifq_enqueue and ifq_dequeue (diff)
downloadwireguard-openbsd-85a89ca51278e08c881d89415506beee26f9c7c2.tar.xz
wireguard-openbsd-85a89ca51278e08c881d89415506beee26f9c7c2.zip
avoid a use after enqueue, which is like a use after free.
once you enqueue an mbuf, you no longer own it. therefore you cant read the length out of it. this reads the length first, then tries to enq it. also, call if_start instead of a bare call to the underlying start routine. ok mpi@ sthen@
Diffstat (limited to 'usr.bin/tmux/tmux.c')
0 files changed, 0 insertions, 0 deletions