cppcheck analysis of r-base-core-ra_1.2.8-4.dsc
- ./src/extra/graphapp/array.c:101 [error] - Common realloc mistake: "block" nulled but not freed upon failure
- ./src/extra/graphapp/array.c:150 [error] - Common realloc mistake: "block" nulled but not freed upon failure
- ./src/extra/zlib/gzio.c:173 [error] - Memory leak: s.path
- ./src/gnuwin32/bitmap/rbitmap.c:277 [error] - Uninitialized variable: buffer
- ./src/gnuwin32/editor.c:127 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./src/gnuwin32/editor.c:265 [error] - Common realloc mistake: "linebuf" nulled but not freed upon failure
- ./src/gnuwin32/front-ends/md5check.c:124 [error] - Buffer overrun possible for long cmd-line args
- ./src/gnuwin32/rui.c:1337 [error] - Common realloc mistake: "usermenus" nulled but not freed upon failure
- ./src/gnuwin32/rui.c:1409 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./src/gnuwin32/rui.c:1249 [error] - Memory leak: q
- ./src/gnuwin32/rui.c:1249 [error] - Memory leak: r
- ./src/gnuwin32/run.c:60 [error] - Memory leak: s
- ./src/library/grDevices/src/devPicTeX.c:501 [error] - Uninitialized variable: i
- ./src/main/character.c:536 [error] - Common realloc mistake: "pt" nulled but not freed upon failure
- ./src/main/connections.c:2966 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: ''.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'EOVERFLOW'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_CONFIG_H'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_GETTIMEOFDAY'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_LOCALE_H'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_LOCALE_H;HAVE_WCSFTIME;SUPPORT_MBCS'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PUTENV'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PUTENV_UNSET'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_PUTENV_UNSET2'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_SETENV'.
- ./src/main/datetime.c:134 [error] - Invalid number of character (() when these macros are defined: 'HAVE_STRINGS_H'.
- ./src/main/dcf.c:119 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/main/dcf.c:172 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/main/dounzip.c:930 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 931
- ./src/main/dounzip.c:1507 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1509
- ./src/main/envir.c:3444 [error] - Uninitialized variable: newsize
- ./src/main/envir.c:3446 [error] - Uninitialized variable: newsize
- ./src/main/evaljit1.c:36 [error] - syntax error
- ./src/main/gramRd.c:1501 [error] - Memory leak: yyptr
- ./src/main/qsort-body.c:107 [error] - Uninitialized variable: il
- ./src/main/qsort-body.c:108 [error] - Uninitialized variable: iu
- ./src/main/rlocale.c:267 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:268 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:269 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:270 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:271 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:272 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:273 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:274 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:275 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:276 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/rlocale.c:277 [error] - Dangerous usage of 'fromcode' (strncpy doesn't always 0-terminate it)
- ./src/main/scan.c:1546 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./src/modules/X11/rbitmap.c:333 [error] - Uninitialized variable: buffer
- ./src/modules/X11/rbitmap.c:336 [error] - Uninitialized variable: buffer
- ./src/modules/X11/rotated.c:869 [error] - Memory leak: item
- ./src/modules/X11/rotated.c:1473 [error] - Memory leak: xp_in
- ./src/modules/X11/rotated.c:933 [error] - Memory leak: item.corners_x
- ./src/modules/X11/rotated.c:942 [error] - Memory leak: item.corners_y
- ./src/modules/X11/rotated.c:2058 [error] - Memory leak: item
- ./src/modules/X11/rotated.c:2413 [error] - Memory leak: xp_in
- ./src/modules/X11/rotated.c:2120 [error] - Memory leak: item.corners_x
- ./src/modules/X11/rotated.c:2129 [error] - Memory leak: item.corners_y
- ./src/nmath/bessel_y.c:70 [error] - Memory leak: by
- ./src/unix/hpdlfcn.c:159 [error] - Memory leak: entry
- ./src/unix/sys-std.c:795 [error] - Invalid deallocation
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 23:58:42 +0000, based on results by cppcheck 1.46