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

Vulnerability: Fix code scanning alert - Use of potentially dangerous function #2

Closed
1 task done
ZCG-coder opened this issue Jan 17, 2024 · 1 comment
Closed
1 task done
Assignees
Labels
T-Bug Type - Bug and unexpected behavior.
Milestone

Comments

@ZCG-coder
Copy link
Owner

ZCG-coder commented Jan 17, 2024

std::localtime can introduce this vulnerability, as it is not thread-safe. It needs to be replaced with other thread-safe options.

Tracking issue for:

@ZCG-coder ZCG-coder added the T-Bug Type - Bug and unexpected behavior. label Jan 17, 2024
@ZCG-coder ZCG-coder self-assigned this Jan 17, 2024
@ZCG-coder
Copy link
Owner Author

ZCG-coder commented Jan 18, 2024

Fixed in 6d30441

@ZCG-coder ZCG-coder added this to the First Release milestone Apr 17, 2024
@ZCG-coder ZCG-coder changed the title Fix code scanning alert - Use of potentially dangerous function Vulnerability: Fix code scanning alert - Use of potentially dangerous function Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Bug Type - Bug and unexpected behavior.
Projects
Status: Done
Development

No branches or pull requests

1 participant