(release/25.2) xnest: Check malloc return values in GCOps to avoid NULL dereferences - #3667
Conversation
Reviewed Verdict: PASSIdentical +12/−2 cherry-pick of the No ABI impact (nested software DDX, no external driver/nvidia surface). Pure defensive No blocking findings. |
07e8094 to
c42d422
Compare
c42d422 to
912b2c7
Compare
Check malloc() return values for NULL in xnestBitBlitHelper(), xnestPolyText8(), and xnestPolyText16() to prevent potential NULL pointer dereferences (cherry picked from commit eae9444) Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
912b2c7 to
1d20f84
Compare
malloc() require check on valid ptr
Check malloc() return values for NULL in xnestBitBlitHelper(), xnestPolyText8(), and
xnestPolyText16() to prevent potential NULL pointer dereferences.
Backport of #3637 (based on its current head commit
eae9444; original PR not merged yet)
(cherry picked from commit eae9444)