[patch] buffer overrun fix in backtracesyms.c
Ulrich Drepper
drepper@redhat.com
Thu Nov 2 13:58:00 GMT 2000
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 `------------------------
More information about the Libc-alpha
mailing list