diff options
| author | Lionel Landwerlin <[email protected]> | 2017-11-02 12:18:27 +0000 |
|---|---|---|
| committer | Lionel Landwerlin <[email protected]> | 2017-11-02 14:52:58 +0000 |
| commit | 49e43ef7c6e533c110a7ff8fa8096291ec1c0e0e (patch) | |
| tree | dca398bde1c2deccbeecb8d23245bcb750749881 /tools/perf/scripts/python/bin | |
| parent | 820c5bbbf418fba41149fdeb870d623e21be2463 (diff) | |
drm/i915: ensure oa config uuid is null terminated
Because dev_priv is 0-ed it's not currently an issue, but since we
have dev_priv->perf.oa.test_config.uuid size at uuid + 1, we could
just copy the null character.
v2: Use strlcpy instead of strncpy (Chris)
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions