[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#700354: info: segfault on tab completion on large terminals
From: |
Andreas Schwab |
Subject: |
Re: Bug#700354: info: segfault on tab completion on large terminals |
Date: |
Wed, 13 Feb 2013 19:53:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux) |
address@hidden (Karl Berry) writes:
> However, I can't see what it's complaining about. That line in tag.c is
> while ((p = input + strlen (input)) < endp) /* go forward to null */
> and I fail to see anything uninitialized about it. Any ideas, anyone?
There is no garantee that input is zero-terminated. Once you run beyond
endp you are in uncharted territory.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."