Select Git revision
syncthing
-
-
- Open in your IDE
- Download source code
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.
Name | Last commit | Last update |
---|