diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2015-08-28 13:04:26 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-09-22 18:40:57 -0700 |
commit | 9c7de167f85ac467bcae8534c4c0829f126cc7bf (patch) | |
tree | 7e2636c3764a488ac56729cb72adaf141b3ebc12 /Makefile.am | |
parent | e54cee17a717db2bee5225beaaaf28c288fc2c41 (diff) | |
download | weston-9c7de167f85ac467bcae8534c4c0829f126cc7bf.tar.gz |
compositor-drm: Ensure strings from EDID blobs are null terminated
strncpy only adds null terminating bytes if the source string is smaller
than the destination string. Since this function relies on the string
being null terminated when checking its contents, we better make sure
there is at least a \0 as the last character.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions