oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13314 ported commit: a142b7a543
a142b7a543