Fix integer overflow by parsing PPM image. (bnc#789835, CVE-2012-4433)
The Open Build Service is an openSUSE project.