Bug 623507
| Summary: | fix coverity Defect Type: Incorrect expression issues | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Noriko Hosoi <nhosoi> | ||||||
| Component: | Directory Server | Assignee: | Noriko Hosoi <nhosoi> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 1.2.6 | CC: | benl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-05-17 14:08:35 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: | 576869, 639035 | ||||||||
| Attachments: |
|
||||||||
|
Description
Noriko Hosoi
2010-08-12 00:19:14 UTC
Created attachment 438320 [details] git patch file (master) 11957 http://10.16.47.145:8080/sourcebrowser.htm?projectId=10030#mergedDefectId=11957&streamDefectId=12143&defectInstanceId=14008&fileInstanceId=49055 Comment: be_list is never NULL so there is no need to check for NULL value. Created attachment 438321 [details] git patch file (master) 11959 http://10.16.47.145:8080/sourcebrowser.htm?projectId=10030#mergedDefectId=11959&streamDefectId=12145&defectInstanceId=14010&fileInstanceId=49686 Comment: readonly_attributes is never NULL so it's not necessary to compare with NULL. Reviewed by Nathan (Thank you!!) Pushed to master: $ git merge coverity Updating d5b1593..d7c4d9b Fast-forward ldap/servers/slapd/opshared.c | 2 +- ldap/servers/slapd/rootdse.c | 4 ---- 2 files changed, 1 insertions(+), 5 deletions(-) $ git push Counting objects: 18, done. Delta compression using up to 4 threads. Compressing objects: 100% (12/12), done. Writing objects: 100% (12/12), 1.18 KiB, done. Total 12 (delta 9), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git d5b1593..d7c4d9b master -> master |