1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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

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