dtcreate: Fix another buffer overflow issue
This commit is contained in:
parent
e7ec2a4bdd
commit
c8a5b9671f
|
|
@ -535,7 +535,7 @@ static Widget _Uxbuild_FileCharacteristics(void)
|
|||
|
||||
pre = GETMESSAGE(3, 10, "Create Action");
|
||||
suf = GETMESSAGE(9, 10, "Identifying Characteristics");
|
||||
dialog_title = XtMalloc(strlen(pre) + strlen(suf) + 2);
|
||||
dialog_title = XtMalloc(strlen(pre) + strlen(suf) + 4);
|
||||
sprintf(dialog_title, "%s - %s", pre, suf);
|
||||
|
||||
if (bLowRes) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue