[Bug 261554] textproc/mgdiff: crash when aiming to open a file

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Mar 2022 16:43:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261554

Fernando ApesteguĂ­a <fernape@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevans@freebsd.org
             Status|New                         |Open

--- Comment #1 from Fernando ApesteguĂ­a <fernape@FreeBSD.org> ---
It looks to me like a crash in devel/libgnuregex.

In regex_internal.c:re_string_reconstruct pstr->trans is at a memory address
which is not accessible. This crashes later in
regex_internal.c:re_string_translate_buffer

I'm afraid I'm not familiar with the library as to pin-point where the problem
is.

Adding kevans@ to see if he can shed some light here.

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