[Bug c++/62017] AddressSanitizer reports *-buffer-overflow in destructor when multiple virtual inheritance is used
y.gribov at samsung dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 5 16:36:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62017
Yury Gribov <y.gribov at samsung dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dodji at gcc dot gnu.org,
| |jakub at redhat dot com,
| |kcc at gcc dot gnu.org,
| |y.gribov at samsung dot com
--- Comment #1 from Yury Gribov <y.gribov at samsung dot com> ---
Adding sanitizer folks. It seems that size of standalone IC class is 16 but
this shortens to 8 (due to virtual inheritance magic) when IC inherited in CC.
GCC still emits 16 byte check which causes false positive.
More information about the Gcc-bugs
mailing list