renderer: over-allocate shader buffer
Since the memcpy() is done over multiple of 4 bytes, over-allocate the
destination buffer to fit multiple of 4 shader length.
Fix found thanks to american fuzzy lop.
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Showing
Please register or sign in to comment