Bug #6876
closed
Stack corruption after importing a pool with a too-long name
Added by Matthew Ahrens about 6 years ago.
Updated about 6 years ago.
Category:
zfs - Zettabyte File System
Description
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.
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit c971037baa5d64dfecf6d87ed602fc3116ebec41
commit c971037baa5d64dfecf6d87ed602fc3116ebec41
Author: Paul Dagnelie <pcd@delphix.com>
Date: 2016-05-12T17:34:58.000Z
6876 Stack corruption after importing a pool with a too-long name
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Also available in: Atom
PDF