diff options
author | LOLi <[email protected]> | 2017-07-24 21:56:49 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-07-24 12:56:49 -0700 |
commit | 871e07321cc66fcea4dccc88fd2a754959ffa679 (patch) | |
tree | 4caf17ffa3a18dea98ac79aa3b8901f4c5d23db1 /config | |
parent | 83a5e4d6b9c2509efa25ea4cfceba3cd313bf920 (diff) |
Fix buffer overflow in dsl_dataset_name()
If we're creating a pool with version >= SPA_VERSION_DSL_SCRUB (v11)
we need to account for additional space needed by the origin dataset
which will also be snapshotted: "poolname"+"/"+"$ORIGIN"+"@"+"$ORIGIN".
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #6374
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions