gcc generated long read out of bounds segfault

Andreas Schwab schwab@linux-m68k.org
Sat Feb 22 20:27:00 GMT 2014


David Fries <David@Fries.net> writes:

> The structure is only made up of an 8 bit type "char", and it is
> aligned to a multiple of the struct rgb data size which is 3.  How is
> that unaligned?

Sorry, I've miscomputed the alignment.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc mailing list