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

Reply via email to