[Bug libfortran/99148] sanitizer detects stack-buffer-overflow in unpack_generic.c

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99148 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-02-20 Ever confirmed|0

[Bug libfortran/99148] sanitizer detects stack-buffer-overflow in unpack_generic.c

2021-02-20 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99148 --- Comment #1 from Vittorio Zecca --- Reproduction of this issue requires an address sanitized version of libgfortran. I narrowed the issue to unpack0_char changing { gfc_array_char tmp; if (unlikely(compile_options.bounds_check)) unpa