Skip to content

lima: fix crash in lima_set_constant_buffer

Qiang Yu requested to merge anarsoul:lima-17.3-fix-crash into lima-17.3

Created by: anarsoul

If cb is NULL, lima_set_constant_buffer() will crash because debug_printf tries to dereference cb.

Fix it by not dereferencing cb is it's NULL.

Signed-off-by: Vasily Khoruzhick anarsoul@gmail.com

Merge request reports

Loading