- 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
ifile.c
2
ifile.c
@ -119,7 +119,7 @@ IPair *IFReadConfigFile(FILE * fd)
|
||||
iLen = pPos - pBueffel;
|
||||
strncpy(pName, pBueffel, iLen);
|
||||
pName[iLen] = '\0';
|
||||
strcpy(pValue, (pPos + 1));
|
||||
strncpy(pValue, (pPos + 1),131);
|
||||
RemoveWhiteSpace(pName);
|
||||
RemoveWhiteSpace(pValue);
|
||||
pList = CreateNewEntry(pName, pValue, pList);
|
||||
|
Reference in New Issue
Block a user