You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip the pure-PHP DoS tests when the extension is loaded
These tests assert the pure-PHP decoder's "exceeds the maximum payload
size" message. When the maxminddb extension is loaded, Reader decodes
through libmaxminddb, which reports different text, so the assertions
failed. They also fed the large amplification and fan-out fixtures to the
extension's decoder, which on a libmaxminddb without the fix would exhaust
memory.
Skip them when the extension is loaded. The extension path is covered
safely by ExtensionDosTest, which probes a small fixture first and runs the
large fixtures only against a libmaxminddb that enforces the limits.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments