[OpenSER-Devel] SF.net SVN: openser: [3392] trunk/crc.c
Dan Pascu
dan at ag-projects.com
Fri Dec 14 20:24:05 UTC 2007
Isn't the same fix to be applied to the next for loop? I see there is also
a line remaining that reads:
hash = crc_32_tab[((char)hash) ^ *data] ^ (hash >> 8);
On Friday 14 December 2007, Henning Westerholt wrote:
> Revision: 3392
> http://openser.svn.sourceforge.net/openser/?rev=3392&view=rev
> Author: henningw
> Date: 2007-12-14 07:54:26 -0800 (Fri, 14 Dec 2007)
>
> Log Message:
> -----------
> - bugfix in crc.c, use the right type for array index
> negative indexes will point to random memory..
>
> Modified Paths:
> --------------
> trunk/crc.c
--
Dan
More information about the Devel
mailing list