Summary: | misprite/misdispcur expects a zero-initialised Pixmap | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Chris Wilson <chris> | ||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | esigra | ||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Chris Wilson
2007-03-29 13:54:56 UTC
Created attachment 9364 [details] [review] Clear the pixmaps on allocation Fixed in git, thanks! Actually, I don't like this. calloc is wildly expensive for large pixmaps. The callers should just initialize their pixmaps correctly. This is presumably just accessing bits beyond the right edge of the pixmap; the cursor display code does carefully fill the entire pixmap. The thing to do is put in a special valgrind mode which clears the padding in the pixmap without clearing the whole pixmap. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/354. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.