21 Nov 2015 by Jochen Arndt
This line might be the source:fileStreamIn.read(&buffer.front(), buffer_size);The content of a std::string should not be modified directly. You are using front() here which allows the modification of the referenced character. But you are using it to modifiy the string content. Because...