GNU bug report logs - #20614
Segmentation fault when building on Power8 Little Endian

Previous Next

Package: emacs;

Reported by: Petr Hracek <phracek <at> redhat.com>

Date: Wed, 20 May 2015 07:59:01 UTC

Severity: important

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Petr Hracek <phracek <at> redhat.com>
Cc: 20614 <at> debbugs.gnu.org
Subject: bug#20614: Segmentation fault when building on Power8 Little Endian
Date: Mon, 05 Oct 2015 12:39:12 +0300
> Cc: 20614 <at> debbugs.gnu.org
> From: Petr Hracek <phracek <at> redhat.com>
> Date: Mon, 5 Oct 2015 11:16:32 +0200
> 
> (gdb) p old_section_names + NEW_SECTION_H (nn).sh_name
> $2 = 0x4000128ceb51 <Address 0x4000128ceb51 out of bounds>

We have a function valid_pointer_p in alloc.c.  What happens if you
use the same code in unexec, before the series of calls to strcmp that
crash, and only proceed to call strcmp if valid_pointer_p returns a
positive value?




This bug report was last modified 9 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.