git: DragonFly_RELEASE_5_0 hammer2 - Slightly reduce LZ4 output buffer limit

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Oct 14 11:02:24 PDT 2017


commit 93f9107583924d9e680d9798e0f66438584a74f7
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/93f9107583924d9e680d9798e0f66438584a74f7


-- 
DragonFly BSD source repository


More information about the Commits mailing list