NetBSD/gnu/dist/grep/lib
apb aa3786b9b6 Change several int variables to size_t, ssize_t, or ptrdiff_t.
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.
2013-01-05 09:40:15 +00:00
..
posix
Makefile.am
Makefile.in
alloca.c
atexit.c
closeout.c
closeout.h
error.c
error.h
exclude.c
exclude.h
fnmatch.c
fnmatch.h
getopt.c
getopt.h
getopt1.c
hard-locale.c
hard-locale.h
isdir.c
malloc.c
memchr.c
obstack.c
obstack.h
quotearg.c
quotearg.h
realloc.c
regex.c
regex.h
savedir.c
savedir.h
stpcpy.c
strtol.c
strtoul.c
strtoull.c
strtoumax.c
xalloc.h
xmalloc.c
xstrtol.c
xstrtol.h
xstrtoumax.c