#
3896c310 |
| 01-Jan-2025 |
christos <christos@NetBSD.org> |
PR/58910: enh at google dot com: Fix signed character issue in character ranges.
|
#
2cf99de6 |
| 24-Feb-2021 |
christos <christos@NetBSD.org> |
reduce casts
|
#
1ee269c3 |
| 23-Feb-2021 |
christos <christos@NetBSD.org> |
sync with FreeBSD: - NLS support - GNU extensions - bug fixes
|
#
407d8594 |
| 09-Oct-2011 |
christos <christos@NetBSD.org> |
Prevent regcomp/regexec DoS attacks by limiting the amount of memory used and the level of recursion. Thanks to Maksymilian Arciemowicz for discovery and help with the implementation.
|
#
64d3d6de |
| 12-Feb-2009 |
lukem <lukem@NetBSD.org> |
sign-compare fixes
|
#
d43ce6c1 |
| 26-Mar-2004 |
enami <enami@NetBSD.org> |
Redo previous in a different way; cast the character held in int variable as unsigned char just before passing isalnum() in ISWORD() rather than fetching it as unsigned char. It is ok since EOF is n
Redo previous in a different way; cast the character held in int variable as unsigned char just before passing isalnum() in ISWORD() rather than fetching it as unsigned char. It is ok since EOF is never passed to ISWORD() (though it will be a bit inefficient.)
Addresses PR#24929.
show more ...
|
#
eb7c1594 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
#
b6581ead |
| 13-Dec-1998 |
drochner <drochner@NetBSD.org> |
Minor size_t!=int related cleanup, only effective on the alpha. btw: the maximum length of an RE is limited by the "int" range, also on the alpha. "sopno" is "int", and "int"s are used as counters wi
Minor size_t!=int related cleanup, only effective on the alpha. btw: the maximum length of an RE is limited by the "int" range, also on the alpha. "sopno" is "int", and "int"s are used as counters within the code, so it would need some work to change this. I only don't know how one could test it...
show more ...
|
#
c300f8f4 |
| 08-Dec-1998 |
drochner <drochner@NetBSD.org> |
Back out part of the last change. This broke on the alpha (or wherever sizeof(u_int32_t) != sizeof(*)), at least in cases with re->re_g->nstates between 32 and 64. Primary reason for the breakage was
Back out part of the last change. This broke on the alpha (or wherever sizeof(u_int32_t) != sizeof(*)), at least in cases with re->re_g->nstates between 32 and 64. Primary reason for the breakage was that the "states1" definition didn't work as expected. (It didn't work before either, but this was not noticed due to sizeof(long)==sizeof(*).) The alpha can handle larger problems with the "small" state machine model if a "long" is used as state variable, so it is better to keep the old definition here. (u_int32_t is left for the "operator" variables.) Use "int" as "sopno" - this is used as index into the states field, there is no point in using a fized-size type.
show more ...
|
#
4523c05f |
| 14-Nov-1998 |
christos <christos@NetBSD.org> |
Delint: - we don't need to use longs; convert to use int32_t. - remove break statements after returns. - cast things properly.
|
#
c765a5a9 |
| 06-Apr-1997 |
cgd <cgd@NetBSD.org> |
qualify opcode constants with long, so that bad things don't happen when long != 32 bits. This might need a bit more thought (i.e. why use long here to begin with, when int32_t might be a better cho
qualify opcode constants with long, so that bad things don't happen when long != 32 bits. This might need a bit more thought (i.e. why use long here to begin with, when int32_t might be a better choice), but for now it's good enough. From Ross Harvey in PR 3450, extended by me to cover the rest of the opcode constants and masks.
show more ...
|
#
2c84ad3a |
| 27-Feb-1995 |
cgd <cgd@NetBSD.org> |
add unintrusive Ids
|
#
7c6ed81d |
| 30-Jan-1995 |
cgd <cgd@NetBSD.org> |
clean up import; kill old cruft.
|
#
3ed83140 |
| 23-Feb-1994 |
jtc <jtc@NetBSD.org> |
Upgrade regex routines to alpha3.3.
|
#
6931099e |
| 11-Nov-1993 |
jtc <jtc@NetBSD.org> |
Update to Henry's Nov 2, 1993 alpha3.2 release.
|
#
b90ff831 |
| 10-Nov-1993 |
jtc <jtc@NetBSD.org> |
Henry Spencer's POSIX.2 compatibile regular expression matching routines.
|