Just over 50 cppcheck errors. Nothing earth shattering... A few possible crashes...

@azonenberg@ioc.exchange

Just over 50 cppcheck errors. Nothing earth shattering... A few possible crashes on malformed data, some handle leaks if a file wasn't read fully, lots of unnecessary pass by value, and a few false positives / confirmed harmless issues.