[RFA] libiberty/hashtab.c, higher_prime_index: avoid array overrun

Michael Snyder msnyder@vmware.com
Thu Mar 3 22:04:00 GMT 2011


As written, the function will access element [30] of a 30-element array.

OK?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hashtab.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110303/a451cdad/attachment.txt>


More information about the Gcc-patches mailing list