Skip to content

rocr: fix nullptr dereference#336

Closed
rocm-devops wants to merge 2 commits intoamd-stagingfrom
sclement/nullptr
Closed

rocr: fix nullptr dereference#336
rocm-devops wants to merge 2 commits intoamd-stagingfrom
sclement/nullptr

Conversation

@rocm-devops
Copy link

Return early in the case that malloc fails to avoid dereferencing of a null pointer on eventDescrp.

Return early in the case that malloc fails to avoid dereferencing of a
null pointer on eventDescrp.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
returns early if sym->section() fails to properly acquire the object.

Signed-off-by: Sunday Clement <Sunday.Clement@amd.com>
@rocm-devops
Copy link
Author

!verify

@amd-hsivasun
Copy link

Imported to rocm-systems

@jayhawk-commits jayhawk-commits deleted the sclement/nullptr branch August 11, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants