Bug#826324: [Bug-freedink] Bug#826324: Array out of bounds in loop

2016-06-12 Thread Sylvain
Control: tags -1 fixed-upstream thanks Hi, AFAICS I switched to a '<' in my latest clean-up, probably because I fixed the same warning. Cheers! Sylvain On Sat, Jun 04, 2016 at 11:17:41AM -0400, Bas Wijnen wrote: > Package: freedink > Version: 108.4-1 > Severity: normal > > While compiling the

Bug#826324: Array out of bounds in loop

2016-06-04 Thread Bas Wijnen
Package: freedink Version: 108.4-1 Severity: normal While compiling the package from the Debian source, I saw a warning about undefined behavior, and it is indeed a bug. In src/dinkc.c, MAX_CALLBACKS is defined as 100, and callback is defined as static struct call_back callback[MAX_CALLBACKS];