Apply AllocationLimitMegabytes
against the total size of multi-frame images before attempting to decode them
#2849
Replies: 1 comment
-
Posted as a discussion since the new repo setup doesn't allow godmode issue creation 😅 Converted to #2850 now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Even though strictly speaking this would be a hack since the allocation limit is originally meant to be per-buffer, I think this is something users want us to do. For built-in decoders, this is possible to implement by adding an internal validation method to
MemoryAllocator
; we can figure out later whether we want to make the feature available to external decoders.Beta Was this translation helpful? Give feedback.
All reactions