- After a bug at TRICS I replaced all occurrences of strcpy, strcat, sprintf
by length limited versions wherever appropriate. SKIPPED: psi/el755driv.c psi/faverage.c psi/frame.c psi/lmd200.c psi/polterwrite.c psi/psi.c psi/sanswave.c psi/sinqhmdriv.c psi/termprot.c
This commit is contained in:
@ -336,7 +336,7 @@ static int putFloat(pSICSData self, int argc, char *argv[],
|
||||
status = Tcl_GetDouble(InterpGetTcl(pSics), argv[1], &dVal);
|
||||
if (status != TCL_OK) {
|
||||
snprintf(buffer, 255,
|
||||
"ERROR: faiuld to convert putfloat value %s to float",
|
||||
"ERROR: faild to convert putfloat value %s to float",
|
||||
argv[1]);
|
||||
SCWrite(pCon, buffer, eError);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user