diff options
author | 2017-06-19 17:58:49 +0000 | |
---|---|---|
committer | 2017-06-19 17:58:49 +0000 | |
commit | 36c0109eae52b8c24faab57b6f949fb2dd622cb5 (patch) | |
tree | cc0859199dae91d7020bdd7213495b91146b5a01 /sbin/dhclient | |
parent | delete accidental blank line (diff) | |
download | wireguard-openbsd-36c0109eae52b8c24faab57b6f949fb2dd622cb5.tar.xz wireguard-openbsd-36c0109eae52b8c24faab57b6f949fb2dd622cb5.zip |
When dealing with mbuf pointers passed down as function parameters,
bugs could easily result in use-after-free or double free. Introduce
m_freemp() which automatically resets the pointer before freeing
it. So we have less dangling pointers in the kernel.
OK krw@ mpi@ claudio@
Diffstat (limited to 'sbin/dhclient')
0 files changed, 0 insertions, 0 deletions