aa3786b9b6
This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable. This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3. Thanks to Ignatios Souvatzis for looking at GPLv3-derived patches and describing the problem in general terms. Thanks to pkgsrc/devel/coccinelle for helping me find places where int variables were used to store the results from pointer arithmetic or strlen(). Thanks to Martin Husemann for testing. |
||
---|---|---|
.. | ||
autoconf | ||
bc | ||
diffutils | ||
gcc4 | ||
gettext | ||
gkermit | ||
gmake | ||
grep | ||
groff | ||
texinfo |