Stack corruption after importing a pool with a too-long name
zfs - Zettabyte File System
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.
Updated by Electric Monk about 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit c971037baa5d64dfecf6d87ed602fc3116ebec41 Author: Paul Dagnelie <firstname.lastname@example.org> Date: 2016-05-12T17:34:58.000Z 6876 Stack corruption after importing a pool with a too-long name Reviewed by: Prakash Surya <email@example.com> Reviewed by: Dan Kimmel <firstname.lastname@example.org> Reviewed by: George Wilson <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>