Backport patch for CVE-2021-43618
This backports the patch from 18135:561a9c25298e, addressing
CVE-2021-43618 and ghc#22789 (closed).
Edited by Ben Gamari
Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template
This backports the patch from 18135:561a9c25298e, addressing
CVE-2021-43618 and ghc#22789 (closed).