diff options
author | arsharma <ankitprasad.r.sharma@intel.com> | 2015-02-23 21:31:06 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-05-02 09:28:51 -0400 |
commit | af2fdf1bdc4532410f49fc0854ae4c0f9086cce9 (patch) | |
tree | 07aea923fcc9f603af3ab304ce7d9b61e52e5153 /src/common_device_name.c | |
parent | c1de5dc0541e58372dcddc5120e1e68e03f4f619 (diff) |
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@gmail.com>
Diffstat (limited to 'src/common_device_name.c')
0 files changed, 0 insertions, 0 deletions