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
just found time to build the new version, but still a very similar warning:
In file included from kernel2minor.c:27:
kernel2minor.c: In function 'do_pack':
kernel2minor.h:32:2: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
strncpy(d, s, sizeof(d) - 1); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel2minor.c:485:5: note: in expansion of macro 'strcpy_safe'
strcpy_safe(ib_var_tmp_buf, "MIKROTIK");
^~~~~~~~~~~
Seems to be caused by copying
optarg
, which has an undetermined length.The text was updated successfully, but these errors were encountered: