commit | 0d81daf9d164c4bf829f4911e1f7b211c2e661fb | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Mon Jul 08 20:35:01 2013 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jul 09 18:45:19 2013 -0600 |
tree | edf00145e950848261c18a7a96522630faa78340 | |
parent | a9f70b1f50879346fb065497951352ad4e1e0f11 [diff] |
Init buflen for our dummy buffer If we fail to verify our buffer we will allocate a dummy buf to fill in so we have something to compare our bad file to. Unfortunately we don't set the buflen of the dummy buffer which means we will sometimes write well past the end of our buffer and this make glibc complain loudly. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>