This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libbacktrace patch committed: fix test for mmap failure


PR 67457 points out a crash in libbacktrace when there is no memory
available.  This is because the code testing the mmap result for
failure is broken.  This patch fixes it.  Bootstrapped and ran
libbacktrace tests.  Committed to mainline.

Ian


2015-09-08  Ian Lance Taylor  <iant@google.com>

PR other/67457
* mmap.c (backtrace_alloc): Correct test for mmap failure.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]