Skip to content
Snippets Groups Projects

vkd3d-shader/hlsl: Avoid a null pointer dereference in hlsl_block_cleanup. (UBSan)

Merged Victor Chiletto requested to merge vitorhnn/vkd3d:null-deref-fix into master

destroy_block() is called with a NULL block from:

  • create_loop, through the loop rules for while and do-while loops.
  • The selection_statement rule, in the case $6.else_block is NULL.
  • free_parse_initializer.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading