This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: [patch] buffer overrun fix in backtracesyms.c


Byron Stanoszek <gandalf@winds.org> writes:

> Glancing at the backtrace_symbols() function, I noticed that a
> buffer overrun can occur on a 64-bit machine. The string [+%p] has a
> maximum character length of 22 on a 16-bit machine, not 19 as the
> code seems to believe (with WORD_WIDTH == 16). This patch will fix
> the problem:

Thanks, I've applied the patch.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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