Skip to content
Snippets Groups Projects
Select Git revision
0 results

syncthing

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Jakob Borg authored
    We incorrectly gave a too small buffer to lz4.Compress, causing it to
    allocate in some cases (when the data actually becomes larger when
    compressed). This then panicked when passed to the buffer pool.
    
    This ensures a buffer that is large enough, and adds tripwires closer to
    the source in case this ever pops up again. There is a test that
    exercises the issue.
    d19b12d3
    History
    Name Last commit Last update