New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix coverity issue #4759
Milestone
Comments
tbordaz
added
needs triage
The issue will be triaged during scrum
and removed
needs triage
The issue will be triaged during scrum
labels
May 6, 2021
tbordaz
added a commit
to tbordaz/389-ds-base
that referenced
this issue
May 6, 2021
Bug description: with 389ds#4218 (wtime, optime in access log), hrtime is set in the operation. But it is done before checking if the operation is set. covscan fails Fix description: move the setting after verification that operation != NULL relates: 389ds#4759 Reviewed by: Simon Pichugin Platforms tested: F34
tbordaz
added a commit
that referenced
this issue
May 6, 2021
Bug description: with #4218 (wtime, optime in access log), hrtime is set in the operation. But it is done before checking if the operation is set. covscan fails Fix description: move the setting after verification that operation != NULL relates: #4759 Reviewed by: Simon Pichugin Platforms tested: F34
tbordaz
added a commit
that referenced
this issue
May 7, 2021
Bug description: with #4218 (wtime, optime in access log), hrtime is set in the operation. But it is done before checking if the operation is set. covscan fails Fix description: move the setting after verification that operation != NULL relates: #4759 Reviewed by: Simon Pichugin Platforms tested: F34
tbordaz
added a commit
that referenced
this issue
May 7, 2021
Bug description: with #4218 (wtime, optime in access log), hrtime is set in the operation. But it is done before checking if the operation is set. covscan fails Fix description: move the setting after verification that operation != NULL relates: #4759 Reviewed by: Simon Pichugin Platforms tested: F34
tbordaz
added a commit
that referenced
this issue
May 7, 2021
Bug description: with #4218 (wtime, optime in access log), hrtime is set in the operation. But it is done before checking if the operation is set. covscan fails Fix description: move the setting after verification that operation != NULL relates: #4759 Reviewed by: Simon Pichugin Platforms tested: F34
@tbordaz can we close it as the PR was merged? Or do you want to leave the issue for future use? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
The support of wtime/optime in the access logs, record the hrtime in the operation structure. #/4218 assign the time without checking that operation exists. I triggers failure in coverity scan
Package Version and Platform:
since 1.4.3
Steps to Reproduce
Run covcan
Expected results
No error in opshared.c and extended.c regarding call to slapi_operation_set_time_started
The text was updated successfully, but these errors were encountered: