diff options
author | Brian Behlendorf <[email protected]> | 2012-07-03 14:47:57 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-07-03 15:14:34 -0700 |
commit | 42d3b990cfba9906e25bbf6b60e96389244f8082 (patch) | |
tree | 84d254408b06ff8c876aa94879d988d835c5bbc2 /COPYING | |
parent | fa881d4addb7baa44c69350b91bdf0503221d7af (diff) |
Update incorrect ddt_zap_lookup() assertion
When the ddt_zap_lookup() function was updated to dynamically
allocate memory for the cbuf variable, to save stack space, the
'csize <= sizeof (cbuf)' assertion was not updated. The result
of this was that the size of the pointer was being used in the
comparison rather than the buffer size.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Prakash Surya <[email protected]>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions