Re: [PATCH 3/5] ath9k: fix buffer overrun for ar9287

2016-03-21 Thread Kalle Valo
Arnd Bergmann writes: > Code that was added back in 2.6.38 has an obvious overflow > when accessing a static array, and at the time it was added > only a code comment was put in front of it as a reminder > to have it reviewed properly. > > This has not happened, but gcc-6 now

[PATCH 3/5] ath9k: fix buffer overrun for ar9287

2016-03-14 Thread Arnd Bergmann
Code that was added back in 2.6.38 has an obvious overflow when accessing a static array, and at the time it was added only a code comment was put in front of it as a reminder to have it reviewed properly. This has not happened, but gcc-6 now points to the specific overflow: