summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-06-19 17:58:49 +0000
committerbluhm <bluhm@openbsd.org>2017-06-19 17:58:49 +0000
commit36c0109eae52b8c24faab57b6f949fb2dd622cb5 (patch)
treecc0859199dae91d7020bdd7213495b91146b5a01 /sbin/dhclient
parentdelete accidental blank line (diff)
downloadwireguard-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