radv: fix null memcpy and zero-sized malloc
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 14 Aug 2020 16:40:13 +0000 (17:40 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 20 Aug 2020 10:52:19 +0000 (10:52 +0000)
commitb553c7dd96af6f79b94cf1729c5e151e5b857e6b
tree0afa06226ac56b8d7ad116185e5c37e7e1c6a8c1
parentb50ae770144ef6622591c7cc23aa96e45933cf37
radv: fix null memcpy and zero-sized malloc

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6206>
src/amd/vulkan/radv_descriptor_set.c