Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 22 Jun 2015 16:08:57 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: libc-test reports

* Szabolcs Nagy <nsz@...t70.net> [2015-06-19 20:00:30 +0200]:
> * Waldemar Brodkorb <wbx@...nadk.org> [2015-06-18 07:47:33 +0200]:
> > But here are the results from a complete run for 1.10
> > and git from yesterday:
> > 
> > http://tests.embedded-test.org/musl/
> > 
> 
> can you make these binaries available somewhere:
> FAIL ./src/functional/sem_open-static.exe [signal Segmentation fault]
> FAIL ./src/regression/fgets-eof-static.exe [signal Segmentation fault]
> 

ok, both of them die the exact same way:

brk(0)                                  = 0x1cf6000
brk(0x1cf8000)                          = 0x1cf8000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1cf5ff8} ---

a dereference 8 bytes before the first brk

there is no debug info, but based on the asm it seems to be
the p[-1] access in calloc.c:

	p = malloc(n);
	if (!p) return 0;
	/* Only do this for non-mmapped chunks */
	if (((size_t *)p)[-1] & 7) {

i think __simple_malloc is used in these tests.

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.