Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Fix double free.



details:   https://anonhg.NetBSD.org/src-all/rev/6707a6dabe42
branches:  trunk
changeset: 951006:6707a6dabe42
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Wed Jul 01 12:27:58 2020 +1000

description:
Fix double free.

diffstat:

 sys/dev/pci/if_iwn.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 4ea43e40fe8a -r 6707a6dabe42 sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Wed Jul 01 12:26:58 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Wed Jul 01 12:27:58 2020 +1000
@@ -2522,7 +2522,6 @@
                /* No node found ... process differently. */
        }
 
-       m_free(m);
                (void) ieee80211_input_all(ic, m, rssi + 116, 0);
        splx(s);
 }



Home | Main Index | Thread Index | Old Index