https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98669
--- Comment #2 from Marko Mäkelä <marko.makela at mariadb dot com> --- I cannot reproduce this with Debian's gcc-9 package on my system: Architecture: amd64 Version: 9.3.0-20 gcc-9 -fsanitize=address crypt.c -lcrypt && ./a.out sasWQy9ecMDEs If I change the invocation to gcc or gcc-10, then it will crash as reported. gcc --version gcc (Debian 10.2.1-6) 10.2.1 20210110 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.