mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
dies with a null pointer dereference calling crypt():
gcc -fsanitize=address -static-libasan -xc - -Wl,--as-needed -lcrypt \
<<<$'#include<crypt.h>\nint main(void){crypt("one", "two");}' &&
./a.out