freebsd-dev/lib/libc/regex
Pedro F. Giffuni 039b877ef0 regex: prevent two improbable signed integer overflows.
In matcher() we used an integer to index nsub of type size_t.
In print() we used an integer to index nstates of type sopno,
typedef'd long.
In both cases the indexes never take negative values.

Match the types to avoid any error.

MFC after:	5 days
2016-04-23 20:45:09 +00:00
..
grot Add -static to CFLAGS to unbreak the tests by using a libc.a with 2015-12-13 06:33:52 +00:00
cname.h
COPYRIGHT
engine.c regex: prevent two improbable signed integer overflows. 2016-04-23 20:45:09 +00:00
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
re_format.7 mdoc: rendering fixes 2015-04-26 10:55:39 +00:00
regcomp.c computematchjumps(): fix allocator sizeof operand mismatch. 2015-04-22 17:09:02 +00:00
regerror.c
regex2.h
regex.3 mdoc: rendering fixes 2015-04-26 10:55:39 +00:00
regexec.c
regfree.c
Symbol.map
utils.h
WHATSNEW