summaryrefslogtreecommitdiffstats
path: root/include/c99_alloca.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-02-02 18:40:18 +0100
committerSamuel Pitoiset <[email protected]>2017-02-03 12:07:14 +0100
commitaf303abcdbeac3b90fb760de19bed56cc40cfff4 (patch)
treedb67302a9c3c0db6aaa4216569258deebb01297b /include/c99_alloca.h
parent0a2dcd3a8ac4bf18cd6ec2f778c9ef859ef90a51 (diff)
winsys/amdgpu: avoid potential segfault in amdgpu_bo_map()
cs can be NULL when it comes from r600_buffer_map_sync_with_rings() to avoid doing the same checks. It was checked for write mappings but not for read mappings. Cc: "17.0" <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'include/c99_alloca.h')
0 files changed, 0 insertions, 0 deletions