Bug#533361: xcftools: 'xcf2pnm -C ... layer' crashes on some valid XCF files

2009-06-16 Thread Jorgen Grahn
Package: xcftools Version: 1.0.4-1 Severity: important I really like the xcftools package, because it lets me author things in Gimp and then automate operations on them (e.g. let a Makefile generate jpeg images from a sandwhich of layers). However, this bug is a problem for me currently: I try t

Bug#533361: xcftools: 'xcf2pnm -C ... layer' crashes on some valid XCF files

2009-06-18 Thread Henning Makholm
tags 533361 patch security thanks Upstream auhor of xcftools here. Thanks for this bug report. There is indeed a possible buffer overflow when the converted part of the image extends above or to the left of the canvas. It was caused by me foolishly assuming that C's modulus operator bevhaves sane