Skip to content
Snippets Groups Projects
Commit 8227aa17 authored by rswindell's avatar rswindell
Browse files

Use safe_snprintf() when formatting FIDO PID string.

parent 11fdb4b6
Branches
Tags
No related merge requests found
......@@ -322,7 +322,7 @@ void postmsg(char type, char* to, char* to_number, char* to_address,
}
msg.idx.subj=smb_subject_crc(str);
sprintf(str,"SMBUTIL %s-%s r%s %s %s"
safe_snprintf(str,sizeof(str),"SMBUTIL %s-%s r%s %s %s"
,SMBUTIL_VER
,PLATFORM_DESC
,revision
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment