mirror of
https://github.com/syncthing/syncthing.git
synced 2026-11-21 01:21:27 -08: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 <[email protected]>