Bug 706390

Summary: Coverity scan
Product: [Fedora] Fedora Reporter: Michal Luscon <mluscon>
Component: environment-modulesAssignee: Orion Poplawski <orion>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: orion, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-22 23:15:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Luscon 2011-05-20 11:26:12 UTC
Description of problem:

utility.c:1042, 1099, 1112, 1129, 1139, - function stringer without NULL check.(potentially dereferencing NULL variable escaped)

utility.c:3043 - Using uninitialized variable result(depending on line 3040)

Please also check
utility.c:2593 - Function strchar may return NULL
utility.c:2601 - If string does not contain ending parenthesis, NULL variable slashptr will be dereferenced. I am not sure about possibility of this situation. 


Version-Release number of selected component (if applicable):
3.2.8

Comment 1 Orion Poplawski 2011-05-20 14:34:53 UTC
I really think things like this are better reported directly upstream.  I'll pass it on though.

Comment 2 Ondrej Vasik 2011-05-23 12:51:54 UTC
Thanks Orion for passing it to upstream, if they are interested, we could provide the full log, so they could check if Michal did filtered false positives correctly. Just let us know in that case... Next time we will try to contact upstream first, if possible and upstream alive. Sorry...