mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
fix(FileTransferChatMessageModifier): check if file url is null before string construction!
This commit is contained in:
parent
dff49bec34
commit
d2ec19ac7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue