[Bug c/74265] address sanitizer detects stack-buffer-overflow in set_nonincremental_init_from_string in c-typeck.c

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 11 16:02:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74265

--- Comment #1 from Vittorio Zecca <zeccav at gmail dot com> ---
The following is a shorter reproducer:

struct B {
  __CHAR32_TYPE__ S[6];
} d[] = { { { U"foo" } }, [0].S[2] = U'x' };


More information about the Gcc-bugs mailing list