dtcreate: Fix another buffer overflow issue

This commit is contained in:
Frederic Koehler 2012-08-16 22:17:39 -04:00 committed by Jon Trulson
parent e7ec2a4bdd
commit c8a5b9671f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {