[BusyBox] [PATCH] tr Segmentation fault

Erik Andersen andersen at codepoet.org
Fri Mar 12 22:10:54 UTC 2004


On Sat Mar 13, 2004 at 03:13:36AM +0900, Hideki IWAMOTO wrote:
> Current `tr' implementation has a problem, if `plain char' is signed.
> 
> [current cvs version]
> 
> >echo a | _install/usr/bin/tr '\0' '\377'
> Segmentation fault (core dumped)
> 
> [patched version]
> 
> >echo a | _install/usr/bin/tr '\0' '\377' 
> a

Thanks!  Patch applied!

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list