We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug While reading the code to understand the issue behind #3104, I came across a warning by the Visual Studio static analyzer.
In particular, the following lines
yarp/src/libYARP_manager/src/yarp/manager/yarpbroker.cpp
Lines 566 to 576 in e4762b0
return a pointer to the char buffer of a temporary string.
Configuration (please complete the following information):
Additional context Add any other context about the problem here.
cc @randaz81
The text was updated successfully, but these errors were encountered:
Probably fixed. Can you give it a check @S-Dafarra ?
Sorry, something went wrong.
I believe it should be fixed, thanks a lot! I noticed that there is the c_str() in https://github.com/randaz81/yarp/blob/a62e65eb9ab1906a8e29e947e04629df20293d2c/src/libYARP_manager/src/yarp/manager/yarpbroker.cpp#L575, but since the method outputs a string by copy, it should not be an issue anymore.
c_str()
No branches or pull requests
Describe the bug
While reading the code to understand the issue behind #3104, I came across a warning by the Visual Studio static analyzer.
In particular, the following lines
yarp/src/libYARP_manager/src/yarp/manager/yarpbroker.cpp
Lines 566 to 576 in e4762b0
return a pointer to the char buffer of a temporary string.
Configuration (please complete the following information):
Additional context
Add any other context about the problem here.
cc @randaz81
The text was updated successfully, but these errors were encountered: