check malloc result
@ -1175,9 +1175,13 @@ error1:
if ( data )
{
result = (char*)malloc( length + 1 );
if ( result )
memcpy( (void*)result, (void*)data, length );
result[ length ] = 0;
}
else
result = NULL;
The note is not visible to the blocked user.