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

unimplemented null return in class_loader_imp.hpp #160

Closed
danielwangksu opened this issue Jul 10, 2019 · 0 comments · Fixed by #163
Closed

unimplemented null return in class_loader_imp.hpp #160

danielwangksu opened this issue Jul 10, 2019 · 0 comments · Fixed by #163

Comments

@danielwangksu
Copy link

tinyxml2::XMLElement Attribute() may return NULL if none exists

std::string library_path = library->Attribute("path");
if (0 == library_path.size()) {

artivis added a commit to artivis/pluginlib that referenced this issue Aug 19, 2019
  std::string my_string(NULL) is UB
  Fix ros#160

Signed-off-by: artivis <jeremie.deray@canonical.com>
nuclearsandwich pushed a commit that referenced this issue Feb 14, 2020
std::string my_string(NULL) is UB
  Fix #160

Signed-off-by: artivis <jeremie.deray@canonical.com>
artivis added a commit to artivis/pluginlib that referenced this issue Feb 21, 2020
std::string my_string(NULL) is UB
  Fix ros#160

Signed-off-by: artivis <jeremie.deray@canonical.com>
artivis added a commit to artivis/pluginlib that referenced this issue Feb 21, 2020
std::string my_string(NULL) is UB
  Fix ros#160

Signed-off-by: artivis <jeremie.deray@canonical.com>
artivis added a commit to artivis/pluginlib that referenced this issue Feb 21, 2020
std::string my_string(NULL) is UB
  Fix ros#160

Signed-off-by: artivis <jeremie.deray@canonical.com>
clalancette pushed a commit to artivis/pluginlib that referenced this issue Oct 23, 2020
std::string my_string(NULL) is UB
  Fix ros#160

Signed-off-by: artivis <jeremie.deray@canonical.com>
clalancette pushed a commit that referenced this issue Oct 23, 2020
std::string my_string(NULL) is UB
  Fix #160

Signed-off-by: artivis <jeremie.deray@canonical.com>
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 a pull request may close this issue.

1 participant