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