Fix integer multiplication overflow
Fix integer multiplication overflow

As reported by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17113

tbeu/matio,tbeu/matio,MaartenBent/matio,tbeu/matio,MaartenBent/matio,MaartenBent/matio,tbeu/matio,MaartenBent/matio