Bug 744946

Summary: (cov#11046) NULL dereference in IDL code
Product: [Retired] 389 Reporter: Nathan Kinder <nkinder>
Component: Directory ServerAssignee: Nathan Kinder <nkinder>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2.9CC: nhosoi
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: 2015-12-10 18:43:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 690319    
Attachments:
Description Flags
Patch for cov#11046 nhosoi: review+

Description Nathan Kinder 2011-10-10 22:02:43 UTC
There is a chance of a NULL dereference of the idl pointer in idl_new_fetch() that was reported by a Coverity scan.  We should check if idl is NULL before dereferencing it.

Comment 1 Nathan Kinder 2011-10-10 22:04:30 UTC
Created attachment 527335 [details]
Patch for cov#11046

Comment 2 Nathan Kinder 2011-10-11 14:57:54 UTC
Pushed to master.  Thanks to Noriko for her review!

Counting objects: 13, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 773 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
   8d3b921..ef04fbc  master -> master