Snippets for altermime 0.3.10 from Fedora ppc64le
Sourced from https://kojipkgs.fedoraproject.org/packages/altermime/0.3.10/39.fc45/data/logs/ppc64le/build.log.
-
pldstr.c:300:37: warning: comparison between pointer and zero character constant [-Wpointer-compare] 300 | if ((st->start)&&(st->start != '\0')) | ^~ -
qpe.c:49:29: warning: comparison between pointer and zero character constant [-Wpointer-compare] 49 | if (lineend != '\0') { | ^~ -
MIME_headers.c:1089:15: warning: variable ‘headerline_end’ set but not used [-Wunused-but-set-variable=] 1089 | char *headerline_end; | ^~~~~~~~~~~~~~ -
MIME_headers.c:1084:13: warning: variable ‘firstline’ set but not used [-Wunused-but-set-variable=] 1084 | int firstline = 1; | ^~~~~~~~~ -
MIME_headers.c:2727:15: warning: variable ‘safeh’ set but not used [-Wunused-but-set-variable=] 2727 | char *safeh, *h, *safehl; | ^~~~~ -
MIME_headers.c:2948:9: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] 2948 | memset(hinfo->defects, 0, _MIMEH_DEFECT_ARRAY_SIZE); | ^~~~~~ -
mime_alter.c:2435:13: warning: variable ‘segment_read’ set but not used [-Wunused-but-set-variable=] 2435 | int segment_read = 0; | ^~~~~~~~~~~~ -
mime_alter.c:3701:13: warning: variable ‘boundary_exists’ set but not used [-Wunused-but-set-variable=] 3701 | int boundary_exists=0; | ^~~~~~~~~~~~~~~ -
MIME_headers.c:788:64: warning: ‘/doubleCR.’ directive output may be truncated writing 10 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 788 | snprintf(glb.doubleCRname,_MIMEH_STRLEN_MAX,"%s/doubleCR.%d",glb.output_dir,glb.doubleCR_count); | ^~~~~~~~~~ -
mime_alter.c:1509:59: warning: ‘*__snprintf_chkieee128’ output may be truncated before the last format character [-Wformat-truncation=] 1509 | snprintf(boundary, sizeof(boundary), "--%s", dd->boundary); | ^ -
MIME_headers.c:2014:93: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 129 [-Wformat-truncation=] 2014 | snprintf(hinfo->filename, sizeof(hinfo->filename), "%s.applemeta", glb.appledouble_filename ); | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bits/stdio2.h:68:10: warning: ‘*__snprintf_chkieee128’ specified bound 1024 exceeds destination size 129 [-Wstringop-overflow=] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -
mime_alter.c:3459:67: warning: ‘*__snprintfieee128’ output may be truncated before the last format character [-Wformat-truncation=] 3459 | snprintf( low_line, AM_1K_BUFFER_SIZE, "%s", line ); | ^ -
MIME_headers.c:2875:50: warning: ‘%s’ directive output may be truncated writing up to 128 bytes into a region of size 124 [-Wformat-truncation=] 2875 | snprintf( tmp, sizeof(tmp), "mac-%s", hinfo->filename ); | ^~ -
/usr/include/bits/stdio2.h:68:10: warning: ‘__builtin___snprintf_chk’ specified bound 1024 exceeds destination size 129 [-Wstringop-overflow=] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^