On Fri, Apr 12, 2019 at 6:04 AM wrote:
>
> From: Mingli Yu
>
> use malloc and strncpy altogether to replace
> strdup for salt initialization to fix below
> Segmentation fault:
> # echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
> [65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip
From: Mingli Yu
use malloc and strncpy altogether to replace
strdup for salt initialization to fix below
Segmentation fault:
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 7f3332256998 sp
7fff60d44410 error 4 in
On 2019年04月11日 03:49, Niels Möller wrote:
"Yu, Mingli" writes:
Program received signal SIGSEGV, Segmentation fault.
nettle_sha256_update (ctx=0x7fffe5c0, length=,
data=0x9260 )
at ../nettle-3.4.1/sha256.c:99
99 ../nettle-3.4.1/sha256.c: No such file or directory.