Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmu_tx: Fix possible NULL pointer dereference #1610

Closed
wants to merge 1 commit into from

Conversation

utopiabound
Copy link
Contributor

dmu_tx_hold_object_impl can return NULL on error. Check or this condition prior to dereferencing pointer.

Signed-off-by: Nathaniel Clark Nathaniel.Clark@misrule.us

dmu_tx_hold_object_impl can return NULL on error.  Check or this condition prior to dereferencing pointer.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
@edillmann edillmann mentioned this pull request Jul 31, 2013
@behlendorf behlendorf closed this in 7d63721 Aug 1, 2013
unya pushed a commit to unya/zfs that referenced this pull request Dec 13, 2013
dmu_tx_hold_object_impl can return NULL on error.  Check for this
condition prior to dereferencing pointer.  This can only occur if
the passed object was invalid or unallocated.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#1610
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.

None yet

3 participants