- 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:
@ -229,7 +229,7 @@ int MakeSansliRebin(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
eError);
|
||||
return 0;
|
||||
}
|
||||
strncpy(correctionFilePath, argv[1], 512);
|
||||
strlcpy(correctionFilePath, argv[1], 512);
|
||||
AddCommand(pSics, "sanslirebin", SansliRebin, NULL, NULL);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user