yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

empty node assignment error with GCC address sanitizer

Open seisowl opened this issue 4 years ago • 0 comments

Compile the code "assign_empty.cpp" and run ./test:

// g++ -g -std=c++11 -fsanitize=address -fno-omit-frame-pointer -fstack-protector-all -D_GLIBCXX_DEBUG assign_empty.cpp -lyaml-cpp -o test

#include <yaml-cpp/yaml.h>

int main(int argc, char** argv) {
  YAML::Node a, b;
  a = b;
  return 0;
}

seisowl avatar Oct 06 '21 22:10 seisowl