Bug 2173

Summary: WifiInformationElement::DeserializeIfPresent attempts to read beyond the end of buffer
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, tommaso.pecorella
Priority: P3    
Version: pre-release   
Hardware: PC   
OS: Linux   

Description Tom Henderson 2015-08-27 17:39:41 UTC
Described here:
http://mailman.isi.edu/pipermail/ns-developers/2015-August/013066.html
Comment 1 Tommaso Pecorella 2015-08-30 09:42:20 UTC
+1.

At first I was wondering why DeserializeIfPresent was going to be called on an empty buffer, and if the check could be moved in the caller function.
However, It seems that the check in DeserializeIfPresent is the most clean solution.
Comment 2 sebastien.deronne 2015-09-03 19:15:08 UTC
committed in changeset 11630:aba589d21bce