Important Update:
- Bug fix: incorrect memory allocation in SetValue() - Implement conversion of escaped chars during parsing - Implement escaping chars during printing
This commit is contained in:
@@ -325,7 +325,7 @@ bool CDataTree::SetValue( TDataMember * Member, EDataType Type, const char * Va
|
||||
}
|
||||
|
||||
// Create copy of value
|
||||
NewValue = (char *)malloc( sizeof(Len+1) );
|
||||
NewValue = (char *)malloc( Len+1 );
|
||||
if (Value) {
|
||||
memcpy( NewValue, Value, Len );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user