Task #51894 - fixed.err

back to task #51894
download
Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.6/separate/../lib/mbfile.h:85:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.6/separate/../src/unexpand.c:315:1: enter_function: entry to 'main'
coreutils-9.6/separate/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'main'
#   83|     /* If EOF has already been seen, don't use getc.  This matters if
#   84|        mbf->fp is connected to an interactive tty.  */
#   85|->   if (mbf->eof_seen)
#   86|       goto eof;
#   87|   

Error: GCC_ANALYZER_WARNING (CWE-401):
coreutils-9.6/single/../lib/mbfile.h:85:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.6/single/../src/unexpand.c:315:1: enter_function: entry to 'single_binary_main_unexpand'
coreutils-9.6/single/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'single_binary_main_unexpand'
#   83|     /* If EOF has already been seen, don't use getc.  This matters if
#   84|        mbf->fp is connected to an interactive tty.  */
#   85|->   if (mbf->eof_seen)
#   86|       goto eof;
#   87|