diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-09-11 12:22:35 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-09-11 12:22:35 +0000 |
commit | e14ab425ab5c1023210ae457abd47f745b6a317d (patch) | |
tree | f6ecaf7535a754b191507a4d773574ac401baef2 /etc | |
parent | afd0874b66f39f0f1ca8887afcb542877efdb1d3 (diff) |
After calling m_freem() on nmi_mrep (or nmi_mreq) set the pointer to NULL.
Only do this if struct nfsm_info doesn't have local scope.
In some cases the caller would perfrom another m_freem and double free
the mbuf and Bad Things(TM) would happen.
Reported by Claes M Nyberg on bugs@; with & ok miod@
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions