Fuzzed/corrupt emf/wmfs are triggering lots of OOMs. Let's systematically review this new-ish portion of the code base and add sanity checks for allocation of byte[].
r1802997