summaryrefslogtreecommitdiffstats
path: root/src/util/strndup.h
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2017-05-02 19:26:17 +0300
committerGrazvydas Ignotas <[email protected]>2017-05-10 01:13:44 +0300
commite0aee8b667955675e2e6c647a88048b64bc2796e (patch)
treecac7b49590e45904b326aa792aa9c0d182dff2b6 /src/util/strndup.h
parent037ce253b17e9133bec166283c4764d42915e05f (diff)
anv: fix possible stack corruption
drmGetDevices2 takes count and not size. Probably hasn't caused problems yet in practice and was missed as setups with more than 8 DRM devices are not very common. Fixes: b1fb6e8d "anv: do not open random render node(s)" Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/util/strndup.h')
0 files changed, 0 insertions, 0 deletions