summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2019-03-07 15:01:30 +0200
committerPetri Latvala <petri.latvala@intel.com>2019-03-08 13:30:46 +0200
commitd15ad69be07a987d5c2ba408201b287adae8ca59 (patch)
treebb2d0b94772400951e52de52315f031c98d79bbb /tools
parentf8294a8ccbf3971aeb8b3c8751f977f52f23b36c (diff)
lib/igt_pm: Avoid out-of-bounds reads and writes
Read sizeof - 1 to buffers so null-termination stays in bounds. v2: Also clear the buffers before reusing (Chris). Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions