mirror of
https://github.com/syncthing/syncthing.git
synced 2026-07-03 21:05:58 -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.6%
HTML
7.1%
JavaScript
5.7%
Shell
1.8%
CSS
0.7%