Summary: | libSM: valgrind warning on _SmcProcessMessage | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Caolán McNamara <caolanm> | ||||||||
Component: | Lib/other | Assignee: | Xorg Project Team <xorg-team> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | dbaron | ||||||||
Version: | unspecified | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Caolán McNamara
2008-09-18 09:05:41 UTC
Fixed, thanks! Created attachment 31514 [details] [review] alternative patch? I was investigating this same problem (in terms of valgrind warnings while starting Firefox), and came up with this (somewhat different) patch that you may or may not consider better; instead of calling memset over the whole buffer, it calls memset on the holes as it creates them. This approach has the advantage of fixing not just the one caller fixed above, but all callers of STORE_ARRAY8 and STORE_LISTOF_PROPERTY. Created attachment 31515 [details]
the valgrind warning in Firefox
Here's the valgrind warning in Firefox; Ubuntu 9.10 still hasn't picked up the previous patch in this bug, so I'm still seeing it.
|
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.