Re: [Qemu-devel] [PATCH] vnc: fix unalignment access in tight_pack24

2019-03-17 Thread Li Qiang
Peter Maydell 于2019年3月17日周日 下午10:10写道: > On Sun, 17 Mar 2019 at 12:09, Li Qiang wrote: > > > > When adding '-fsanitize=undefined' in compiling configuration > > and connect VM with vnc, it reports following error: > > > > ui/vnc-enc-tight.c:910:13: runtime error: load of > > misaligned address 0

Re: [Qemu-devel] [PATCH] vnc: fix unalignment access in tight_pack24

2019-03-17 Thread Peter Maydell
On Sun, 17 Mar 2019 at 12:09, Li Qiang wrote: > > When adding '-fsanitize=undefined' in compiling configuration > and connect VM with vnc, it reports following error: > > ui/vnc-enc-tight.c:910:13: runtime error: load of > misaligned address 0x621000466513 for type 'uint32_t', > which requires 4 b