Re: [PATCH 1/1] ath5k: fix hw rate index condition

From: Jiri Slaby
Date: Thu Feb 26 2009 - 18:19:27 EST


On 27.2.2009 00:15, Bob Copeland wrote:
Speaking of, I think there's another potential oob array access at:

if (rxs.rate_idx>= 0&& rs.rs_rate ==
sc->curband->bitrates[rxs.rate_idx].hw_value_short)
rxs.flag |= RX_FLAG_SHORTPRE;

because sc->rate_idx is u8 instead of s8.

strcmp("sc->rate_idx", "rxs.rate_idx") != 0 :)

Or did I miss something?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/