Skip to content

Conversation

@shadidashmiz
Copy link
Contributor

Motivation

Technical Details

JIRA ID

Test Plan

Test Result

Submission Checklist

@shadidashmiz shadidashmiz requested a review from a team as a code owner January 29, 2026 18:09
Copilot AI review requested due to automatic review settings January 29, 2026 18:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an AddressSanitizer (ASAN) warning in the hipUserObjectRelease function by reordering the conditions in a validation check. The issue was that the code was attempting to access the reference count of a user object before validating that the pointer was valid, which could cause accessing invalid memory and trigger ASAN warnings.

Changes:

  • Reordered condition check in hipUserObjectRelease to validate pointer before dereferencing it

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants