Commit [r2296]  Maximize  Restore  History

Have athff_decap check that there is enough data in the frame for the headers it tries to use.

This patch changes the variable frame_len to an unsigned variable for safety. This variable is referenced 4 times, including declaration; all expect an unsigned values, and there are no cross-type comparisons. The code type-checks and compiles with gcc-4.1 and linux-2.6.20.

mentor 2007-04-26

changed /trunk/net80211/ieee80211_input.c
/trunk/net80211/ieee80211_input.c Diff Switch to side-by-side view