Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2023 01:01:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274032] Regression after stable/12: grep: trailing backslash (\)
Message-ID:  <bug-274032-227-bCAvWKIvmv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274032-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274032-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274032

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch releng/13.2 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D67264bfe499223cd9864b53975462e3eb=
57cde2c

commit 67264bfe499223cd9864b53975462e3eb57cde2c
Author:     Christos Zoulas <christos@NetBSD.org>
AuthorDate: 2023-08-30 20:37:24 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-11-08 00:59:51 +0000

    regcomp: use unsigned char when testing for escapes

    - cast GETNEXT to unsigned where it is being promoted to int to prevent
      sign-extension (really it would have been better for PEEK*() and
      GETNEXT() to return unsigned char; this would have removed a ton of
      (uch) casts, but it is too intrusive for now).
    - fix an isalpha that should have been iswalpha

    PR:             264275, 274032
    Reviewed by:    kevans, eugen (previous version)
    Obtained from:  NetBSD

    (cherry picked from commit 3fb80f1476c7776f04ba7ef6d08397cef6abcfb0)
    (cherry picked from commit ac695744e2cfb461a64018276fb94999fb0cad9c)

    Approved by:    so
    Security:       FreeBSD-EN-23:14

 lib/libc/regex/regcomp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274032-227-bCAvWKIvmv>