Commit d2ec19ac authored by Ronan's avatar Ronan
Browse files

fix(FileTransferChatMessageModifier): check if file url is null before string construction!

parent dff49bec
......@@ -539,7 +539,7 @@ static void fillFileTransferContentInformationsFromVndGsmaRcsFtHttpXml(FileTrans
}
xmlFreeDoc(xmlMessageBody);
fileTransferContent->setFileUrl((const char *)file_url); // Set file url in the file transfer content for the download
fileTransferContent->setFileUrl(file_url ? (const char *)file_url : "");
xmlFree(file_url);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment