[Toybox] bc broken

Rob Landley rob at landley.net
Thu Apr 4 11:17:41 PDT 2019


Applied this fix at the time, but just now went through the mailing list admin
backlog and oked pending non-spam emails. :)

Rob

On 3/25/19 6:13 PM, Daniel Rosenberg via Toybox wrote:
> Found the issue. strcopy is copying the string past the null character.
> 
> On Thu, Mar 21, 2019 at 3:54 PM enh <enh at google.com <mailto:enh at google.com>> wrote:
> 
>     commit 1a3c65c868b676c86073025465f57116d0e91881 broke bc... there's no
>     output any more from, say, `1+1`...
> 
>     i had a look through the diff, but it wasn't obvious what the active
>     ingredient was. the tests still pass, and that seems legit --- only
>     input stdin is broken. files work fine (with or without -l).
> 
> 
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
> 



More information about the Toybox mailing list