libpciaccess: Changes to 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Mon May 2 13:29:47 UTC 2016
src/common_device_name.c | 10 ++++++++++
src/common_vgaarb.c | 12 +++++++++---
2 files changed, 19 insertions(+), 3 deletions(-)
New commits:
commit 201d1a7623c83f611761f67d4411c3c266f8f37a
Author: arsharma <ankitprasad.r.sharma at intel.com>
Date: Mon Feb 23 21:31:07 2015 +0000
device-name: handle calloc failure in insert()
Issue was spotted by Klocwork, and fixed by arsharma as part of
Android-ia.
Just bail out if memory allocation fails. All the callers of insert()
already handle the case.
[Emil Velikov: Split from larger patch, write commit message]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
commit af2fdf1bdc4532410f49fc0854ae4c0f9086cce9
Author: arsharma <ankitprasad.r.sharma at intel.com>
Date: Mon Feb 23 21:31:06 2015 +0000
vgaarb: add a the trailing NULL character on read(vgaarb_fd)
Issue was spotted by Klocwork, and fixed by arsharma as part of
Android-ia. Not 100% sure if the data read from /dev/vga_arbiter is not
already null terminated, but making sure won't hurt either.
[Emil Velikov: Split from larger patch, write commit message]
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
More information about the xorg-commit
mailing list