[Bug 928513] New: Xserver: PutImage crashes Server when called with 0 height
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513 Bug ID: 928513 Summary: Xserver: PutImage crashes Server when called with 0 height Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: All OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: eich@suse.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- GWenview crashes with SIGFP Xserver when maximizing/resizing an image. Reason is that PutImage() is called with 0 height. Culprit is this code snippet in ProcPutImage(): if (lengthProto >= (INT32_MAX / stuff->height)) return BadLength; Fix: test for 0 dimensions and bail early. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
Egbert Eich
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
--- Comment #2 from Stefan Dirsch
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
--- Comment #4 from Egbert Eich
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
Egbert Eich
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
http://bugzilla.opensuse.org/show_bug.cgi?id=928513#c7
Egbert Eich
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=928513
http://bugzilla.opensuse.org/show_bug.cgi?id=928513#c8
--- Comment #8 from Egbert Eich
participants (1)
-
bugzilla_noreply@novell.com