We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4710977 commit d82e8b6Copy full SHA for d82e8b6
src/lsl_streaminfo_c.cpp
@@ -60,6 +60,7 @@ LIBLSL_C_API char *lsl_get_xml(lsl_streaminfo info) {
60
return nullptr;
61
}
62
memcpy(result, tmp.c_str(), tmp.size());
63
+ result[tmp.size()] = '\0';
64
return result;
65
} catch (std::exception &e) {
66
LOG_F(WARNING, "Unexpected error in lsl_get_xml: %s", e.what());
0 commit comments