commit | 984dcfc59faa1e50dd9e9aa59e3e80582157792f | [log] [tgz] |
---|---|---|
author | Tony Wasserka <tony.wasserka@gmx.de> | Tue Sep 15 13:07:16 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Wed Oct 07 19:50:01 2020 +0000 |
tree | dc3db985b8b4f268901af533a48c1da9f0aeb39d | |
parent | 0ef2f1d4a0096316f2aa4a887882d262c5294084 [diff] |
radv: Avoid calling memcpy with null pointers Vulkan allows for these input pointers to be null when the respective object count is zero. Calling memcpy with null pointers is undefined, so they are guarded with a check for the legit use pattern now. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6728>