On Tue, Mar 08, 2022 at 03:02:07PM +0000, Peter Maydell wrote: > In commit 00f05c02f9e7342f we gave the TYPE_XLNX_CSU_DMA object its > own class struct, but forgot to update the TypeInfo::class_size > accordingly. This meant that not enough memory was allocated for the > class struct, and the initialization of xcdc->read in the class init > function wrote off the end of the memory. Add the missing line. > > Found by running 'check-qtest-aarch64' with a clang > address-sanitizer build, which complains:
Reviewed-by: Edgar E. Iglesias <edgar.igles...@xilinx.com>