Integer overflow leads to buffer overflow on space allocation for JPEG image.
vulners.com/securityvulns/securityvulns:doc:13289