- Changed strncpy to strlcpy, strncat to strlcat
- Added strlcpy and strlcat to SICS - Added a driver for the POLDI power supplies
This commit is contained in:
@ -60,7 +60,7 @@ static void PrintHMError(char *text, SConnection * pCon)
|
||||
char pBueffel[1064];
|
||||
|
||||
strcpy(pBueffel, "ERROR: Histogram Memory --> ");
|
||||
strncat(pBueffel, text,1024);
|
||||
strlcat(pBueffel, text,1024);
|
||||
SCWrite(pCon, pBueffel, eError);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user