Skip to content

Commit

Permalink
ath9k_hw: Fix possible OOB array indexing in gen_timer_index[] on 64-bit
Browse files Browse the repository at this point in the history
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Vasanthakumar Thiagarajan authored and John W. Linville committed Nov 13, 2009
1 parent c258d2d commit c90017d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath9k/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ struct ath9k_hw_version {
* Using de Bruijin sequence to to look up 1's index in a 32 bit number
* debruijn32 = 0000 0111 0111 1100 1011 0101 0011 0001
*/
#define debruijn32 0x077CB531UL
#define debruijn32 0x077CB531U

struct ath_gen_timer_configuration {
u32 next_addr;
Expand Down

0 comments on commit c90017d

Please sign in to comment.