aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sqlite.init.sql
diff options
context:
space:
mode:
authorgoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>2026-02-18 03:20:37 +0000
committergoogle-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>2026-02-18 03:20:37 +0000
commita6974c3af00a66870424aa971ae4dd38c49847bf (patch)
tree120e4dbdef90081e0208f9154197faeb057d74e2 /scripts/sqlite.init.sql
parent9db36ae402dbb74f7223a4efc8b2483086684e38 (diff)
downloadneko-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 'scripts/sqlite.init.sql')
0 files changed, 0 insertions, 0 deletions