Task #376 - added.err

back to task #376
download
Error: COMPILER_WARNING:
dpkg-1.22.6-build/dpkg-1.22.6/lib/dpkg/mustlib.c:48:10: warning[-Walloc-size-larger-than=]: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807
#   48 |   return must_alloc(malloc(amount));
#      |          ^
/usr/include/stdlib.h: scope_hint: In member function 'initialsetup'
/usr/include/stdlib.h:672:14: note: in a call to allocation function 'malloc' declared here
#  672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
#      |              ^
#   46|   
#   47|   void *m_malloc(size_t amount) {
#   48|->   return must_alloc(malloc(amount));
#   49|   }
#   50|   

Error: COMPILER_WARNING (CWE-457):
dpkg-1.22.6-build/dpkg-1.22.6/lib/dpkg/progress.c:65:9: warning[-Wmaybe-uninitialized]: 'progress.text' may be used uninitialized
#   65 |         fputs(progress->text, stdout);
#      |         ^
dpkg-1.22.6-build/dpkg-1.22.6/lib/dpkg/db-fsys-files.c: scope_hint: In function 'ensure_allinstfiles_available.part.0'
dpkg-1.22.6-build/dpkg-1.22.6/lib/dpkg/db-fsys-files.c:254:19: note: 'progress.text' was declared here
#  254 |   struct progress progress;
#      |                   ^
#   63|   	progress->last_percent = cur_percent;
#   64|   
#   65|-> 	fputs(progress->text, stdout);
#   66|   	/* TRANSLATORS: This is part of the progress output, it is a decimal
#   67|   	 * percentage. */