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 CodeQL gripes with usage of c_str() pointers after the lifetime of their associated std::string objects #404

Conversation

esabol
Copy link
Member

@esabol esabol commented Jul 21, 2024

This merge request rectifies the CodeQL gripes concerning the usage of c_str() pointers after the lifetime of their associated std::string objects.

https://github.com/gearman/gearmand/security/code-scanning/39
https://github.com/gearman/gearmand/security/code-scanning/40

@esabol esabol mentioned this pull request Jul 21, 2024
@esabol esabol changed the title Fixed CodeQL gripes with usage of c_str() pointers after the lifetime their associated std::string objects Fixed CodeQL gripes with usage of c_str() pointers after the lifetime of their associated std::string objects Jul 21, 2024
@esabol esabol changed the title Fixed CodeQL gripes with usage of c_str() pointers after the lifetime of their associated std::string objects Fix CodeQL gripes with usage of c_str() pointers after the lifetime of their associated std::string objects Jul 22, 2024
@SpamapS SpamapS merged commit 6816e06 into gearman:master Aug 4, 2024
14 checks passed
@esabol esabol deleted the fix-CodeQL-gripe-about-use-of-string-after-lifetime-ends branch August 4, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants