[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700354: info: segfault on tab completion on large terminals



karl@freefriends.org (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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply to: