You are right. The code was wrong. I just fixed it. Tommi
Am 05.02.2015 um 20:57 schrieb Steve Gieseking:
In base64-test.cpp binaryTest() function, the first data.assign has a string with 13 values but requests a copy of 16 values. In http://www.cplusplus.com/reference/string/string/assign/ this is indicated at the bottom of the page as having undefined behavior. This was flagged in a compilation with Address Sanitizer in Linux as having a global buffer overrun in libstdc++.Steve ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
