1 --- dx-4.4.4/src/exec/dxmods/colormap.c~ 2002-03-21 18:09:58.000000000 +0100
2 +++ dx-4.4.4/src/exec/dxmods/colormap.c 2013-06-11 13:12:13.350684052 +0200
7 - sprintf(ei.mp,name); while(*ei.mp) ei.mp++;
8 + sprintf(ei.mp,"%s",name); while(*ei.mp) ei.mp++;
9 sprintf(ei.mp, "NULL");
10 DXUIMessage(id,ei.msgbuf);
16 - sprintf(ei.mp,name); while(*ei.mp) ei.mp++;
17 + sprintf(ei.mp,"%s",name); while(*ei.mp) ei.mp++;
19 sprintf(ei.mp,"{"); ei.mp++;
21 --- dx-4.4.4/src/exec/dxmods/exp_gai.c~ 2000-08-24 22:04:29.000000000 +0200
22 +++ dx-4.4.4/src/exec/dxmods/exp_gai.c 2013-06-11 13:18:31.964648585 +0200
27 - fprintf(h->dfp,del);
28 + fprintf(h->dfp,"%s",del);
36 - fprintf(h->dfp,del);
37 + fprintf(h->dfp,"%s",del);
45 - fprintf(h->dfp,del);
46 + fprintf(h->dfp,"%s",del);
54 - fprintf(h->dfp,del);
55 + fprintf(h->dfp,"%s",del);
63 - fprintf(h->dfp,del);
64 + fprintf(h->dfp,"%s",del);
72 - fprintf(h->dfp,del);
73 + fprintf(h->dfp,"%s",del);
81 - fprintf(h->dfp,del);
82 + fprintf(h->dfp,"%s",del);
90 - fprintf(h->dfp,del);
91 + fprintf(h->dfp,"%s",del);
96 arinfo->last,scratch);
97 arinfo->last = (Pointer)nextstr;
99 - fprintf(h->dfp,del);
100 + fprintf(h->dfp,"%s",del);
106 for (i=0; i<shape[0]; i++){
108 - fprintf(h->dfp,del);
109 + fprintf(h->dfp,"%s",del);
110 fprintf(h->dfp,"positions_cmp%d",i);
113 @@ -845,13 +845,13 @@
114 !strcmp("positions",depon) && strcmp("invalid positions",name)
115 && strcmp("positions",name) ) {
117 - fprintf(h->dfp,del);
118 + fprintf(h->dfp,"%s",del);
119 DXGetArrayInfo((Array)a,NULL,&type,NULL,&rank,shape);
120 /* dim = (rank < 1) ? 1 : shape[0]; */
121 if (type != TYPE_STRING && rank > 0 && shape[0] > 1) {
122 cmp = (char *)DXAllocate(strlen(name)+6);
123 for (j=0; j<shape[0]; j++) {
124 - if (j > 0) fprintf(h->dfp, del);
125 + if (j > 0) fprintf(h->dfp,"%s", del);
126 sprintf(cmp,"%s_cmp%d",name,j);
127 pstring(h->dfp,0,0,0,cmp);
129 --- dx-4.4.4/src/exec/dpexec/dxmain.c~ 2006-05-08 18:20:03.000000000 +0200
130 +++ dx-4.4.4/src/exec/dpexec/dxmain.c 2013-06-11 13:23:52.217999584 +0200
131 @@ -2129,7 +2129,7 @@
132 if ((SFILEisatty(yyin) || (_dxd_exRshInput && yyin == _dxd_exBaseFD)) &&
133 !prompted && _dxf_ExGQAllDone() && !SFILECharReady(yyin)) {
134 prompt = _dxf_ExPromptGet(PROMPT_ID_PROMPT);
135 - printf (prompt? prompt: EX_PROMPT);
136 + printf ("%s",prompt? prompt: EX_PROMPT);
140 @@ -2305,7 +2305,7 @@
141 _dxf_ExGQAllDone ())\
143 prompt = _dxf_ExPromptGet (PROMPT_ID_PROMPT);\
144 - printf (prompt ? prompt : EX_PROMPT);\
145 + printf ("%s",prompt ? prompt : EX_PROMPT);\
149 --- dx-4.4.4/src/exec/dpexec/lex.c~ 2006-01-09 23:57:34.000000000 +0100
150 +++ dx-4.4.4/src/exec/dpexec/lex.c 2013-06-11 13:24:53.625308550 +0200
152 if ((_dxd_exIsatty || _dxd_exRshInput) && !SFILECharReady(yyin))
154 prompt = _dxf_ExPromptGet(PROMPT_ID_CPROMPT);
155 - printf (prompt? prompt: EX_CPROMPT);
156 + printf ("%s",prompt? prompt: EX_CPROMPT);
160 --- dx-4.4.4/src/uipp/dxuilib/DXApplication.C~ 2013-06-11 13:08:39.031771731 +0200
161 +++ dx-4.4.4/src/uipp/dxuilib/DXApplication.C 2013-06-11 13:27:50.373831329 +0200
162 @@ -2553,7 +2553,7 @@
164 GraphLayout::SetHeightPerLevel (DXApplication::resource.autoLayoutHeight);
166 - fprintf (stderr, errmsg);
167 + fprintf (stderr, "%s", errmsg);
171 @@ -2561,7 +2561,7 @@
173 GraphLayout::SetGroupSpacing (DXApplication::resource.autoLayoutGroupSpacing);
175 - fprintf (stderr, errmsg);
176 + fprintf (stderr, "%s", errmsg);
180 @@ -2569,7 +2569,7 @@
182 GraphLayout::SetNodeSpacing (DXApplication::resource.autoLayoutNodeSpacing);
184 - fprintf (stderr, errmsg);
185 + fprintf (stderr, "%s", errmsg);
189 @@ -3787,7 +3787,7 @@
193 - fprintf(stderr,msg);
194 + fprintf(stderr,"%s",msg);
198 @@ -5019,7 +5019,7 @@
199 fprintf (stderr, "Attempting to save any modified files.\n"
200 "Please check saved files for integrity by reloading them.\n");
201 theDXApplication->emergencySave (msg);
202 - fprintf (stderr, msg);
203 + fprintf (stderr, "%s", msg);
206 fprintf(stderr,"The application will now abort.\n");
207 @@ -5035,7 +5035,7 @@
208 if (theDXApplication) {
210 this->emergencySave(msg);
211 - fprintf(stderr, msg);
212 + fprintf(stderr, "%s", msg);
215 this->IBMApplication::abortApplication();
216 --- dx-4.4.4/src/uipp/dxl/conn.c~ 2006-05-08 18:20:08.000000000 +0200
217 +++ dx-4.4.4/src/uipp/dxl/conn.c 2013-06-11 13:30:02.578553195 +0200
220 int n = read(err,buf,2048);
222 - fprintf(stderr,buf);
223 + fprintf(stderr,"%s",buf);
225 #if defined(intelnt) || defined(WIN32)
226 TerminateProcess(child, -1);
227 --- dx-4.4.4/src/uipp/dxui/SelectionNode.C~ 2002-03-25 17:42:08.000000000 +0100
228 +++ dx-4.4.4/src/uipp/dxui/SelectionNode.C 2013-06-11 13:31:19.139357071 +0200
230 ListIterator it(selection_stmts);
232 while ( (cp = (char*)it.getNext()) ) {
234 + fprintf (jf, "%s", cp);