Skip to content

util: fix possible invalid memory write in foz_read_entry

Italo Nicola requested to merge italove/mesa:fix_foz_mem_issue into main

malloc can return NULL when the payload size is larger than the free memory available for allocation, and then fread will cause trouble.

Merge request reports

Loading