Project

General

Profile

Bug #2067

uninitialized variables in zfs(1M) may make snapshots undestroyable

Added by Rich Lowe over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
cmd - userland programs
Start date:
2012-02-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

An uninitialized 'err' variable introduced by #1647 means that, depending on the stack layout, zfs(1M) may be unable to destroy datasets unless the -R or -r options are given.

in zfs_do_destroy, if the uninitialized err is non-0, and it is used uninitialized (cb_doclones is false), destroy will always fail and never run
zfs_destroy_snaps_nvl, making snapshots impossible to destroy.

History

#1

Updated by Rich Lowe over 7 years ago

  • Subject changed from uninitialized variables in zfs(1M) may make snapshos undestroyable to uninitialized variables in zfs(1M) may make snapshots undestroyable
#2

Updated by Rich Lowe over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Resolved in r13594 commit:ad255bc59fdf

Also available in: Atom PDF