]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[802.11] Fix a use-after-free
authorJoshua Oreman <oremanj@rwcr.net>
Fri, 30 Jul 2010 03:13:31 +0000 (20:13 -0700)
committerMichael Brown <mcb30@ipxe.org>
Sun, 1 Aug 2010 16:29:57 +0000 (17:29 +0100)
commit73aea88a62ac46464a2eec7a94a6350ae7a36bbf
tree9b52f7595b8f4e2f0a07e34c0fa7b067fc36916f
parent0c593d95e5e1f391bbfa418774ae6433cabe308d
[802.11] Fix a use-after-free

When we received an encrypted packet, after replacing it with its
decrypted version and freeing the encrypted original, we would
continue to look at the header of the now-freed original packet. Fix
by moving the header pointer to point at the decrypted packet instead.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/80211/net80211.c