mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-02 13:47:07 -04:00
9c8b907ff195e46ac4ba0688104405f896104ccf
The XDR unmarshaller allocates a []T when it sees a slice type and reads the expected length, so we must always limit the length in order to avoid allocating too much memory when encountering corruption.
Languages
Go
84.7%
HTML
7.1%
JavaScript
5.6%
Shell
1.8%
CSS
0.7%