mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-26 02:01:11 -04:00
We have a slightly naive io.ReadAll on the authentication handler, which can result in unlimited memory consumption from an unauthenticated API endpoint. Add a reasonable limit there. Signed-off-by: Jakob Borg <jakob@kastelo.net>
11 KiB
11 KiB