mirror of
https://github.com/syncthing/syncthing.git
synced 2026-01-11 15:29:25 -05: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>