[solved?] Re: vi segfaults (bb 1.8.2)
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Mon Dec 10 14:13:54 UTC 2007
On Sat, 8 Dec 2007, Denys Vlasenko wrote:
> _Excellent_ analysis!
Thanks :)
> You nailed it down.
Right.
> It's simpler than that. Programs should not make assumptions that
> BUFSIZ is bigger than some fixed number. (Well, probably you can
> be sure that it is bigger than, say, 63 :) ).
>
> Our vi was making that bad assumption. Please try attached patch.
Looks good.
Maybe a patch here:
http://busybox.net/downloads/fixes-1.8.2/
would be nice.
Cheers,
--
Cristian
More information about the busybox
mailing list