#47876 coverity defects in slapd/tools/mmldif.c
Closed: wontfix None Opened 9 years ago by nhosoi.

1. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:1404:5:warning – Value stored to 'att' is never read
    att is initialized twice.

2. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:1322:5:warning – Value stored to 'rc' is never read
    no need to check rc there.

3. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:1148:25:warning – Access to field 'next' results in a dereference of a null pointer (loaded from variable 'a')
    false positive.
    cmp < 0 means a is not NULL.

4. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:522:9:warning – Value stored to 'count' is never read
    count is not used.

5. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:518:9:warning – Value stored to 'pmask' is never read
    pmask is not used.

6. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:517:9:warning – Value stored to 'pindex' is never read
    pindex is not used.

7. Defect type: CLANG_WARNING
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:447:9:warning – Value stored to 'pmask' is never read
    pmask is not used.

8. Defect type: CLANG_WARNING 
1. 389-ds-base-1.2.11.15/ldap/servers/slapd/tools/mmldif.c:446:9:warning – Value stored to 'pindex' is never read
    pindex is not used.

Reviewed by Thierry (Thank you!!)

Pushed to master:
0a69c4d..29684ac master -> master
commit 29684ac

Metadata Update from @nhosoi:
- Issue assigned to nhosoi
- Issue set to the milestone: 1.3.3 backlog

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1207

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata