diff options
author | Adam Jackson <ajax@redhat.com> | 2011-02-24 16:06:34 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-03-04 16:11:03 -0500 |
commit | d8caa782009abf4dc17b945e325e83fda299a534 (patch) | |
tree | b00261211a658599c6b7c6e43963b48ae41a044d /exa/exa.h | |
parent | 628d16a92a7fa556fbb70bf4a4adf57ec05c190b (diff) |
vbe: Fix malloc size bug
v2: Slightly more obvious sizing math.
==14882== Invalid write of size 2
==14882== at 0x6750267: VBEGetVBEInfo (vbe.c:400)
==14882== by 0x6142064: ??? (in /usr/lib64/xorg/modules/drivers/vesa_drv.so)
==14882== by 0x471895: InitOutput (xf86Init.c:519)
==14882== by 0x422778: main (main.c:205)
==14882== Address 0x4f32fa8 is 72 bytes inside a block of size 73 alloc'd
==14882== at 0x4A0640D: malloc (vg_replace_malloc.c:236)
==14882== by 0x675024B: VBEGetVBEInfo (vbe.c:398)
==14882== by 0x6142064: ??? (in /usr/lib64/xorg/modules/drivers/vesa_drv.so)
==14882== by 0x471895: InitOutput (xf86Init.c:519)
==14882== by 0x422778: main (main.c:205)
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'exa/exa.h')
0 files changed, 0 insertions, 0 deletions