mirror of
https://github.com/syncthing/syncthing.git
synced 2026-06-24 08:30:34 -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>