Skip to content

epjitsu backend generates compiler warning in Debian 10

The epijitsu backend generates the following compiler warning in Debian 10:

epjitsu.c: In function ‘sane_epjitsu_get_devices’:
epjitsu.c:355:17: warning: ‘strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
                 strncpy((char *)global_firmware_filename,lp,PATH_MAX);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The warning should be suppressed with appropriate mitigations.

Referencing issue #120 (closed)

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