aboutsummaryrefslogtreecommitdiffstats
path: root/module/zcommon
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2013-10-08 17:59:42 -0400
committerBrian Behlendorf <[email protected]>2013-10-29 15:06:18 -0700
commit20f04f08aa5032f1e958ba38654d9ed833b6b636 (patch)
treecf988efa424aa502ceab158ed0a7f46a53233253 /module/zcommon
parent8c8417933f11d2bda734056f34f5d7c982acbcec (diff)
Fix incorrect usage of strdup() in zfs_unmount_snap()
Modifying the length of a string returned by strdup() is incorrect because strfree() is allowed to use strlen() to determine which slab cache was used to do the allocation. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #1775
Diffstat (limited to 'module/zcommon')
0 files changed, 0 insertions, 0 deletions