This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/74265] address sanitizer detects stack-buffer-overflow in set_nonincremental_init_from_string in c-typeck.c
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 16:02:19 +0000
- Subject: [Bug c/74265] address sanitizer detects stack-buffer-overflow in set_nonincremental_init_from_string in c-typeck.c
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-74265-4@http.gcc.gnu.org/bugzilla/>
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' };