diff options
author | Jiri Slaby <[email protected]> | 2009-05-04 18:10:28 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2009-05-04 16:22:16 -0400 |
commit | 6909268dc93ae4b0b8e1ebb4b2fa70b1a47dd347 (patch) | |
tree | d4410166db411f73939560f9cd9e1b7bdeae09c1 /net/unix/af_unix.c | |
parent | 8e532175277d9a5eae49768ed086555081f741a7 (diff) |
mac80211: pid, fix memory corruption
pid doesn't count with some band having more bitrates than the one
associated the first time.
Fix that by counting the maximal available bitrate count and allocate
big enough space.
Secondly, fix touching uninitialized memory which causes panics.
Index sucked from this random memory points to the hell.
The fix is to sort the rates on each band change.
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions