You need to sign in or sign up before continuing.
Deprecation of sizeofMutableByteArray# does not transfer from ghc-prim to base
GHC.Prim.sizeofMutableByteArray# in ghc-prim has a deprecation warning, which surprisingly disappears once re-exported from base as GHC.Exts.sizeofMutableByteArray#. I assume that clients, importing sizeofMutableByteArray# from base instead of ghc-prim (which is a recommended approach), do not see the warning and continue using it, exposing themselves to all sorts of vulnerabilities from out-of-bounds access.
Edited by Bodigrim