Re: Number with sign is read as octal despite a leading 10#

2018-07-12 Thread Robert Elz
Date:Tue, 10 Jul 2018 18:46:32 -0400 From:Isaac Marcos Message-ID: | set -- 34 034 0034 +34 +034 +0034 -34 -034 -0034 ; | for i do printf '%6s' "$((10#$i))"; shift; done; echo You really ought be only using POSIX defined sh operators, from two

Re: Crash on jobs 2^32-2

2018-07-12 Thread Chet Ramey
On 7/11/18 9:41 AM, Simon Wörner wrote: > Dear all, > The following crash was found by a modified > version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). > > The crash can be reproduced by running: > $ ls > $ jobs 4278190079 # 2^32-2 Thanks, this is another integer overflow issue. --

Re: Crash related to execute_builtin

2018-07-12 Thread Chet Ramey
On 7/11/18 9:02 AM, Simon Wörner wrote: > Dear all, > The following crash related to `execute_builtin` was found by a modified > version of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). Thanks for the report. I'll take a look. -- ``The lyf so short, the craft so long to lerne.'' - Chauce

Re: Crash related to mkseq

2018-07-12 Thread Chet Ramey
On 7/11/18 8:59 AM, Simon Wörner wrote: > Dear all, > The following crash related to `mkseq` was found by a modified version > of the kAFL fuzzer (https://github.com/RUB-SysSec/kAFL). Thanks for the report. All these cases are the result of the same integer overflow. Chet -- ``The lyf so short,