Fix regression introduced by upstream in CVE-2024-5594's fix
Follow up to !14 (merged) to fix a regression introduced by upstream while fixing CVE-2024-5594.
CC: @beuc
Follow up to !14 (merged) to fix a regression introduced by upstream while fixing CVE-2024-5594.
CC: @beuc