Module Name:src
Committed By: christos
Date: Wed Aug 30 20:37:24 UTC 2023
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
- cast GETNEXT to unsigned where it is being promoted to int to prevent
sign-extension (really it would have been better for PEEK*() and
Module Name:src
Committed By: christos
Date: Wed Aug 30 20:37:24 UTC 2023
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
- cast GETNEXT to unsigned where it is being promoted to int to prevent
sign-extension (really it would have been better for PEEK*() and
Module Name:src
Committed By: wiz
Date: Wed Dec 21 17:44:15 UTC 2022
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Remove unneeded -D_OPENBSD_SOURCE
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/lib/libc/regex/regcomp.c
Please note that
Module Name:src
Committed By: wiz
Date: Wed Dec 21 17:44:15 UTC 2022
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Remove unneeded -D_OPENBSD_SOURCE
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/lib/libc/regex/regcomp.c
Please note that
Module Name:src
Committed By: uwe
Date: Sun Dec 4 16:52:49 UTC 2022
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
re_format(7): Add subsection headings for ERE and BRE
The first paragraph could use some rewording. While BRE may be
obsolete, it's still
Module Name:src
Committed By: uwe
Date: Sun Dec 4 16:52:49 UTC 2022
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
re_format(7): Add subsection headings for ERE and BRE
The first paragraph could use some rewording. While BRE may be
obsolete, it's still
Module Name:src
Committed By: riastradh
Date: Sat Nov 5 11:33:55 UTC 2022
Modified Files:
src/lib/libc/regex: regerror.c
Log Message:
regerror(3): Allow null errbuf if errbuf_size is zero.
The man page says:
If errbuf_size is 0, errbuf is ignored but the return
Module Name:src
Committed By: riastradh
Date: Sat Nov 5 11:33:55 UTC 2022
Modified Files:
src/lib/libc/regex: regerror.c
Log Message:
regerror(3): Allow null errbuf if errbuf_size is zero.
The man page says:
If errbuf_size is 0, errbuf is ignored but the return
Module Name:src
Committed By: uwe
Date: Sun Aug 28 12:59:50 UTC 2022
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
re_format(7): Use dagger, not double dagger. Make it superscript.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15
Module Name:src
Committed By: uwe
Date: Sun Aug 28 12:59:50 UTC 2022
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
re_format(7): Use dagger, not double dagger. Make it superscript.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15
Module Name:src
Committed By: christos
Date: Thu Apr 22 19:20:25 UTC 2021
Modified Files:
src/lib/libc/regex: utils.h
Log Message:
PR/56120: Chris Pinnock: build.sh (-m alpha) release fails on current on
Darwin in libc compilation
We build the regex code in tools without
Module Name:src
Committed By: christos
Date: Thu Apr 22 19:20:25 UTC 2021
Modified Files:
src/lib/libc/regex: utils.h
Log Message:
PR/56120: Chris Pinnock: build.sh (-m alpha) release fails on current on
Darwin in libc compilation
We build the regex code in tools without
Module Name:src
Committed By: christos
Date: Thu Mar 11 18:49:18 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Underscore is a word character (thanks uwe@)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/regex/regex.3
Module Name:src
Committed By: christos
Date: Thu Mar 11 18:49:18 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Underscore is a word character (thanks uwe@)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/regex/regex.3
Module Name:src
Committed By: wiz
Date: Thu Mar 11 17:13:29 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Remove trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/regex/regex.3
Please note that diffs are
Module Name:src
Committed By: wiz
Date: Thu Mar 11 17:13:29 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Remove trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/regex/regex.3
Please note that diffs are
Module Name:src
Committed By: christos
Date: Thu Mar 11 16:36:41 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
improve wording.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/regex/regex.3
Please note that diffs are not
Module Name:src
Committed By: christos
Date: Thu Mar 11 16:36:41 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
improve wording.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/regex/regex.3
Please note that diffs are not
Module Name:src
Committed By: christos
Date: Thu Mar 11 15:12:51 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Document the "C" language escapes supported in GNU mode.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29
Module Name:src
Committed By: christos
Date: Thu Mar 11 15:12:51 UTC 2021
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Document the "C" language escapes supported in GNU mode.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29
Module Name:src
Committed By: christos
Date: Thu Mar 11 15:00:29 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
recognize the "C" language backslash escapes like gnu does (except b which
is already taken)
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: christos
Date: Thu Mar 11 15:00:29 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
recognize the "C" language backslash escapes like gnu does (except b which
is already taken)
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: christos
Date: Fri Feb 26 19:24:48 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c regerror.c regexec.c regfree.c
Log Message:
Arrange for tools build
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45
Module Name:src
Committed By: christos
Date: Fri Feb 26 19:24:48 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c regerror.c regexec.c regfree.c
Log Message:
Arrange for tools build
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:59:27 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
add missing _
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/regex/regcomp.c
Please note that diffs are not
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:59:27 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
add missing _
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/lib/libc/regex/regcomp.c
Please note that diffs are not
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:47:46 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c
Log Message:
fix NLS compilation
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/regex/engine.c
cvs rdiff -u
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:47:46 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c
Log Message:
fix NLS compilation
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/regex/engine.c
cvs rdiff -u
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:28:40 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regexec.c regfree.c utils.h
Log Message:
Add glue to disable locale code in order to be smaller.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: christos
Date: Thu Feb 25 21:28:40 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regexec.c regfree.c utils.h
Log Message:
Add glue to disable locale code in order to be smaller.
To generate a diff of this commit:
cvs rdiff
In article <5c9e716-7ec1-9c7d-a7cb-21f08946...@invisible.ca>,
Jared McNeill wrote:
>Building tools on macOS:
>
>/Users/jmcneill/netbsd/git-src/tools/compat/../../lib/libc/regex/regcomp.c:1585:8:
>
>error: implicit declaration of function 'reallocarray' is invalid
> in C99
Module Name:src
Committed By: christos
Date: Thu Feb 25 13:42:16 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
protect MIN from re-definition
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/regex/regcomp.c
Please note
Module Name:src
Committed By: christos
Date: Thu Feb 25 13:42:16 UTC 2021
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
protect MIN from re-definition
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/regex/regcomp.c
Please note
Building tools on macOS:
/Users/jmcneill/netbsd/git-src/tools/compat/../../lib/libc/regex/regcomp.c:1585:8:
error: implicit declaration of function 'reallocarray' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
ncs = reallocarray(p->g->sets, p->g->ncsets + 1,
Module Name:src
Committed By: christos
Date: Wed Feb 24 18:13:21 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regex2.h regexec.c regfree.c
Log Message:
reduce casts
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27
Module Name:src
Committed By: christos
Date: Wed Feb 24 18:13:21 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regex2.h regexec.c regfree.c
Log Message:
reduce casts
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27
Module Name:src
Committed By: wiz
Date: Wed Feb 24 09:10:12 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c re_format.7 regex.3
Log Message:
Restore NetBSD RCS Ids.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/regex/engine.c
cvs rdiff
Module Name:src
Committed By: wiz
Date: Wed Feb 24 09:10:12 UTC 2021
Modified Files:
src/lib/libc/regex: engine.c re_format.7 regex.3
Log Message:
Restore NetBSD RCS Ids.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/regex/engine.c
cvs rdiff
Module Name:src
Committed By: christos
Date: Tue Feb 23 22:14:59 UTC 2021
Modified Files:
src/lib/libc/regex: cname.h engine.c re_format.7 regcomp.c regerror.c
regex.3 regex2.h regexec.c regfree.c utils.h
Removed Files:
src/lib/libc/regex: cclass.h
Log
Module Name:src
Committed By: christos
Date: Thu Feb 7 22:22:31 UTC 2019
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Add some better error handling from FreeBSD, although we don't
suffer from the same issue, since we don't decrement p->next, like
FreeBSD
Module Name:src
Committed By: christos
Date: Thu Feb 7 22:22:31 UTC 2019
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Add some better error handling from FreeBSD, although we don't
suffer from the same issue, since we don't decrement p->next, like
FreeBSD
Module Name:src
Committed By: christos
Date: Thu Feb 7 22:13:52 UTC 2019
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Fix OOB read from FreeBSD:
The bug is an out-of-bounds read detected with address sanitizer that
happens when 'sp' in p_b_coll_elems()
Module Name:src
Committed By: christos
Date: Thu Feb 7 22:13:52 UTC 2019
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Fix OOB read from FreeBSD:
The bug is an out-of-bounds read detected with address sanitizer that
happens when 'sp' in p_b_coll_elems()
Module Name:src
Committed By: kamil
Date: Mon Feb 26 14:04:43 UTC 2018
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Document ragasub(3) & regnsub(3) implementation detail
Added note:
Only 10 elements of the rm array can be used.
Sponsored by
To generate
Module Name:src
Committed By: kamil
Date: Mon Feb 26 14:04:43 UTC 2018
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Document ragasub(3) & regnsub(3) implementation detail
Added note:
Only 10 elements of the rm array can be used.
Sponsored by
To generate
On 25.02.2018 00:45, Christos Zoulas wrote:
> On Feb 25, 12:39am, n...@gmx.com (Kamil Rytarowski) wrote:
> -- Subject: Re: CVS commit: src/lib/libc/regex
>
> |
> | --MIMEStream=_0+26969_51985210222325_05798576868
> | Content-Type: multipart/signed; micalg=pgp-sha256;
> |
On Feb 25, 12:39am, n...@gmx.com (Kamil Rytarowski) wrote:
-- Subject: Re: CVS commit: src/lib/libc/regex
|
| --MIMEStream=_0+26969_51985210222325_05798576868
| Content-Type: multipart/signed; micalg=pgp-sha256;
| protocol="application/pgp-signature";
|
On 14.01.2016 21:41, Christos Zoulas wrote:
> +The
> +.Fa rm
> +array must be at least 10 elements long, and should contain the result
> +of the matches from a previous
> +.Fn regexec
> +call.
Could we have an argument to regasub(3)/regnsub(3) "size_t nmatch" like
in regexec(3), instead of
Module Name:src
Committed By: aymeric
Date: Mon Feb 29 22:10:13 UTC 2016
Modified Files:
src/lib/libc/regex: regsub.c
Log Message:
protect __RCSID the same way other reg*.c files do, so that we can use this
file in libnbcompat
To generate a diff of this commit:
cvs
Module Name:src
Committed By: aymeric
Date: Mon Feb 29 22:10:13 UTC 2016
Modified Files:
src/lib/libc/regex: regsub.c
Log Message:
protect __RCSID the same way other reg*.c files do, so that we can use this
file in libnbcompat
To generate a diff of this commit:
cvs
Module Name:src
Committed By: christos
Date: Thu Jan 14 20:41:47 UTC 2016
Modified Files:
src/lib/libc/regex: Makefile.inc regex.3
Added Files:
src/lib/libc/regex: regsub.c
Log Message:
add reg{,a}sub
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8
Module Name:src
Committed By: christos
Date: Thu Jan 14 20:41:47 UTC 2016
Modified Files:
src/lib/libc/regex: Makefile.inc regex.3
Added Files:
src/lib/libc/regex: regsub.c
Log Message:
add reg{,a}sub
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8
Module Name:src
Committed By: christos
Date: Thu Jan 14 21:45:02 UTC 2016
Modified Files:
src/lib/libc/regex: Makefile.inc regsub.c
Log Message:
rename to regnsub, regsub is a very popular name.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: christos
Date: Thu Jan 14 22:06:42 UTC 2016
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
catch up with regsub -> regnsub
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/regex/regex.3
Please note that
Module Name:src
Committed By: christos
Date: Thu Jan 14 22:06:42 UTC 2016
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
catch up with regsub -> regnsub
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/regex/regex.3
Please note that
Module Name:src
Committed By: christos
Date: Sat Sep 12 19:08:47 UTC 2015
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
use the unsigned char version of the input char in all cases "cap[uc]" to
avoid accessing cap[negative], found by Elliott Hughes
To
Module Name:src
Committed By: christos
Date: Sat Sep 12 19:08:47 UTC 2015
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
use the unsigned char version of the input char in all cases "cap[uc]" to
avoid accessing cap[negative], found by Elliott Hughes
To
Module Name:src
Committed By: wiz
Date: Sat Aug 22 14:04:54 UTC 2015
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
Update for v1.10: use '(*)' instead of '#' as dagger replacement.
dholland finds the '#' unintuitive and hard to read.
To generate a diff
Module Name:src
Committed By: wiz
Date: Sat Aug 22 14:04:54 UTC 2015
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
Update for v1.10: use '(*)' instead of '#' as dagger replacement.
dholland finds the '#' unintuitive and hard to read.
To generate a diff
Module Name:src
Committed By: joerg
Date: Tue Feb 17 20:30:44 UTC 2015
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Use reallocarr and simplify. Document valid reallocation failures.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35
Module Name:src
Committed By: joerg
Date: Tue Feb 17 20:30:44 UTC 2015
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
Use reallocarr and simplify. Document valid reallocation failures.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35
Module Name:src
Committed By: wiz
Date: Fri Jan 25 11:51:42 UTC 2013
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
Replace dagger (\(dg) with hash mark (#) for marking up differences.
Dagger wasn't displayed on terminals and replaced with a minus, which
was
Module Name:src
Committed By: wiz
Date: Fri Jan 25 11:51:42 UTC 2013
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
Replace dagger (\(dg) with hash mark (#) for marking up differences.
Dagger wasn't displayed on terminals and replaced with a minus, which
was
Module Name:src
Committed By: christos
Date: Tue Nov 8 19:25:45 UTC 2011
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
if we don't have any sets yet, don't try to look in them.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: christos
Date: Tue Nov 8 19:25:45 UTC 2011
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
if we don't have any sets yet, don't try to look in them.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: christos
Date: Sun Oct 9 18:23:00 UTC 2011
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regex2.h
Log Message:
Prevent regcomp/regexec DoS attacks by limiting the amount of memory used
and the level of recursion. Thanks to
Module Name:src
Committed By: christos
Date: Sun Oct 9 18:23:00 UTC 2011
Modified Files:
src/lib/libc/regex: engine.c regcomp.c regex2.h
Log Message:
Prevent regcomp/regexec DoS attacks by limiting the amount of memory used
and the level of recursion. Thanks to
Module Name:src
Committed By: christos
Date: Sun Oct 9 22:14:17 UTC 2011
Modified Files:
src/lib/libc/regex: regcomp.c
Log Message:
pass lint on i386
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/regex/regcomp.c
Please note that diffs are
Module Name:src
Committed By: joerg
Date: Tue Apr 21 14:46:02 UTC 2009
Modified Files:
src/lib/libc/regex: re_format.7
Log Message:
Convert to mdoc markup.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/regex/re_format.7
Please note that diffs
Module Name:src
Committed By: joerg
Date: Sat Apr 11 15:44:42 UTC 2009
Modified Files:
src/lib/libc/regex: regex.3
Log Message:
Use semantic markup.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/regex/regex.3
Please note that diffs are not
70 matches
Mail list logo