duncanca / mosaik-aligner

Automatically exported from code.google.com/p/mosaik-aligner
0 stars 0 forks source link

Bug(?) in AlignmentRead.cpp #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There are several instances in AlignmentRead.cpp where string are
initialized using memcpy() to copy data to the pointer returned by
string::data(). However, according to Stroustrup, the memory pointed to by
data is not guaranteed to be valid after the next call to a non-const
member function. 

Original issue reported on code.google.com by jg...@lanl.gov on 19 May 2010 at 10:24