configure.ac:30: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:30: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:30: the top level
configure.ac:117: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:117: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:117: the top level
configure.ac:123: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:123: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:123: the top level
configure.ac:136: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:136: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:136: the top level
configure.ac:147: warning: The macro 'AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:147: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:147: the top level
configure.ac:147: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:147: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:147: the top level
configure.ac:148: warning: The macro 'LT_AC_PROG_RC' is obsolete.
configure.ac:148: You should run autoupdate.
m4/libtool.m4:8173: LT_AC_PROG_RC is expanded from...
configure.ac:148: the top level
configure.ac:149: warning: The macro 'AC_LIBTOOL_RC' is obsolete.
configure.ac:149: You should run autoupdate.
m4/libtool.m4:921: AC_LIBTOOL_RC is expanded from...
configure.ac:149: the top level
configure.ac:150: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.ac:150: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:150: the top level
configure.ac:150: warning: LT_LANG was called before LT_INIT
m4/libtool.m4:62: LT_INIT is expanded from...
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:150: the top level
configure.ac:158: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:158: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:158: the top level
configure.ac:204: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:204: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:204: the top level
configure.ac:235: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:235: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:235: the top level
configure.ac:273: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:273: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:273: the top level
configure.ac:284: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:284: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:284: the top level
configure.ac:292: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:292: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:292: the top level
configure.ac:311: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:311: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:311: the top level
configure.ac:322: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:322: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:322: the top level
configure.ac:360: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:360: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:360: the top level
configure.ac:361: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:361: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:361: the top level
configure.ac:388: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:388: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:388: the top level
configure.ac:398: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:398: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:398: the top level
configure.ac:424: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:424: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:424: the top level
configure.ac:470: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:470: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:470: the top level
configure.ac:471: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:471: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:471: the top level
configure.ac:485: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:485: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:485: the top level
configure.ac:495: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:495: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:495: the top level
configure.ac:527: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:527: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.ac:527: the top level
configure.ac:546: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:546: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:546: the top level
configure.ac:575: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:575: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:575: the top level
configure.ac:581: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:581: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.ac:581: the top level
configure.ac:598: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:598: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:598: the top level
configure.ac:615: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:615: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:615: the top level
configure.ac:629: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:629: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:629: the top level
configure.ac:645: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:645: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:645: the top level
configure.ac:673: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:673: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:673: the top level
configure.ac:687: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:687: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:687: the top level
configure.ac:700: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:700: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:700: the top level
configure.ac:113: installing './compile'
configure.ac:33: installing './config.guess'
configure.ac:33: installing './config.sub'
configure.ac:31: installing './install-sh'
configure.ac:31: installing './missing'
src/Makefile.am: installing './depcomp'
In file included from md5.c:77:
hmac-md5.h:67:29: warning: argument 5 of type ‘unsigned char[16]’ with mismatched bound [-Warray-parameter=]
67 | unsigned char digest[HMAC_MD5_SIZE]);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from md5.c:75:
md5.h:82:84: note: previously declared as ‘unsigned char *’
82 | void hmac_md5 PROTO_LIST ((const unsigned char *, int, const unsigned char *, int, unsigned char *));
| ^~~~~~~~~~~~~~~
md5global.h:73:26: note: in definition of macro ‘PROTO_LIST’
73 | #define PROTO_LIST(list) list
| ^~~~
mailimap_parser.c: In function ‘mailimap_literal_parse_progress’:
mailimap_parser.c:6141:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
6141 | if (search_end - search_beg >= tag_response_end_len &&
| ^~
mailimf_types_helper.c: In function ‘mailimf_get_message_id’:
mailimf_types_helper.c:1282:50: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 463 and 500 [-Wformat-truncation=]
1282 | snprintf(id, MAX_MESSAGE_ID, "etPan.%lx.%lx.%x@%s",
| ^~
1283 | (long) now, value, getpid(), name);
| ~~~~
In file included from /usr/include/stdio.h:894,
from ../../../include/libetpan/mailimf_write_generic.h:44,
from mailimf.h:45,
from mailimf_types_helper.c:48:
In function ‘snprintf’,
inlined from ‘mailimf_get_message_id’ at mailimf_types_helper.c:1282:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 13 and 561 bytes into a destination of size 512
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_add_uid.part.0’:
maildir.c:513:41: warning: ‘/tmp/etpan-maildir-XXXXXX’ directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
513 | snprintf(tmpname, sizeof(tmpname), "%s/tmp/etpan-maildir-XXXXXX",
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from maildir.c:44:
In function ‘snprintf’,
inlined from ‘maildir_message_add_uid.part.0’ at maildir.c:513:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 26 and 4121 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_add_uid.part.0’:
maildir.c:131:45: warning: ‘/tmp/’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
131 | snprintf(filename, sizeof(filename), "%s/tmp/%s",
| ^~~~~
In function ‘snprintf’,
inlined from ‘maildir_get_new_message_filename’ at maildir.c:131:5,
inlined from ‘maildir_message_add_uid.part.0’ at maildir.c:542:23:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 6 and 8196 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_add_uid.part.0’:
maildir.c:555:61: warning: ‘/new/’ directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
555 | snprintf(delivery_new_name, sizeof(delivery_new_name), "%s/new/%s",
| ^~~~~
In function ‘snprintf’,
inlined from ‘maildir_message_add_uid.part.0’ at maildir.c:555:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 6 and 8196 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_add_uid.part.0’:
maildir.c:574:43: warning: ‘/new’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
574 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path);
| ^~~~
In function ‘snprintf’,
inlined from ‘maildir_message_add_uid.part.0’ at maildir.c:574:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_update’:
maildir.c:395:43: warning: ‘/new’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
395 | snprintf(path_new, sizeof(path_new), "%s/new", md->mdir_path);
| ^~~~
In function ‘snprintf’,
inlined from ‘maildir_update’ at maildir.c:395:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_update’:
maildir.c:396:43: warning: ‘/cur’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
396 | snprintf(path_cur, sizeof(path_cur), "%s/cur", md->mdir_path);
| ^~~~
In function ‘snprintf’,
inlined from ‘maildir_update’ at maildir.c:396:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 5 and 4100 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_update’:
maildir.c:446:10: warning: ‘/maildirfolder’ directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
446 | "%s/maildirfolder", md->mdir_path);
| ^~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘maildir_update’ at maildir.c:445:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 15 and 4110 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_get’:
maildir.c:668:44: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
668 | snprintf(filename, sizeof(filename), "%s/%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘maildir_message_get’ at maildir.c:668:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4101) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_remove’:
maildir.c:702:44: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
702 | snprintf(filename, sizeof(filename), "%s/%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘maildir_message_remove’ at maildir.c:702:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4101) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_change_flags’:
maildir.c:746:44: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
746 | snprintf(filename, sizeof(filename), "%s/%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘maildir_message_change_flags’ at maildir.c:746:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4101) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_change_flags’:
maildir.c:777:54: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
777 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s:2,%s",
| ^~
In function ‘snprintf’,
inlined from ‘maildir_message_change_flags’ at maildir.c:777:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildir.c: In function ‘maildir_message_change_flags’:
maildir.c:774:54: warning: ‘%s’ directive output may be truncated writing 3 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
774 | snprintf(new_filename, sizeof(new_filename), "%s/%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘maildir_message_change_flags’ at maildir.c:774:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 4101) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailmbox_types.c: In function ‘mailmbox_folder_new’:
mailmbox_types.c:200:3: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
200 | strncpy(folder->mb_filename, mb_filename, PATH_MAX);
| ^
mailmbox.c: In function ‘mailmbox_expunge_no_lock’:
mailmbox.c:1338:35: warning: ‘XXXXXX’ directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
1338 | snprintf(tmp_file, PATH_MAX, "%sXXXXXX", folder->mb_filename);
| ^~~~~~
In file included from /usr/include/stdio.h:894,
from ../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../include/libetpan/mailimf.h:45,
from ../../../include/libetpan/mailmbox_types.h:48,
from mailmbox.h:44,
from mailmbox.c:40:
In function ‘snprintf’,
inlined from ‘mailmbox_expunge_no_lock’ at mailmbox.c:1338:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4102 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailmime_types.c: In function ‘mailmime_field_free’:
mailmime_types.c:336:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
336 | if (field->fld_data.fld_location != NULL)
| ^~
mailmime_types.c:338:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
338 | break;
| ^~~~~
mailmime_decode.c: In function ‘mailmime_non_encoded_word_parse’:
mailmime_decode.c:328:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
328 | if (state == 1) {
| ^
mailmime_decode.c:332:7: note: here
332 | default:
| ^~~~~~~
mailmime_content.c: In function ‘mailmime_quoted_printable_body_parse_impl’:
mailmime_content.c:1961:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
1961 | if (in_header) {
| ^
mailmime_content.c:1985:7: note: here
1985 | default:
| ^~~~~~~
newsnntp.c: In function ‘read_xover_resp_list’:
newsnntp.c:2414:17: warning: argument 1 null where non-null expected [-Wnonnull]
2414 | article = atoi((char *) clist_content(current));
| ^~~~
In file included from /usr/include/features.h:490,
from /usr/include/inttypes.h:25,
from newsnntp.h:45,
from newsnntp.c:40:
/usr/include/stdlib.h:362:1: note: in a call to function ‘atoi’ declared ‘nonnull’
362 | __NTH (atoi (const char *__nptr))
| ^~~~~
newsnntp.c:2459:14: warning: argument 1 null where non-null expected [-Wnonnull]
2459 | size = atoi((char *) clist_content(current));
| ^~~~
/usr/include/stdlib.h:362:1: note: in a call to function ‘atoi’ declared ‘nonnull’
362 | __NTH (atoi (const char *__nptr))
| ^~~~~
newsnntp.c:2469:20: warning: argument 1 null where non-null expected [-Wnonnull]
2469 | line_count = atoi((char *) clist_content(current));
| ^~~~
/usr/include/stdlib.h:362:1: note: in a call to function ‘atoi’ declared ‘nonnull’
362 | __NTH (atoi (const char *__nptr))
| ^~~~~
imapdriver_cached.c: In function ‘get_cache_folder.constprop.isra’:
imapdriver_cached.c:626:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
626 | snprintf(key, PATH_MAX, "%s/%s", cache_dir, quoted_mb);
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/imapdriver_types.h:43,
from imapdriver_cached.h:40,
from imapdriver_cached.c:40:
In function ‘snprintf’,
inlined from ‘get_cache_folder.constprop.isra’ at imapdriver_cached.c:626:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_get_bodystructure’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/imapdriver_types.h:43,
from imapdriver_cached_message.h:40,
from imapdriver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_get_bodystructure’ at imapdriver_cached_message.c:490:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_header’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_header’ at imapdriver_cached_message.c:387:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_body’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_body’ at imapdriver_cached_message.c:417:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch’ at imapdriver_cached_message.c:356:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_mime’:
imapdriver_cached_message.c:239:31: warning: ‘-mime’ directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
239 | snprintf(key, size, "%s-%s-mime", msg_info->msg_uid, section_str);
| ^~~~~
In function ‘snprintf’,
inlined from ‘generate_key_from_section’ at imapdriver_cached_message.c:239:5,
inlined from ‘imap_fetch_section_mime’ at imapdriver_cached_message.c:610:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_mime’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_section_mime’ at imapdriver_cached_message.c:613:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_body’:
imapdriver_cached_message.c:242:31: warning: ‘-text’ directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
242 | snprintf(key, size, "%s-%s-text", msg_info->msg_uid, section_str);
| ^~~~~
In function ‘snprintf’,
inlined from ‘generate_key_from_section’ at imapdriver_cached_message.c:242:5,
inlined from ‘imap_fetch_section_body’ at imapdriver_cached_message.c:642:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_body’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_section_body’ at imapdriver_cached_message.c:645:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_header’:
imapdriver_cached_message.c:236:31: warning: ‘-header’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
236 | snprintf(key, size, "%s-%s-header", msg_info->msg_uid, section_str);
| ^~~~~~~
In function ‘snprintf’,
inlined from ‘generate_key_from_section’ at imapdriver_cached_message.c:236:5,
inlined from ‘imap_fetch_section_header’ at imapdriver_cached_message.c:578:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section_header’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_section_header’ at imapdriver_cached_message.c:581:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section’:
imapdriver_cached_message.c:233:31: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
233 | snprintf(key, size, "%s-%s", msg_info->msg_uid, section_str);
| ^
In function ‘snprintf’,
inlined from ‘generate_key_from_section’ at imapdriver_cached_message.c:233:5,
inlined from ‘imap_fetch_section’ at imapdriver_cached_message.c:546:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
imapdriver_cached_message.c: In function ‘imap_fetch_section’:
imapdriver_cached_message.c:277:34: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
277 | snprintf(filename, size, "%s/%s", quoted_mb, key);
| ^
In function ‘snprintf’,
inlined from ‘build_cache_name’ at imapdriver_cached_message.c:277:3,
inlined from ‘imap_fetch_section’ at imapdriver_cached_message.c:549:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_message_by_uid’:
maildirdriver_cached.c:1091:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
1091 | snprintf(filename, sizeof(filename), "%s%c%s%c%s",
| ^~
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/maildriver.h:40,
from maildirdriver.h:40,
from maildirdriver_cached.c:40:
In function ‘snprintf’,
inlined from ‘get_message_by_uid’ at maildirdriver_cached.c:1091:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_message’:
maildirdriver_cached.c:984:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
984 | snprintf(filename, sizeof(filename), "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘get_message’ at maildirdriver_cached.c:984:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_cache_folder.constprop.isra’:
maildirdriver_cached.c:366:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
366 | snprintf(key, PATH_MAX, "%s/%s", data->md_cache_directory, quoted_mb);
| ^
In function ‘snprintf’,
inlined from ‘get_cache_folder.constprop.isra’ at maildirdriver_cached.c:366:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_cache_folder.constprop.isra’:
maildirdriver_cached.c:373:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
373 | snprintf(key, PATH_MAX, "%s/%s", data->md_flags_directory, quoted_mb);
| ^
In function ‘snprintf’,
inlined from ‘get_cache_folder.constprop.isra’ at maildirdriver_cached.c:373:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_envelopes_list’:
maildirdriver_cached.c:836:43: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
836 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘get_envelopes_list’ at maildirdriver_cached.c:836:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_envelopes_list’:
maildirdriver_cached.c:846:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
846 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘get_envelopes_list’ at maildirdriver_cached.c:846:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached_message.c: In function ‘get_flags’:
maildirdriver_cached_message.c:296:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
296 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/maildirdriver_types.h:42,
from maildirdriver_message.h:40,
from maildirdriver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘get_flags’ at maildirdriver_cached_message.c:296:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘append_message_flags’:
maildirdriver_cached.c:503:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
503 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘append_message_flags’ at maildirdriver_cached.c:503:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘append_message_flags’:
maildirdriver_cached.c:797:34: warning: ‘-flags’ directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=]
797 | snprintf(keyname, PATH_MAX, "%s-flags", uid);
| ^~~~~~
In function ‘snprintf’,
inlined from ‘write_cached_flags’ at maildirdriver_cached.c:797:3,
inlined from ‘append_message_flags’ at maildirdriver_cached.c:515:7:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 7 and 4102 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
maildirdriver_cached.c: In function ‘get_messages_list’:
maildirdriver_cached.c:652:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
652 | snprintf(filename, sizeof(filename), "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘get_messages_list’ at maildirdriver_cached.c:652:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘mboxdriver_cached_append_message_flags’:
mboxdriver_cached.c:976:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
976 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/mboxdriver_types.h:40,
from mboxdriver_cached.h:42,
from mboxdriver_cached.c:40:
In function ‘snprintf’,
inlined from ‘mboxdriver_cached_append_message_flags’ at mboxdriver_cached.c:976:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘get_cache_directory.constprop.isra’:
mboxdriver_cached.c:413:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
413 | snprintf(dirname, PATH_MAX, "%s%c%s",
| ^
In function ‘snprintf’,
inlined from ‘get_cache_directory.constprop.isra’ at mboxdriver_cached.c:413:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘get_cache_directory.constprop.isra’:
mboxdriver_cached.c:422:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
422 | snprintf(dirname, PATH_MAX, "%s%c%s",
| ^
In function ‘snprintf’,
inlined from ‘get_cache_directory.constprop.isra’ at mboxdriver_cached.c:422:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘read_max_uid_value.constprop.isra’:
mboxdriver_cached.c:561:39: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
561 | snprintf(filename, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘read_max_uid_value.constprop.isra’ at mboxdriver_cached.c:561:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 4105) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘write_max_uid_value.isra’:
mboxdriver_cached.c:486:39: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
486 | snprintf(filename, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘write_max_uid_value.isra’ at mboxdriver_cached.c:486:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 4105) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘mboxdriver_cached_expunge_folder’:
mboxdriver_cached.c:722:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
722 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘mboxdriver_cached_expunge_folder’ at mboxdriver_cached.c:722:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘mboxdriver_cached_status_folder’:
mboxdriver_cached.c:817:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
817 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘mboxdriver_cached_status_folder’ at mboxdriver_cached.c:817:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached_message.c: In function ‘mbox_get_flags’:
mboxdriver_cached_message.c:292:46: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
292 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/mailmessage_types.h:40,
from ../../../../include/libetpan/mailmessage.h:36,
from mboxdriver_cached_message.h:40,
from mboxdriver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘mbox_get_flags’ at mboxdriver_cached_message.c:292:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘mboxdriver_cached_get_envelopes_list’:
mboxdriver_cached.c:1157:43: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
1157 | snprintf(filename_env, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘mboxdriver_cached_get_envelopes_list’ at mboxdriver_cached.c:1157:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mboxdriver_cached.c: In function ‘mboxdriver_cached_get_envelopes_list’:
mboxdriver_cached.c:1168:45: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
1168 | snprintf(filename_flags, PATH_MAX, "%s%c%s%c%s",
| ^~
In function ‘snprintf’,
inlined from ‘mboxdriver_cached_get_envelopes_list’ at mboxdriver_cached.c:1168:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘mhdriver_cached_append_message_flags’:
mhdriver_cached.c:951:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
951 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/mhdriver_types.h:42,
from mhdriver_cached.h:40,
from mhdriver_cached.c:40:
In function ‘snprintf’,
inlined from ‘mhdriver_cached_append_message_flags’ at mhdriver_cached.c:951:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘mhdriver_cached_status_folder.part.0’:
mhdriver_cached.c:771:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
771 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘mhdriver_cached_status_folder.part.0’ at mhdriver_cached.c:771:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘get_cache_directory.constprop.isra’:
mhdriver_cached.c:587:37: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
587 | snprintf(dirname, PATH_MAX, "%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘get_cache_directory.constprop.isra’ at mhdriver_cached.c:587:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘get_cache_directory.constprop.isra’:
mhdriver_cached.c:596:37: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
596 | snprintf(dirname, PATH_MAX, "%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘get_cache_directory.constprop.isra’ at mhdriver_cached.c:596:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘mhdriver_cached_expunge_folder’:
mhdriver_cached.c:683:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
683 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘mhdriver_cached_expunge_folder’ at mhdriver_cached.c:683:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘mhdriver_cached_get_envelopes_list’:
mhdriver_cached.c:1129:42: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
1129 | snprintf(filename_env, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘mhdriver_cached_get_envelopes_list’ at mhdriver_cached.c:1129:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘mhdriver_cached_get_envelopes_list’:
mhdriver_cached.c:1139:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
1139 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘mhdriver_cached_get_envelopes_list’ at mhdriver_cached.c:1139:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘read_max_uid_value.isra’:
mhdriver_cached.c:327:38: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
327 | snprintf(filename, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘read_max_uid_value.isra’ at mhdriver_cached.c:327:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 4105) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached.c: In function ‘write_max_uid_value.isra’:
mhdriver_cached.c:254:38: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
254 | snprintf(filename, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘write_max_uid_value.isra’ at mhdriver_cached.c:254:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 10 or more bytes (assuming 4105) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mhdriver_cached_message.c: In function ‘mh_get_flags’:
mhdriver_cached_message.c:276:46: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
276 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/mhdriver_types.h:42,
from mhdriver_message.h:40,
from mhdriver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘mh_get_flags’ at mhdriver_cached_message.c:276:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached_message.c: In function ‘nntp_get_flags’:
nntpdriver_cached_message.c:325:46: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
325 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/mailmessage_types.h:40,
from nntpdriver_cached_message.h:36,
from nntpdriver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘nntp_get_flags’ at nntpdriver_cached_message.c:325:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached_message.c: In function ‘nntp_prefetch’:
nntpdriver_cached_message.c:144:38: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
144 | snprintf(filename, PATH_MAX, "%s/%s/%i", cached_data->nntp_cache_directory,
| ^
nntpdriver_cached_message.c:144:32: note: using the range [-2147483648, 2147483647] for directive argument
144 | snprintf(filename, PATH_MAX, "%s/%s/%i", cached_data->nntp_cache_directory,
| ^~~~~~~~~~
In function ‘snprintf’,
inlined from ‘nntp_prefetch’ at nntpdriver_cached_message.c:144:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 4 or more bytes (assuming 4099) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached_message.c: In function ‘nntp_fetch_header.part.0’:
nntpdriver_cached_message.c:259:38: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
259 | snprintf(filename, PATH_MAX, "%s/%s/%i-header",
| ^
nntpdriver_cached_message.c:259:32: note: using the range [-2147483648, 2147483647] for directive argument
259 | snprintf(filename, PATH_MAX, "%s/%s/%i-header",
| ^~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘nntp_fetch_header.part.0’ at nntpdriver_cached_message.c:259:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘read_article_seq.isra’:
nntpdriver_cached.c:728:42: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
728 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s",
| ^
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/nntpdriver_types.h:42,
from nntpdriver_cached.h:40,
from nntpdriver_cached.c:40:
In function ‘snprintf’,
inlined from ‘read_article_seq.isra’ at nntpdriver_cached.c:728:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 4110) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_status_folder.part.0’:
nntpdriver_cached.c:495:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
495 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_status_folder.part.0’ at nntpdriver_cached.c:495:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_select_folder’:
nntpdriver_cached.c:412:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
412 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_cache_directory,
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_select_folder’ at nntpdriver_cached.c:412:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_select_folder’:
nntpdriver_cached.c:421:33: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
421 | snprintf(key, PATH_MAX, "%s/%s", cached_data->nntp_flags_directory,
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_select_folder’ at nntpdriver_cached.c:421:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_get_envelopes_list’:
nntpdriver_cached.c:869:42: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
869 | snprintf(filename_env, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_get_envelopes_list’ at nntpdriver_cached.c:869:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_get_envelopes_list’:
nntpdriver_cached.c:879:44: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
879 | snprintf(filename_flags, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_get_envelopes_list’ at nntpdriver_cached.c:879:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_get_envelopes_list’:
nntpdriver_cached.c:780:42: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=]
780 | snprintf(seq_filename, PATH_MAX, "%s/%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘write_article_seq’ at nntpdriver_cached.c:780:3,
inlined from ‘nntpdriver_cached_get_envelopes_list’ at nntpdriver_cached.c:992:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 4110) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
nntpdriver_cached.c: In function ‘nntpdriver_cached_get_envelopes_list’:
nntpdriver_cached.c:1000:39: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
1000 | snprintf(cache_dir, PATH_MAX, "%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘nntpdriver_cached_get_envelopes_list’ at nntpdriver_cached.c:1000:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached_message.c: In function ‘pop3_get_flags’:
pop3driver_cached_message.c:316:44: warning: ‘%s’ directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
316 | snprintf(filename_flags, PATH_MAX, "%s/%s",
| ^~
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/pop3driver_types.h:42,
from pop3driver_cached_message.h:40,
from pop3driver_cached_message.c:40:
In function ‘snprintf’,
inlined from ‘pop3_get_flags’ at pop3driver_cached_message.c:316:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached_message.c: In function ‘pop3_prefetch’:
pop3driver_cached_message.c:142:38: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
142 | snprintf(filename, PATH_MAX, "%s/%s",
| ^
In function ‘snprintf’,
inlined from ‘pop3_prefetch’ at pop3driver_cached_message.c:142:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached_message.c: In function ‘pop3_fetch_header.part.0’:
pop3driver_cached_message.c:260:38: warning: ‘-header’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
260 | snprintf(filename, PATH_MAX, "%s/%s-header",
| ^~~~~~~
In function ‘snprintf’,
inlined from ‘pop3_fetch_header.part.0’ at pop3driver_cached_message.c:260:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 9 or more bytes (assuming 4104) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached.c: In function ‘pop3driver_cached_expunge_folder’:
pop3driver_cached.c:416:42: warning: ‘%s’ directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
416 | snprintf(filename_flags, PATH_MAX, "%s/%s",
| ^~
In file included from /usr/include/stdio.h:894,
from ../../../../include/libetpan/mailimf_write_generic.h:44,
from ../../../../include/libetpan/mailimf.h:45,
from ../../../../include/libetpan/maildriver_types.h:48,
from ../../../../include/libetpan/pop3driver_types.h:42,
from pop3driver_cached.h:44,
from pop3driver_cached.c:40:
In function ‘snprintf’,
inlined from ‘pop3driver_cached_expunge_folder’ at pop3driver_cached.c:416:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached.c: In function ‘pop3driver_cached_status_folder’:
pop3driver_cached.c:499:42: warning: ‘%s’ directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
499 | snprintf(filename_flags, PATH_MAX, "%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘pop3driver_cached_status_folder’ at pop3driver_cached.c:499:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached.c: In function ‘pop3driver_cached_get_envelopes_list’:
pop3driver_cached.c:745:40: warning: ‘%s’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
745 | snprintf(filename_env, PATH_MAX, "%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘pop3driver_cached_get_envelopes_list’ at pop3driver_cached.c:745:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
pop3driver_cached.c: In function ‘pop3driver_cached_get_envelopes_list’:
pop3driver_cached.c:760:42: warning: ‘%s’ directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
760 | snprintf(filename_flags, PATH_MAX, "%s/%s",
| ^~
In function ‘snprintf’,
inlined from ‘pop3driver_cached_get_envelopes_list’ at pop3driver_cached.c:760:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 10 and 4105 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
dbdriver.c: In function ‘connect_path’:
dbdriver.c:433:3: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
433 | strncpy(data->db_filename, path, sizeof(data->db_filename));
| ^
mailprivacy_tools.c: In function ‘mailprivacy_new_file_part’:
mailprivacy_tools.c:525:5: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation]
525 | strncpy(basename_buf, filename, PATH_MAX);
| ^
mailprivacy_gnupg.c: In function ‘pgp_decrypt_armor.constprop.isra’:
mailprivacy_gnupg.c:1041:55: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=]
1041 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'",
| ^~
1042 | quoted_encrypted_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from ../../include/libetpan/mailimf_write_generic.h:44,
from ../../include/libetpan/mailimf.h:45,
from ../../include/libetpan/maildriver_types.h:48,
from ../../include/libetpan/mailmessage_types.h:40,
from ../../include/libetpan/mailmessage.h:36,
from ../../include/libetpan/mailprivacy_types.h:42,
from mailprivacy_gnupg.h:40,
from mailprivacy_gnupg.c:46:
In function ‘snprintf’,
inlined from ‘pgp_decrypt_armor.constprop.isra’ at mailprivacy_gnupg.c:1040:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 49 and 4144 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_verify.constprop.isra’:
mailprivacy_gnupg.c:656:67: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=]
656 | snprintf(command, sizeof(command), "gpg --batch --yes --verify '%s' '%s'",
| ^~
657 | quoted_signature_filename, quoted_signed_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_verify.constprop.isra’ at mailprivacy_gnupg.c:656:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 33 and 8223 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_decrypt.constprop.isra’:
mailprivacy_gnupg.c:460:55: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4049 [-Wformat-truncation=]
460 | "gpg --passphrase-fd=0 --batch --yes --decrypt '%s'",
| ^~
461 | quoted_encrypted_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_decrypt.constprop.isra’ at mailprivacy_gnupg.c:459:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 49 and 4144 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_verify_clearsigned.constprop’:
mailprivacy_gnupg.c:823:37: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4067 [-Wformat-truncation=]
823 | "gpg --batch --yes --decrypt '%s'", quoted_signed_filename);
| ^~ ~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_verify_clearsigned.constprop’ at mailprivacy_gnupg.c:822:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 31 and 4126 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_sign_mime’:
mailprivacy_gnupg.c:1463:73: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4033 [-Wformat-truncation=]
1463 | "gpg --passphrase-fd=0 -a --batch --yes --digest-algo sha1 %s -b '%s'",
| ^~
1464 | default_key, quoted_to_sign_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_sign_mime’ at mailprivacy_gnupg.c:1462:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 65 or more bytes (assuming 4160) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_encrypt_mime’:
mailprivacy_gnupg.c:2072:43: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=]
2072 | snprintf(command, sizeof(command), "gpg %s -a --batch --yes -e '%s'",
| ^~
2073 | recipient, quoted_original_filename);
| ~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_encrypt_mime’ at mailprivacy_gnupg.c:2072:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 28 and 8218 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_sign’:
mailprivacy_smime.c:798:46: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=]
798 | "openssl smime -sign -passin fd:0 -in '%s' -signer '%s' -inkey '%s'",
| ^~
799 | quoted_signed_filename,
| ~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:894,
from ../../include/libetpan/mailimf_write_generic.h:44,
from ../../include/libetpan/mailimf.h:45,
from ../../include/libetpan/maildriver_types.h:48,
from ../../include/libetpan/mailmessage_types.h:40,
from ../../include/libetpan/mailmessage.h:36,
from ../../include/libetpan/mailprivacy_types.h:42,
from mailprivacy_smime.h:40,
from mailprivacy_smime.c:43:
In function ‘snprintf’,
inlined from ‘smime_sign’ at mailprivacy_smime.c:797:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 61 and 12346 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_sign_encrypt_mime’:
mailprivacy_gnupg.c:1847:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=]
1847 | "gpg --passphrase-fd=0 %s -a --batch --yes --digest-algo sha1 -s %s -e '%s'",
| ^~
1848 | recipient, default_key, quoted_original_filename);
| ~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_sign_encrypt_mime’ at mailprivacy_gnupg.c:1846:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 69 or more bytes (assuming 8259) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In function ‘get_cert_from_sig’,
inlined from ‘smime_verify.constprop’ at mailprivacy_smime.c:460:5:
mailprivacy_smime.c:1596:7: warning: ‘-cert.pem’ directive output may be truncated writing 9 bytes into a region of size between 0 and 4095 [-Wformat-truncation=]
1596 | "%s/%s" CERTIFICATE_SUFFIX, cert_dir, email);
| ^~~~~~~
mailprivacy_smime.c: In function ‘smime_verify.constprop’:
mailprivacy_smime.c:1356:29: note: format string is defined here
1356 | #define CERTIFICATE_SUFFIX "-cert.pem"
| ^~~~~~~~~
In function ‘snprintf’,
inlined from ‘get_cert_from_sig’ at mailprivacy_smime.c:1595:3,
inlined from ‘smime_verify.constprop’ at mailprivacy_smime.c:460:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 11 or more bytes (assuming 4106) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_verify.constprop’:
mailprivacy_smime.c:1606:39: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
1606 | "openssl pkcs7 -inform DER -in '%s' -out '%s' -print_certs 2>/dev/null",
| ^~
1607 | quoted_signature_filename, quoted_store_cert_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘get_cert_from_sig’ at mailprivacy_smime.c:1605:3,
inlined from ‘smime_verify.constprop’ at mailprivacy_smime.c:460:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 66 and 8256 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_verify.constprop’:
mailprivacy_smime.c:470:52: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=]
470 | snprintf(check_CA, sizeof(check_CA), "-CAfile '%s'", quoted_CAfile);
| ^~ ~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘smime_verify.constprop’ at mailprivacy_smime.c:470:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 11 and 4106 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_verify.constprop’:
mailprivacy_smime.c:514:66: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=]
514 | snprintf(command, sizeof(command), "openssl smime -verify -in '%s' %s %s",
| ^~
515 | quoted_smime_filename, check_CA, noverify);
| ~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘smime_verify.constprop’ at mailprivacy_smime.c:514:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_clear_sign.part.0’:
mailprivacy_gnupg.c:2289:79: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4027 [-Wformat-truncation=]
2289 | "gpg --passphrase-fd=0 --batch --yes --digest-algo sha1 %s --clearsign '%s'",
| ^~
2290 | default_key, quoted_original_filename);
| ~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_clear_sign.part.0’ at mailprivacy_gnupg.c:2288:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 71 or more bytes (assuming 4166) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_encrypt’:
mailprivacy_smime.c:1083:67: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4068 [-Wformat-truncation=]
1083 | snprintf(command, sizeof(command), "openssl smime -encrypt -in '%s' %s",
| ^~
1084 | quoted_decrypted_filename, recipient);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘smime_encrypt’ at mailprivacy_smime.c:1083:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 31 or more bytes (assuming 4126) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_armor_encrypt.part.0’:
mailprivacy_gnupg.c:2468:43: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=]
2468 | snprintf(command, sizeof(command), "gpg %s --batch --yes -e --armor '%s'",
| ^~
2469 | recipient, quoted_original_filename);
| ~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_armor_encrypt.part.0’ at mailprivacy_gnupg.c:2468:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 33 and 8223 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_gnupg.c: In function ‘pgp_armor_sign_encrypt.part.0’:
mailprivacy_gnupg.c:2660:30: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=]
2660 | "gpg --passphrase-fd=0 %s --batch --yes --digest-algo sha1 "
| ^~
2661 | "%s -e -s -a '%s'",
2662 | recipient, default_key, quoted_original_filename);
| ~~~~~~~~~
In function ‘snprintf’,
inlined from ‘pgp_armor_sign_encrypt.part.0’ at mailprivacy_gnupg.c:2659:3:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output 69 or more bytes (assuming 8259) into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
mailprivacy_smime.c: In function ‘smime_decrypt.constprop’:
mailprivacy_smime.c:317:51: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4055 [-Wformat-truncation=]
317 | "openssl smime -decrypt -passin fd:0 -in '%s' -inkey '%s' -recip '%s'",
| ^~
318 | quoted_smime_filename, quoted_smime_key, quoted_smime_cert);
| ~~~~~~~~~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘smime_decrypt.constprop’ at mailprivacy_smime.c:316:5:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 63 and 12348 bytes into a destination of size 4096
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:535,
from frm-tree.c:7:
In function ‘memcpy’,
inlined from ‘display_sub_tree’ at frm-tree.c:64:7:
/usr/include/bits/string_fortified.h:29:10: warning: ‘*(short unsigned int *)(&old_prefix[0])’ may be used uninitialized [-Wmaybe-uninitialized]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
frm-tree.c: In function ‘display_sub_tree’:
frm-tree.c:29:10: note: ‘*(short unsigned int *)(&old_prefix[0])’ was declared here
29 | char old_prefix[2];
| ^~~~~~~~~~
libtool: warning: remember to run 'libtool --finish /usr/lib'