Skip to content
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 issues found by Coverity Scan in texpr.c (branch: 2.6) #15684

Closed
xiaopingcs opened this issue Aug 2, 2022 · 0 comments
Closed

fix issues found by Coverity Scan in texpr.c (branch: 2.6) #15684

xiaopingcs opened this issue Aug 2, 2022 · 0 comments
Labels
good first issue Good for newcomers improvement Improve the code readability

Comments

@xiaopingcs
Copy link
Contributor

Bug Description
fix issues found by Coverity Scan in TDengine/src/common/src/texpr.c

To Reproduce
N/A

Expected Behavior
fix following issues:

Type Category Function Line Number
Resource leak Resource leaks convertFilterSetFromBinary 1110
Untrusted allocation size Insecure data handling exprTreeFromBinaryImpl 977
Resource leak Resource leaks exprValidateTimeNode Various
Self assignment Incorrect expression vectorTimeFunc 2936
Resource leak Resource leaks convertStringToTimestamp 2605
Resource leak Resource leaks exprTreeExprNodeTraverse 764
Resource leak Resource leaks exprTreeExprNodeTraverse 764

Screenshots
N/A

Environment (please complete the following information):
N/A

Additional Context
above issues found by https://scan.coverity.com/projects/tdengine?tab=overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers improvement Improve the code readability
Projects
None yet
Development

No branches or pull requests

2 participants