mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
libDtTerm: Resolve all -Wformat-security warnings.
This commit is contained in:
parent
93428391db
commit
31c2131935
1 changed files with 2 additions and 2 deletions
|
@ -2197,7 +2197,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
|
|||
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
|
||||
else
|
||||
s = buf;
|
||||
sprintf(s,fmt);
|
||||
sprintf(s, "%s", fmt);
|
||||
sendEscSequence(w,s) ;
|
||||
if (s != buf) XtFree(s);
|
||||
break ;
|
||||
|
@ -2208,7 +2208,7 @@ _DtTermParseSunMisc /* Misc sun esc seqs */
|
|||
s = XtMalloc(strlen(icon) + strlen(fmt) + 1);
|
||||
else
|
||||
s = buf;
|
||||
sprintf(s,fmt);
|
||||
sprintf(s, "%s", fmt);
|
||||
sendEscSequence(w,s) ;
|
||||
if (s != buf) XtFree(s);
|
||||
break ;
|
||||
|
|
Loading…
Reference in a new issue