Test that a side computed for a size with one side 0 is at least 1
check / check (push) Canceled after 0s

An 8192x1 source at 100x0 and 1300x0 and an 8192x2 source at 100x0, and
the same turned on their side, in every fit mode. The test fails until
the fix for #283 lands; TODO.md
records the bug at the top as P1 until then.

Model: opus-5-5
This commit is contained in:
2026-10-16 00:38:00 +00:00
parent 9a96740463
commit dbb21e2f8d
2 changed files with 71 additions and 1 deletions
+5 -1
View File
@@ -26,7 +26,10 @@ resolved. The disk cache is now size-bounded with LRU eviction
# Next Step
P2: security: per-origin rate limiting
P1: security: a size with one side `0` whose side computed from the source's
proportions rounds down to 0 comes out square, can make libvips ask for about 39
GB (an 8192x1 source at `1300x0`), or answers 500
(https://git.eeqj.de/sneak/pixa/issues/283)
# Completed Steps
@@ -997,6 +1000,7 @@ P2: security: per-origin rate limiting
# Future Steps
- P2: security: per-origin rate limiting
- P2: HTTP response handling
- Last-Modified headers
- P2: configuration