This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55431] Invalid auxv search in ppc linux-unwind code.
- From: "bugdal at aerifal dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Feb 2013 07:08:14 +0000
- Subject: [Bug target/55431] Invalid auxv search in ppc linux-unwind code.
- Auto-submitted: auto-generated
- References: <bug-55431-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431
--- Comment #6 from Rich Felker <bugdal at aerifal dot cx> 2013-02-12 07:08:14 UTC ---
That sounds highly doubtful. The sigcontext is (necessarily) on the stack, so
the only way accessing past the end of sigcontext could fault is if the access
were so far beyond the end to go completely off the stack. The only way this
might be plausible is under sigaltstack.
In any case, why would this code be reading beyond the end? Does the kernel use
different incompatible sigcontext structures based on which vector registers
exist on the cpu?