- fixed some potential bugs introduced when replacing strncpy and
strncat by strlcpy and strlcat
This commit is contained in:
@@ -215,7 +215,7 @@ tryagain:
|
||||
return 0;
|
||||
} else {
|
||||
if (test > 0) {
|
||||
strlcat(pBueffel, pRead, 2047 - strlen(pBueffel));
|
||||
strlcat(pBueffel, pRead, sizeof pBueffel);
|
||||
}
|
||||
}
|
||||
if (strstr(pBueffel, "TRANSACTIONFINISHED") != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user