| Summary: | Possible problems found by static analysis of code | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jiri Popelka <jpopelka> | ||||
| Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | jpopelka, ovasik, rhughes, twaugh | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | cups-1.4.6-15.fc15 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-04-29 13:03:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Jiri Popelka
2011-03-23 12:11:04 UTC
Created attachment 487022 [details]
avahi.patch fixes
- initialize variable 'i' to make sure we don't dereference null variable 'elements'
- fix possible resource leak
Created attachment 487024 [details]
lspp.patch fixes
- check return value of avc_context_to_sid()
- make the code more portable
Created attachment 487026 [details]
icc.patch fix
- removed dead code: value of 'attr' is always 0(null) on this line
(In reply to comment #1) > Created attachment 487022 [details] > avahi.patch fixes Thanks, I've updated the upstream patch in STR #3066. (In reply to comment #2) > Created attachment 487024 [details] > lspp.patch fixes Looks good. (In reply to comment #3) > Created attachment 487026 [details] > icc.patch fix > > - removed dead code: value of 'attr' is always 0(null) on this line Hmm, I think attr ought to be the "DefaultColorSpace" attribute, if present, here. CCing Richard for confirmation... (In reply to comment #6) > Hmm, I think attr ought to be the "DefaultColorSpace" attribute, if present, > here. CCing Richard for confirmation... Yup, that patch makes sense, please apply it to rawhide. I'll do a more complete fix upstream. Thanks. Richard. Problems in our patches have been fixed in cups-1.4.6-15.fc15 Patches fixing problems in upstream code were sent upstream so I'm closing this as UPSTREAM. Just a note that the upstream reported problems have been fixed in CUPS 1.5 |