bug#28860: Segmentation fault with out-of-bound read in 'b2sum'
From:
Pádraig Brady
Subject:
bug#28860: Segmentation fault with out-of-bound read in 'b2sum'
Date:
Mon, 16 Oct 2017 01:08:05 -0700
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 15/10/17 18:04, Jaeseung Choi wrote:
> Dear GNU team,
>
> While testing coreutils for a research purpose, we found the following
> segfault in 'b2sum'. Running b2sum with --check option, and simply
> providing a string "BLAKE2" with no trailing character raises the
> crash as below.
Wow thanks! Were you fuzzing the inputs?
Can you give more details on your testing?
The attached should fix this case.
thanks!
Pádraig