-
Notifications
You must be signed in to change notification settings - Fork 117
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
coverity report data leak #305
Labels
Comments
mabelzhang
added
bug
Something isn't working
help wanted
Extra attention is needed
labels
Aug 22, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
if (rmw_serialized_message_resize(serialized_message, data_length) != RMW_RET_OK)
take the true branchtss
will not be releasedrmw_fastrtps/rmw_fastrtps_cpp/src/rmw_serialize.cpp
Lines 43 to 48 in 62b7534
Same for
if (rmw_serialized_message_resize(serialized_message, data_length) != RMW_RET_OK)
rmw_fastrtps/rmw_fastrtps_dynamic_cpp/src/rmw_serialize.cpp
Lines 42 to 47 in 62b7534
The text was updated successfully, but these errors were encountered: