diff options
| author | google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> | 2026-02-18 03:20:37 +0000 |
|---|---|---|
| committer | google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> | 2026-02-18 03:20:37 +0000 |
| commit | a6974c3af00a66870424aa971ae4dd38c49847bf (patch) | |
| tree | 120e4dbdef90081e0208f9154197faeb057d74e2 /.github/workflows | |
| parent | 9db36ae402dbb74f7223a4efc8b2483086684e38 (diff) | |
| download | neko-a6974c3af00a66870424aa971ae4dd38c49847bf.tar.gz neko-a6974c3af00a66870424aa971ae4dd38c49847bf.tar.bz2 neko-a6974c3af00a66870424aa971ae4dd38c49847bf.zip | |
Fix Unbounded Memory Usage in Image Proxy
- 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 '.github/workflows')
0 files changed, 0 insertions, 0 deletions
