Fixes CVE-2022-35954. Does not look like anything terriblity important to me, but hey, audit is happy.