(release/25.0) xnest: Check malloc return values in GCOps to avoid NULL dereferences - #3665
Conversation
Check malloc() return values for NULL in xnestBitBlitHelper(), xnestPolyText8(), and xnestPolyText16() to prevent potential NULL pointer dereferences (cherry picked from commit eae9444)
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. |
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)