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.