diff options
author | Paul Dagnelie <[email protected]> | 2016-06-15 14:51:27 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-06-28 13:47:04 -0700 |
commit | d1d19c785497fafb5e239f67006f534651ed2f27 (patch) | |
tree | 45aa55a98c92908007cd46fedf68b4783a54f355 /tests/zfs-tests/include | |
parent | eca7b76001a7d33f78bd98884aef8325bdbf98e7 (diff) |
OpenZFS 6876 - Stack corruption after importing a pool with a too-long name
Reviewed by: Prakash Surya <[email protected]>
Reviewed by: Dan Kimmel <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Yuri Pankov <[email protected]>
Ported-by: Brian Behlendorf <[email protected]>
Calling dsl_dataset_name on a dataset with a 256 byte buffer is asking
for trouble. We should check every dataset on import, using a 1024 byte
buffer and checking each time to see if the dataset's new name is longer
than 256 bytes.
OpenZFS-issue: https://www.illumos.org/issues/6876
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/ca8674e
Diffstat (limited to 'tests/zfs-tests/include')
0 files changed, 0 insertions, 0 deletions