summaryrefslogtreecommitdiff
path: root/usr.sbin/zdump
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-09-11 12:22:35 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-09-11 12:22:35 +0000
commite14ab425ab5c1023210ae457abd47f745b6a317d (patch)
treef6ecaf7535a754b191507a4d773574ac401baef2 /usr.sbin/zdump
parentafd0874b66f39f0f1ca8887afcb542877efdb1d3 (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 'usr.sbin/zdump')
0 files changed, 0 insertions, 0 deletions