[PATCH] xf86drm: ensure proper alignment of pointers in drmProcessPciDevice

Emil Velikov emil.l.velikov at gmail.com
Sat May 14 23:03:37 UTC 2016


Hi Nicolai,

On 13 May 2016 at 07:14, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Previously, (*device)->businfo.pci would end up misaligned, which results
> in undefined behavior.
>
Can you point me to a source where I can read more on the topic ?
I'm pretty sure I ran this through valgrind and it gave a clear bill of health.

Thanks
Emil
P.S. Please run the following in your repo $git config --local
format.subjectPrefix "PATCH libdrm"


More information about the dri-devel mailing list