You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice one build warning with
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
CC source/libcloog_isl_la-statement.lo
In function ‘pprint_replacestr’,
inlined from ‘pprint_replacestr’ at source/pprint.c:436:7:
source/pprint.c:457:5: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
457 | strncat(result, replace, strlen(replace));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The line numbers may not match with the master branch (as I have a forked version), but here's the code snippet for context:
while ((pos1 = strstr(pos, sub))) {
int len = (pos1 - pos);
strncat(result, pos, len);
strncat(result, replace, strlen(replace));
pos = (pos1 + strlen(sub));
}
The text was updated successfully, but these errors were encountered:
I notice one build warning with
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
CC source/libcloog_isl_la-statement.lo
In function ‘pprint_replacestr’,
inlined from ‘pprint_replacestr’ at source/pprint.c:436:7:
source/pprint.c:457:5: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
457 | strncat(result, replace, strlen(replace));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The line numbers may not match with the master branch (as I have a forked version), but here's the code snippet for context:
The text was updated successfully, but these errors were encountered: