- 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:
2
motreg.c
2
motreg.c
@ -120,7 +120,7 @@ int StartRegMot(pMotReg self, SConnection * pCon, float fValue)
|
||||
FindDescriptor(self->motorData),
|
||||
self->motorData, pCon, pCon->runLevel, fValue);
|
||||
/*
|
||||
sprintf(pBueffel,"anticollision started %s to %f",self->motorName,
|
||||
snprintf(pBueffel,sizeof(pBueffel)-1,"anticollision started %s to %f",self->motorName,
|
||||
fValue);
|
||||
SCWrite(pCon,pBueffel,eValue);
|
||||
*/
|
||||
|
Reference in New Issue
Block a user