git: hammer2 - Slightly reduce LZ4 output buffer limit

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Oct 14 11:01:38 PDT 2017


commit 2a82addedbb7d54f94d211352edbe1d0d0e6bad8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Oct 14 10:59:30 2017 -0700

    hammer2 - Slightly reduce LZ4 output buffer limit
    
    * LZ4_compress_limitedOutput() appears to be able to overrun the
      supplied buffer.
    
    * Slightly reduce the LZ4 output buffer limit from a 4-byte alignment
      to an 8-byte alignment to try to fix the problem.

Summary of changes:
 sys/vfs/hammer2/hammer2_strategy.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2a82addedbb7d54f94d211352edbe1d0d0e6bad8


-- 
DragonFly BSD source repository



More information about the Commits mailing list