diff options
author | 2015-11-20 11:53:36 +0000 | |
---|---|---|
committer | 2015-11-20 11:53:36 +0000 | |
commit | 85a89ca51278e08c881d89415506beee26f9c7c2 (patch) | |
tree | 4363e5ceb208f255b9abc6a6bbc26f19ae00f317 /usr.bin/tmux/tmux.c | |
parent | i made a mistake. rename ifq_enq and ifq_deq to ifq_enqueue and ifq_dequeue (diff) | |
download | wireguard-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