Skip to content

as6e generates compiler warnings in Debian 10

The as6e backend generates the following warnings in Debian 10:

as6e.c: In function ‘check_for_driver’:
as6e.c:824:9: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
         strncpy (fullname, dir, sizeof(fullname)-1);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The warnings should be suppressed with appropriate mitigations.

Referencing issue #120 (closed)

Edited by Ralph Little
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information