Bug 2173 - WifiInformationElement::DeserializeIfPresent attempts to read beyond the end of buffer
WifiInformationElement::DeserializeIfPresent attempts to read beyond the end ...
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
pre-release
PC Linux
: P3 normal
Assigned To: sebastien.deronne
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-27 17:39 EDT by Tom Henderson
Modified: 2015-09-03 19:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2015-08-27 17:39:41 EDT
Described here:
http://mailman.isi.edu/pipermail/ns-developers/2015-August/013066.html
Comment 1 Tommaso Pecorella 2015-08-30 09:42:20 EDT
+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 EDT
committed in changeset 11630:aba589d21bce