]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Fix undersized buffer in is_shorthand_path()
authorNed Bass <bass6@llnl.gov>
Mon, 11 Oct 2010 21:48:52 +0000 (14:48 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 12 Oct 2010 21:47:39 +0000 (14:47 -0700)
commit5c1bad0013204d70c5b60713af977bdaa5df1302
tree5684b9add89f7d6421b1517997c17f05e767fb30
parent4b1abce9f5c20e298ddaa3368b3fb6a529c71459
Fix undersized buffer in is_shorthand_path()

The string array 'char dirs[5][8]' was too small to accomodate the terminating
NUL character in "by-label". This change adds the needed additional byte.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
cmd/zpool/zpool_vdev.c