Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Jan 2018 02:33:42 +0000
From: Andre Renaud <andre@...avus.net>
To: musl@...ts.openwall.com
Subject: Re: seg fault at src/string/strlen.c:15

On Wed, 24 Jan 2018 at 15:28 Rich Felker <dalias@...c.org> wrote:

> On Tue, Jan 23, 2018 at 05:07:32PM -0800, Po-yi Wang wrote:
> > (gdb) run --version
> > Starting program: /tmp/build/make-4.1/make-4.1 --version
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > strlen (s=0x0) at src/string/strlen.c:15
> > 15              for (w = (const void *)s; !HASZERO(*w); w++);
> > (gdb)
>
> This means make is calling strlen(0), so the bug is somewhere else --
> in whatever causing the string pointer passed to strlen to be a null
> pointer. Can you show a full backtrace (bt) rather than just the point
> of the crash?


It's quite possible that this is a known bug in Make 4.1
https://savannah.gnu.org/bugs/?43434

Does it go away if /dev/pts is properly mounted?

Regards,
Andre

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.