HomeFreeBSD

Fix zdb -E segfault

Description

Fix zdb -E segfault

SPA_MAXBLOCKSIZE is too large for stack.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #7099

Details

Provenance
Chunwei Chen <david.chen@nutanix.com>Authored on Feb 2 2018, 12:28 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 9 2018, 6:11 PM
Parents
rG950e17c215be: Fix zdb -R decompression
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5e3bd0e684a3: Fix zdb -E segfault (authored by Chunwei Chen <david.chen@nutanix.com>).Feb 9 2018, 6:11 PM