figured it out:bio::strncpy doesn't add 0 to the end of char array
So how do you get rid of the garbage?
either edit the strncpy function inside bconsole.cpporedit clabel.cpp and add*((char*) _data+Len) = 0;after strncpy into _data
figured it out:
ReplyDeletebio::strncpy doesn't add 0 to the end of char array
So how do you get rid of the garbage?
ReplyDeleteeither edit the strncpy function inside bconsole.cpp
Deleteor
edit clabel.cpp and add
*((char*) _data+Len) = 0;
after strncpy into _data