radare2/libr/util/regex
Giovanni 6fe6564b8d Fixed 8 coverity bugs (#8305)
* 1372278 Identical code for different branches
* 1372276 Dereference after null check
* 1372273 Logically dead code
DEAD CODE. i must be between 1 and 9.
* 1372272 Logically dead code
At condition 64U - slen > 64U, the value of slen must be between 1 and 63.
At condition 64U - slen > 64U, the value of slen cannot be equal to 0.
The condition 64U - slen > 64U cannot be true.
* 1372265 Dereference after null check
* 1372264 Logically dead code
* 1372262 Logically dead code
* 1372258 Logically dead code
* 1372257 Unchecked return value
2017-08-25 18:12:12 +02:00
..
cclass.h * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
cname.h * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
COPYRIGHT * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
engine.c Fix #6853 - get rid of asserts 2017-03-12 15:24:05 +01:00
Makefile Fix some warnings 2013-06-09 02:55:03 +02:00
re_format.7 * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
README * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
regcomp.c Fixed 8 coverity bugs (#8305) 2017-08-25 18:12:12 +02:00
regerror.c Fix STRLCPY macro from regex and fix 1 byte overflow CID 2016-12-19 03:23:49 +01:00
regex2.h * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
regex.3 * Import the r_regex api in libr/util/regex from OpenBSD source 2011-09-14 02:07:06 +02:00
regexec.c Fix #6853 - get rid of asserts 2017-03-12 15:24:05 +01:00
test.c Fix workaround for /R/ 2015-10-24 02:41:43 +02:00
utils.h Fix STRLCPY macro from regex and fix 1 byte overflow CID 2016-12-19 03:23:49 +01:00

Based on the OpenBSD's regex implementation

Modified to be portable (now compiles on windows, linux and *bsd including darwin)

cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src/lib/libc/regex