BTW, it's upsream's (NetBSD's) last two commits to their map.c that are the 
offending commits. They're supposed to mitigate a memory leak but on 
FreeBSD the commits do more than that.


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

                        e**(i*pi)+1=0


In message <[email protected]>, Cy Schubert writes:
> This breaks exec(1) builtin.
>
> For instance,
>
> exec csh
> exec bash
> exec some_other_app
>
> All the above result in /bin/sh segfaulting at map.c:968.
>
>
> -- 
> Cheers,
> Cy Schubert <[email protected]>
> FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
> NTP:           <[email protected]>    Web:  https://nwtime.org
>
>                       e**(i*pi)+1=0
>
> In message <[email protected]>, Baptiste 
> Daroussin wr
> ites:
> > The branch main has been updated by bapt:
> >
> > URL: https://cgit.FreeBSD.org/src/commit/?id=28ff4d35f8b904952bf86b3264650d
> 91
> > cc0cb5d7
> >
> > commit 28ff4d35f8b904952bf86b3264650d91cc0cb5d7
> > Merge: 1abb62867f2a b1ddc060e941
> > Author:     Baptiste Daroussin <[email protected]>
> > AuthorDate: 2026-03-05 07:17:09 +0000
> > Commit:     Baptiste Daroussin <[email protected]>
> > CommitDate: 2026-03-05 07:17:51 +0000
> >
> >     libedit: vendor import version 2026-03-04
> >     
> >     MFC After:      1 week
> >
> >  contrib/libedit/ChangeLog           | 6123 +++++++++++++++++++++++++++++++
> ++
> > +-
> >  contrib/libedit/chared.c            |   50 +-
> >  contrib/libedit/chared.h            |   22 +-
> >  contrib/libedit/common.c            |   12 +-
> >  contrib/libedit/edit.expsym         |    1 +
> >  contrib/libedit/editline.3          |   38 +-
> >  contrib/libedit/editline.7          |   10 +-
> >  contrib/libedit/el.c                |   30 +-
> >  contrib/libedit/el.h                |    3 +-
> >  contrib/libedit/eln.c               |   12 +-
> >  contrib/libedit/emacs.c             |   16 +-
> >  contrib/libedit/hist.c              |   10 +-
> >  contrib/libedit/hist.h              |    4 +-
> >  contrib/libedit/histedit.h          |    4 +-
> >  contrib/libedit/history.c           |    6 +-
> >  contrib/libedit/makelist            |    4 +-
> >  contrib/libedit/map.c               |   45 +-
> >  contrib/libedit/map.h               |    7 +-
> >  contrib/libedit/readline.c          |   16 +-
> >  contrib/libedit/readline/readline.h |    3 +-
> >  contrib/libedit/refresh.c           |   14 +-
> >  contrib/libedit/search.c            |    7 +-
> >  contrib/libedit/sig.c               |    6 +-
> >  contrib/libedit/terminal.c          |    6 +-
> >  contrib/libedit/vi.c                |   14 +-
> >  25 files changed, 6358 insertions(+), 105 deletions(-)
> >
> >
>
>
>



Reply via email to