diff options
| author | Bob Copeland <[email protected]> | 2015-07-14 08:31:56 -0400 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2015-07-17 14:39:42 +0200 |
| commit | b3e7de873df77c1fa0bc2cfaf3eaff757b80e773 (patch) | |
| tree | 046c8fc8415179b2cf90c600176790dd385e75d8 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | 2ea752cd2ce066c5d8c1807b5310ef329885cecb (diff) | |
mac80211: add missing length check for confirm frames
Although mesh_rx_plink_frame() already checks that frames have enough
bytes for the action code plus another two bytes for capability/reason
code, it doesn't take into account that confirm frames also have an
additional two-byte aid. As a result, a corrupt frame could cause a
subsequent subtraction to wrap around to ill effect. Add another
check for this case.
Signed-off-by: Bob Copeland <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions