aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorgoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>2026-02-21 03:01:51 +0000
committergoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>2026-02-21 03:01:51 +0000
commit72c80ac2ef7b81090cb95e397ea3893ad6d29258 (patch)
tree120e4dbdef90081e0208f9154197faeb057d74e2 /web
parentec3c0edbac371856fdaa414b016d1755bd1512c2 (diff)
downloadneko-fix-image-proxy-dos-12392893234509318071.tar.gz
neko-fix-image-proxy-dos-12392893234509318071.tar.bz2
neko-fix-image-proxy-dos-12392893234509318071.zip
Fix Unbounded Memory Usage in Image Proxyfix-image-proxy-dos-12392893234509318071
- Added `maxImageProxySize` constant (10MB) to limit memory usage. - Used `io.LimitReader` in `imageProxyHandler` to enforce the limit. - Added regression test `web/proxy_limit_test.go` to verify the fix. Co-authored-by: adammathes <868470+adammathes@users.noreply.github.com>
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions