dtcreate: Fix another buffer overflow issue
This commit is contained in:
committed by
Jon Trulson
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) {
|
||||
|
||||
Reference in New Issue
Block a user