diff options
author | Don Brady <[email protected]> | 2015-06-24 12:17:36 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-26 14:14:31 -0700 |
commit | 017da6f063861a1dc3eea5a41c3de8b879d579bd (patch) | |
tree | 15e4085a6663fccf2d4bdf0789952627f1ecb3ef /scripts | |
parent | 784652c1f034bf5bf25d22b5b4056a6955331734 (diff) |
Fix for recent zdb -h | -i crashes (seg fault)
Allocating SPA_MAXBLOCKSIZE on the stack is a bad idea (even with the
old 128K size). Use malloc instead when allocating temporary block
buffer memory.
Signed-off-by: Don Brady <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #3522
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions