tastytea
99e1cd8e98
continuous-integration/drone/push Build is passing
Details
Found out what was wrong: I fed boost::regex_search() the pointer to a substring that was created in-place. match[2] was a pointer to a substring inside that. The problem was, that match was declared outside of the if-block. So after the if-block match[2] would point to a now freed memory address. It didn't have any effects because I didn't use match afterwards. I rewrote the whole thing with iterators. Slightly less readable, slightly better performance (probably). |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
files.cpp | ||
files.hpp | ||
fs-compat.hpp.in | ||
helpers.cpp | ||
helpers.hpp | ||
log.cpp | ||
log.hpp | ||
main.cpp | ||
options.cpp | ||
options.hpp | ||
output.cpp | ||
output.hpp | ||
search.cpp | ||
search.hpp | ||
version.hpp.in | ||
zip.cpp | ||
zip.hpp |