xnest: Check malloc return values in GCOps to avoid NULL dereferences - #3637
Conversation
Check malloc() return values for NULL in xnestBitBlitHelper(), xnestPolyText8(), and xnestPolyText16() to prevent potential NULL pointer dereferences
Reviewed Verdict: PASSAll three changes are correct defensive hardening; none is a fix for an easily-reachable bug
No ABI impact (function-body logic only; no struct/symbol/signature change). xnest is a nested Backport: purely defensive malloc-failure hardening, not client-triggerable as a security issue and 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 dashboard
Backports based on this PR's current head commit
eae9444a66(PR not merged yet — if the branchchanges before merge, the backport PRs may need re-basing).