loginrec.c:763:2: error: 'strncpy' output may be truncated copying 32 bytes from a string of length 511 [-Werror=stringop-truncation] strncpy(utx->ut_user, li->username, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MIN_SIZEOF(utx->ut_user, li->username)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loginrec.c: In function 'record_failed_login': loginrec.c:1687:2: error: 'strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation] strncpy(ut.ut_user, username, sizeof(ut.ut_user)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loginrec.c:1696:2: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation] strncpy(ut.ut_host, hostname, sizeof(ut.ut_host)); |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr | ||
pkg-message | ||
pkg-plist |