2025-11-17 12:18 ftp://ftp.de.debian.org/debian/pool/main/c/cvs/cvs_1.12.13+real.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j90 platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.18.0 head-info: 2ad4620 (2025-11-14 19:45:56 +0100) count: 1846 1805 elapsed-time: 18.1 8.9 head-timing-info: old-timing-info: head results: cvs-1.12.13/lib/__fpending.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PENDING_OUTPUT_N_BYTES [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/startserver.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/startserver.c:77:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/chdir-long.c:43:0: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] cvs-1.12.13/lib/chdir-long.c:43:3: error: #error "compile this file only if your system defines PATH_MAX" [preprocessorErrorDirective] cvs-1.12.13/lib/dup2.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fd-safer.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/closeout.c:76:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:166:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:201:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/ftruncate.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:261:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getdelim.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getaddrinfo.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getlogin_r.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getaddrinfo.c:77:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getnline.c:32:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:258:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:287:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/startserver.c:46:22: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cvs-1.12.13/emx/filesubr.c:361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getpass.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:383:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:407:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/canonicalize.c:154:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getndelim2.c:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:446:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:550:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:634:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:671:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:784:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXNAMLEN [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/cmpbuf.c:35:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/lib/nanosleep.c:99:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:82:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/openat.c:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getlogin_r.c:46:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] cvs-1.12.13/lib/openat.c:113:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/pagealign_alloc.c:164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:300:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/openat.c:157:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:844:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/readlink.c:45:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/dir.c:92:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] cvs-1.12.13/lib/dup2.c:59:3: error: Returning/dereferencing 'desired_fd' after it is deallocated / released [deallocret] cvs-1.12.13/lib/dup2.c:55:3: note: Returning/dereferencing 'desired_fd' after it is deallocated / released cvs-1.12.13/lib/dup2.c:59:3: note: Returning/dereferencing 'desired_fd' after it is deallocated / released cvs-1.12.13/lib/getcwd.c:171:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/gettimeofday.c:60:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/lib/dirname.c:58:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] cvs-1.12.13/lib/dirname.c:57:23: note: Assuming allocation function fails cvs-1.12.13/lib/dirname.c:57:23: note: Assignment 'dir=xmalloc(length+append_dot+1)', assigned value is 0 cvs-1.12.13/lib/dirname.c:58:11: note: Null pointer dereference cvs-1.12.13/lib/gettimeofday.c:72:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/lib/dirname.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] cvs-1.12.13/lib/dirname.c:57:23: note: Assuming allocation function fails cvs-1.12.13/lib/dirname.c:57:23: note: Assignment 'dir=xmalloc(length+append_dot+1)', assigned value is 0 cvs-1.12.13/lib/dirname.c:61:3: note: Null pointer dereference cvs-1.12.13/lib/gettimeofday.c:95:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/diff/diff.c:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getaddrinfo.c:91:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cvs-1.12.13/lib/gettimeofday.c:117:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/diff/diff.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:120:7: style: Condition '!s' is always true [knownConditionTrueFalse] cvs-1.12.13/lib/error.c:107:19: note: Assignment 's=NULL', assigned value is 0 cvs-1.12.13/lib/error.c:120:7: note: Condition '!s' is always true cvs-1.12.13/lib/getaddrinfo.c:98:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cvs-1.12.13/diff/diff.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff.c:1001:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:284:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cvs-1.12.13/lib/basename.c:76:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/lib/sighandle.c:283:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/sighandle.c:388:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/filenamecat.c:78:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p_concat [nullPointerOutOfMemory] cvs-1.12.13/lib/filenamecat.c:75:28: note: Assuming allocation function fails cvs-1.12.13/lib/filenamecat.c:75:28: note: Assignment 'p_concat=xmalloc(dirlen+needs_separator+baselen+1)', assigned value is 0 cvs-1.12.13/lib/filenamecat.c:78:7: note: Null pointer dereference cvs-1.12.13/lib/setenv.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/asprintf.c:28:18: style:inconclusive: Function 'asprintf' argument 1 names different: declaration 'result' definition 'resultp'. [funcArgNamesDifferent] cvs-1.12.13/lib/vasprintf.h:52:29: note: Function 'asprintf' argument 1 names different: declaration 'result' definition 'resultp'. cvs-1.12.13/lib/asprintf.c:28:18: note: Function 'asprintf' argument 1 names different: declaration 'result' definition 'resultp'. cvs-1.12.13/lib/__fpending.c:29:19: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/sunos57-select.c:59:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/unsetenv.c:68:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/glob.c:211:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/strtol.c:297:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/basename.c:36:24: style:inconclusive: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. [funcArgNamesDifferent] cvs-1.12.13/lib/dirname.h:40:30: note: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. cvs-1.12.13/lib/basename.c:36:24: note: Function 'base_name' argument 1 names different: declaration 'file' definition 'name'. cvs-1.12.13/lib/glob.c:1046:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_ALTDIRFUNC [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/tempname.c:166:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/xgetcwd.c:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/basename.c:71:23: style:inconclusive: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. [funcArgNamesDifferent] cvs-1.12.13/lib/dirname.h:42:30: note: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. cvs-1.12.13/lib/basename.c:71:23: note: Function 'base_len' argument 1 names different: declaration 'file' definition 'name'. cvs-1.12.13/lib/glob.c:1074:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOESCAPE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/tempname.c:213:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/waitpid.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/xgethostname.c:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/filenamecat.c:45:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/lib/yesno.c:40:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch_loop.c:50:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regcomp.c:128:29: error: syntax error [syntaxError] cvs-1.12.13/lib/xreadlink.c:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch_loop.c:970:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/quotearg.c:124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/getpass.c:17:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYBOARD_ECHO_ON [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch_loop.c:1023:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/lstat.c:69:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new_file [nullPointerOutOfMemory] cvs-1.12.13/lib/lstat.c:68:22: note: Assuming allocation function fails cvs-1.12.13/lib/lstat.c:68:22: note: Assignment 'new_file=xmalloc(len+1+1)', assigned value is 0 cvs-1.12.13/lib/lstat.c:69:11: note: Null pointer dereference cvs-1.12.13/lib/quotearg.c:536:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/getpass.c:28:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEYBOARD_ECHO_OFF [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/lstat.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_file [nullPointerOutOfMemory] cvs-1.12.13/lib/lstat.c:68:22: note: Assuming allocation function fails cvs-1.12.13/lib/lstat.c:68:22: note: Assignment 'new_file=xmalloc(len+1+1)', assigned value is 0 cvs-1.12.13/lib/lstat.c:70:3: note: Null pointer dereference cvs-1.12.13/lib/quotearg.c:549:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/getpass.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/tcpip.h:127:0: error: #error Undefined version of TCP/IP specified [preprocessorErrorDirective] cvs-1.12.13/lib/lstat.c:71:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_file [nullPointerOutOfMemory] cvs-1.12.13/lib/lstat.c:68:22: note: Assuming allocation function fails cvs-1.12.13/lib/lstat.c:68:22: note: Assignment 'new_file=xmalloc(len+1+1)', assigned value is 0 cvs-1.12.13/lib/lstat.c:71:3: note: Null pointer dereference cvs-1.12.13/lib/quotearg.c:569:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/dirent.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HDIR_SYSTEM [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/tcpip.h:127:3: error: #error Undefined version of TCP/IP specified [preprocessorErrorDirective] cvs-1.12.13/lib/lstat.c:73:25: warning: If memory allocation fails, then there is a possible null pointer dereference: new_file [nullPointerOutOfMemory] cvs-1.12.13/lib/lstat.c:68:22: note: Assuming allocation function fails cvs-1.12.13/lib/lstat.c:68:22: note: Assignment 'new_file=xmalloc(len+1+1)', assigned value is 0 cvs-1.12.13/lib/lstat.c:73:25: note: Null pointer dereference cvs-1.12.13/lib/regex_internal.h:182:0: error: #error "Add case for new bitset_word size" [preprocessorErrorDirective] cvs-1.12.13/os2/rcmd.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.h:182:3: error: #error "Add case for new bitset_word size" [preprocessorErrorDirective] cvs-1.12.13/os2/pwd.c:181:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/rcmd.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/rcmd.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/dir.c:100:4: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] cvs-1.12.13/diff/dir.c:98:10: note: e is assigned 'errno' here. cvs-1.12.13/diff/dir.c:100:4: note: Variable 'errno' is assigned an expression that holds the same value. cvs-1.12.13/lib/gai_strerror.c:67:19: style:inconclusive: Function 'gai_strerror' argument 1 names different: declaration 'ecode' definition 'code'. [funcArgNamesDifferent] cvs-1.12.13/lib/getaddrinfo.h:91:38: note: Function 'gai_strerror' argument 1 names different: declaration 'ecode' definition 'code'. cvs-1.12.13/lib/gai_strerror.c:67:19: note: Function 'gai_strerror' argument 1 names different: declaration 'ecode' definition 'code'. cvs-1.12.13/os2/rcmd.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/waitpid.c:23:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_CHILD [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/filenamecat.c:65:48: style:inconclusive: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. [funcArgNamesDifferent] cvs-1.12.13/lib/filenamecat.h:21:54: note: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. cvs-1.12.13/lib/filenamecat.c:65:48: note: Function 'file_name_concat' argument 2 names different: declaration 'base' definition 'abase'. cvs-1.12.13/lib/mkdir.c:59:20: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_dir [nullPointerOutOfMemory] cvs-1.12.13/lib/mkdir.c:51:25: note: Assuming allocation function fails cvs-1.12.13/lib/mkdir.c:51:25: note: Assignment 'tmp_dir=xstrdup(dir)', assigned value is 0 cvs-1.12.13/lib/mkdir.c:59:20: note: Null pointer dereference cvs-1.12.13/os2/rcmd.c:73:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:189:12: style:inconclusive: Function 'error' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:43:24: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. cvs-1.12.13/lib/error.c:189:12: note: Function 'error' argument 1 names different: declaration '__status' definition 'status'. cvs-1.12.13/os2/popen.c:180:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN_FLAGS_NOINHERIT [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:189:24: style:inconclusive: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:43:38: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. cvs-1.12.13/lib/error.c:189:24: note: Function 'error' argument 2 names different: declaration '__errnum' definition 'errnum'. cvs-1.12.13/lib/time_r.c:50:35: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/os2/popen.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/alloca.c:101:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/error.c:189:44: style:inconclusive: Function 'error' argument 3 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:43:60: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. cvs-1.12.13/lib/error.c:189:44: note: Function 'error' argument 3 names different: declaration '__format' definition 'message'. cvs-1.12.13/lib/time_r.c:62:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/lib/error.c:233:20: style:inconclusive: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:46:32: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. cvs-1.12.13/lib/error.c:233:20: note: Function 'error_at_line' argument 1 names different: declaration '__status' definition 'status'. cvs-1.12.13/lib/time_r.c:68:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/lib/error.c:233:32: style:inconclusive: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:46:46: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. cvs-1.12.13/lib/error.c:233:32: note: Function 'error_at_line' argument 2 names different: declaration '__errnum' definition 'errnum'. cvs-1.12.13/lib/error.c:233:52: style:inconclusive: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:46:68: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. cvs-1.12.13/lib/error.c:233:52: note: Function 'error_at_line' argument 3 names different: declaration '__fname' definition 'file_name'. cvs-1.12.13/lib/error.c:234:22: style:inconclusive: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:47:20: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. cvs-1.12.13/lib/error.c:234:22: note: Function 'error_at_line' argument 4 names different: declaration '__lineno' definition 'line_number'. cvs-1.12.13/lib/gettimeofday.c:100:3: style: Variable '*localtime_buffer_addr' is assigned an expression that holds the same value. [redundantAssignment] cvs-1.12.13/lib/gettimeofday.c:98:8: note: save is assigned '*localtime_buffer_addr' here. cvs-1.12.13/lib/gettimeofday.c:100:3: note: Variable '*localtime_buffer_addr' is assigned an expression that holds the same value. cvs-1.12.13/lib/error.c:234:47: style:inconclusive: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. [funcArgNamesDifferent] cvs-1.12.13/lib/error.h:47:42: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. cvs-1.12.13/lib/error.c:234:47: note: Function 'error_at_line' argument 5 names different: declaration '__format' definition 'message'. cvs-1.12.13/lib/getopt.c:270:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_IN_ORDER [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt.c:417:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERMUTE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:52:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:120:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/getopt1.c:52:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/pagealign_alloc.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] cvs-1.12.13/lib/pagealign_alloc.c:89:47: note: Assuming allocation function fails cvs-1.12.13/lib/pagealign_alloc.c:89:25: note: Assignment 'new_node=(struct memnode_t*)xmalloc(sizeof(struct memnode_t))', assigned value is 0 cvs-1.12.13/lib/pagealign_alloc.c:90:3: note: Null pointer dereference cvs-1.12.13/lib/getopt1.c:52:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:120:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/getopt1.c:52:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/pagealign_alloc.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] cvs-1.12.13/lib/pagealign_alloc.c:89:47: note: Assuming allocation function fails cvs-1.12.13/lib/pagealign_alloc.c:89:25: note: Assignment 'new_node=(struct memnode_t*)xmalloc(sizeof(struct memnode_t))', assigned value is 0 cvs-1.12.13/lib/pagealign_alloc.c:91:3: note: Null pointer dereference cvs-1.12.13/lib/xsize.h:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:52:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:121:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. cvs-1.12.13/lib/getopt1.c:52:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. cvs-1.12.13/lib/pagealign_alloc.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] cvs-1.12.13/lib/pagealign_alloc.c:89:47: note: Assuming allocation function fails cvs-1.12.13/lib/pagealign_alloc.c:89:25: note: Assignment 'new_node=(struct memnode_t*)xmalloc(sizeof(struct memnode_t))', assigned value is 0 cvs-1.12.13/lib/pagealign_alloc.c:92:3: note: Null pointer dereference cvs-1.12.13/lib/printf-parse.c:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:53:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:122:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cvs-1.12.13/lib/getopt1.c:53:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cvs-1.12.13/os2/run.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getlogin_r.c:42:9: style: Variable 'n' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/getopt1.c:53:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:122:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cvs-1.12.13/lib/getopt1.c:53:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cvs-1.12.13/os2/run.c:353:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACE_FUNCTION [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch_loop.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_CASEFOLD [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getdelim.c:47:59: style:inconclusive: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. [funcArgNamesDifferent] cvs-1.12.13/lib/getdelim.h:27:67: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. cvs-1.12.13/lib/getdelim.c:47:59: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. cvs-1.12.13/lib/getopt1.c:54:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:123:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. cvs-1.12.13/lib/getopt1.c:54:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. cvs-1.12.13/os2/filesubr.c:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch_loop.c:1098:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_FILE_NAME [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:75:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:125:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/getopt1.c:75:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/regex_internal.c:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:196:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:390:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/fnmatch.c:370:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:75:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:125:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/getopt1.c:75:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/regex_internal.c:71:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:433:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:75:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:126:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. cvs-1.12.13/lib/getopt1.c:75:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. cvs-1.12.13/lib/regex_internal.c:153:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/rename.c:52:21: warning: If memory allocation fails, then there is a possible null pointer dereference: src_temp [nullPointerOutOfMemory] cvs-1.12.13/lib/rename.c:46:26: note: Assuming allocation function fails cvs-1.12.13/lib/rename.c:46:26: note: Assignment 'src_temp=xstrdup(src)', assigned value is 0 cvs-1.12.13/lib/rename.c:52:21: note: Null pointer dereference cvs-1.12.13/os2/filesubr.c:254:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:472:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:76:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:127:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cvs-1.12.13/lib/getopt1.c:76:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. cvs-1.12.13/lib/regex_internal.c:577:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:493:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:76:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:128:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cvs-1.12.13/lib/getopt1.c:76:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. cvs-1.12.13/lib/regex_internal.c:835:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:339:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:566:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getopt1.c:77:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:129:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. cvs-1.12.13/lib/getopt1.c:77:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. cvs-1.12.13/lib/regex_internal.c:876:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:370:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:888:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:903:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:936:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:524:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:960:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:683:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/analyze.c:851:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:1058:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:725:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:1110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:811:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_ARCHIVED [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getaddrinfo.c:65:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regex_internal.c:1203:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:922:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:101:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/lib/getaddrinfo.c:66:19: style: Variable 'he' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regex_internal.c:1254:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:632:14: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] cvs-1.12.13/lib/regex_internal.c:1331:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/checkin.c:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:714:38: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cvs-1.12.13/lib/regex_internal.c:1395:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regex_internal.c:1446:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:57:16: warning: Either the condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/emx/filesubr.c:55:51: note: Assuming that condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is not redundant cvs-1.12.13/emx/filesubr.c:57:16: note: Invalid argument cvs-1.12.13/lib/regex_internal.c:1485:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/create_adm.c:70:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:81:28: warning: Either the condition 'n==-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/emx/filesubr.c:70:12: note: Assuming that condition 'n==-1' is not redundant cvs-1.12.13/emx/filesubr.c:81:28: note: Invalid argument cvs-1.12.13/lib/regex_internal.c:1525:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/annotate.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/alloca.c:135:8: style: union member 'hdr::align' is never used. [unusedStructMember] cvs-1.12.13/lib/regex_internal.c:1575:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/sighandle.c:290:27: style: Condition 'this==(struct SIG_hlist*)NULL' is always true [knownConditionTrueFalse] cvs-1.12.13/lib/sighandle.c:262:11: note: Assuming that condition 'this==(struct SIG_hlist*)NULL' is not redundant cvs-1.12.13/lib/sighandle.c:290:27: note: Condition 'this==(struct SIG_hlist*)NULL' is always true cvs-1.12.13/src/annotate.c:217:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/cvsrc.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/pagealign_alloc.c:188:23: style:inconclusive: Function 'pagealign_free' argument 1 names different: declaration 'ptr' definition 'aligned_ptr'. [funcArgNamesDifferent] cvs-1.12.13/lib/pagealign_alloc.h:40:35: note: Function 'pagealign_free' argument 1 names different: declaration 'ptr' definition 'aligned_ptr'. cvs-1.12.13/lib/pagealign_alloc.c:188:23: note: Function 'pagealign_free' argument 1 names different: declaration 'ptr' definition 'aligned_ptr'. cvs-1.12.13/src/error.c:111:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/pagealign_alloc.c:100:20: style: Parameter 'aligned_ptr' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/add.c:76:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/add.c:764:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/add.c:908:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:323:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_PERIOD [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:441:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:279:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/error.c:226:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] cvs-1.12.13/lib/stripslash.c:33:31: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/xreadlink.c:66:35: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cvs-1.12.13/lib/xreadlink.c:65:30: note: Assuming allocation function fails cvs-1.12.13/lib/xreadlink.c:65:30: note: Assignment 'buffer=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/lib/xreadlink.c:66:35: note: Null pointer dereference cvs-1.12.13/src/filesubr.c:294:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/ifdef.c:149:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/src/filesubr.c:319:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/ifdef.c:422:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/lib/getdelim.c:51:11: style: Unused variable: len [unusedVariable] cvs-1.12.13/src/filesubr.c:348:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/no_diff.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/ifdef.c:427:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/lib/getdelim.c:74:13: style: Unused variable: t [unusedVariable] cvs-1.12.13/src/admin.c:232:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/getpass.c:89:18: style: Unused variable: s [unusedVariable] cvs-1.12.13/lib/vasprintf.c:30:19: style:inconclusive: Function 'vasprintf' argument 1 names different: declaration 'result' definition 'resultp'. [funcArgNamesDifferent] cvs-1.12.13/lib/vasprintf.h:54:30: note: Function 'vasprintf' argument 1 names different: declaration 'result' definition 'resultp'. cvs-1.12.13/lib/vasprintf.c:30:19: note: Function 'vasprintf' argument 1 names different: declaration 'result' definition 'resultp'. cvs-1.12.13/src/filesubr.c:434:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/kerberos4-client.c:49:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/canonicalize.c:186:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rname [nullPointerOutOfMemory] cvs-1.12.13/lib/canonicalize.c:184:23: note: Assuming allocation function fails cvs-1.12.13/lib/canonicalize.c:184:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 cvs-1.12.13/lib/canonicalize.c:186:7: note: Null pointer dereference cvs-1.12.13/lib/getpass.c:89:21: style: Unused variable: t [unusedVariable] cvs-1.12.13/src/filesubr.c:460:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/canonicalize.c:286:29: warning: If memory allocation fails, then there is a possible null pointer dereference: extra_buf [nullPointerOutOfMemory] cvs-1.12.13/lib/canonicalize.c:276:25: note: Assuming allocation function fails cvs-1.12.13/lib/canonicalize.c:276:25: note: Assignment 'extra_buf=xmalloc(extra_len)', assigned value is 0 cvs-1.12.13/lib/canonicalize.c:286:29: note: Null pointer dereference cvs-1.12.13/lib/getaddrinfo.c:120:36: error: Uninitialized variable: sinlen [uninitvar] cvs-1.12.13/src/filesubr.c:575:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:679:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/canonicalize.c:185:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/lib/canonicalize.c:184:23: note: Assuming allocation function fails cvs-1.12.13/lib/canonicalize.c:184:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 cvs-1.12.13/lib/canonicalize.c:185:27: note: Null pointer addition cvs-1.12.13/src/filesubr.c:733:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/canonicalize.c:187:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/lib/canonicalize.c:184:23: note: Assuming allocation function fails cvs-1.12.13/lib/canonicalize.c:184:23: note: Assignment 'rname=xmalloc(256)', assigned value is 0 cvs-1.12.13/lib/canonicalize.c:187:20: note: Null pointer addition cvs-1.12.13/src/recurse.c:776:4: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it. [unknownMacro] cvs-1.12.13/lib/glob.c:1039:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/lib/glob.c:1091:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/src/entries.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filutils.c:162:1: portability: Omitted return type of function 'directory_file_name' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cvs-1.12.13/lib/getaddrinfo.c:67:10: style: Variable 'sinlen' is not assigned a value. [unassignedVariable] cvs-1.12.13/lib/glob.c:1111:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/src/entries.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/repos.c:56:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/getpass.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sys_command [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/glob.c:1209:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/src/entries.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ignore.c:154:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/glob.c:1234:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/src/entries.c:232:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ignore.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/entries.c:378:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/xmalloc.c:63:17: style:inconclusive: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] cvs-1.12.13/lib/xalloc.h:48:23: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. cvs-1.12.13/lib/xmalloc.c:63:17: note: Function 'xmalloc' argument 1 names different: declaration 's' definition 'n'. cvs-1.12.13/src/entries.c:473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pc.c:11:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cvs-1.12.13/lib/xmalloc.c:89:27: style:inconclusive: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. [funcArgNamesDifferent] cvs-1.12.13/lib/xalloc.h:52:33: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. cvs-1.12.13/lib/xmalloc.c:89:27: note: Function 'xrealloc' argument 2 names different: declaration 's' definition 'n'. cvs-1.12.13/src/diff.c:314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/entries.c:660:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pc.c:25:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/xmalloc.c:238:22: style:inconclusive: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] cvs-1.12.13/lib/xalloc.h:57:28: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. cvs-1.12.13/lib/xmalloc.c:238:22: note: Function 'xstrdup' argument 1 names different: declaration 'str' definition 'string'. cvs-1.12.13/src/diff.c:669:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/entries.c:762:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/remove.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pipe.c:231:1: portability: Omitted return type of function 'pipe_unset_fd_jmpbuf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cvs-1.12.13/src/entries.c:801:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:86:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOPEN_BINARY_READ [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/remove.c:165:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/ndir.c:129:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/entries.c:840:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:585:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/ndir.c:227:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RMS$_NMF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/checkout.c:156:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/cvsrc.c:123:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/src/entries.c:997:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/rcmd.c:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/checkout.c:444:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/cvsrc.c:125:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/vms/filesubr.c:32:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/rcmd.c:66:20: style:inconclusive: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. [funcArgNamesDifferent] cvs-1.12.13/os2/rcmd.h:35:31: note: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. cvs-1.12.13/os2/rcmd.c:66:20: note: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. cvs-1.12.13/src/annotate.c:66:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/annotate.c:62:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/annotate.c:66:25: note: Invalid argument cvs-1.12.13/src/checkout.c:578:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/release.c:102:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:248:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/startserver.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:331:13: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/emx/filesubr.c:326:25: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:326:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:331:13: note: Null pointer dereference cvs-1.12.13/os2/rcmd.c:67:22: style:inconclusive: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. [funcArgNamesDifferent] cvs-1.12.13/os2/rcmd.h:36:19: note: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. cvs-1.12.13/os2/rcmd.c:67:22: note: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. cvs-1.12.13/src/checkout.c:976:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/release.c:156:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:262:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:332:13: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/emx/filesubr.c:326:25: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:326:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:332:13: note: Null pointer dereference cvs-1.12.13/os2/rcmd.c:68:13: style:inconclusive: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. [funcArgNamesDifferent] cvs-1.12.13/os2/rcmd.h:37:10: note: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. cvs-1.12.13/os2/rcmd.c:68:13: note: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. cvs-1.12.13/src/checkout.c:1186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:291:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:337:29: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/emx/filesubr.c:326:25: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:326:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:337:29: note: Null pointer dereference cvs-1.12.13/lib/vasnprintf.c:121:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/rcmd.c:69:13: style:inconclusive: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. [funcArgNamesDifferent] cvs-1.12.13/os2/rcmd.h:38:10: note: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. cvs-1.12.13/os2/rcmd.c:69:13: note: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. cvs-1.12.13/src/checkout.c:1233:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/edit.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcscmds.c:303:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/run.c:164:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qstat [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:313:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/utime.c:14:1: portability: Omitted return type of function 'utime' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] cvs-1.12.13/emx/filesubr.c:590:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] cvs-1.12.13/emx/filesubr.c:575:17: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:575:17: note: Assignment 'buf1=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:590:19: note: Null pointer dereference cvs-1.12.13/os2/rcmd.c:70:13: style:inconclusive: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. [funcArgNamesDifferent] cvs-1.12.13/os2/rcmd.h:39:10: note: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. cvs-1.12.13/os2/rcmd.c:70:13: note: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. cvs-1.12.13/src/edit.c:163:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/main.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMPDIR_DFLT [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcscmds.c:392:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/run.c:406:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/version.c:59:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:367:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pipe.c:115:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff3.c:280:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:590:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf2 [nullPointerOutOfMemory] cvs-1.12.13/emx/filesubr.c:576:17: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:576:17: note: Assignment 'buf2=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:590:25: note: Null pointer dereference cvs-1.12.13/lib/strtol.c:364:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] cvs-1.12.13/lib/strtol.c:357:11: note: Assignment 'end=NULL', assigned value is 0 cvs-1.12.13/lib/strtol.c:366:13: note: Assuming that condition 's==end' is not redundant cvs-1.12.13/lib/strtol.c:338:10: note: Assignment 'save=s', assigned value is 0 cvs-1.12.13/lib/strtol.c:338:8: note: save is assigned 's' here. cvs-1.12.13/lib/strtol.c:364:13: note: Null pointer dereference cvs-1.12.13/src/edit.c:414:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/main.c:580:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcscmds.c:578:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_quoting_style [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/run.c:468:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:403:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pipe.c:157:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff3.c:1057:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l2 [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:635:21: warning: Either the condition 'retval==NULL' is redundant or there is possible null pointer dereference: retval. [nullPointerRedundantCheck] cvs-1.12.13/emx/filesubr.c:633:16: note: Assuming that condition 'retval==NULL' is not redundant cvs-1.12.13/emx/filesubr.c:635:21: note: Null pointer dereference cvs-1.12.13/src/edit.c:468:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/main.c:1459:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/run.c:548:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:435:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pipe.c:278:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DVI$_DEVNAM [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff3.c:1465:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rev_mapping [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/getpass.c:33:16: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:625:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ls.c:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:486:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/JmgStat.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_DRIVE [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff3.c:1605:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rev_mapping [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:337:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/emx/filesubr.c:326:25: note: Assuming allocation function fails cvs-1.12.13/emx/filesubr.c:326:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/emx/filesubr.c:337:19: note: Null pointer addition cvs-1.12.13/os2/pwd.c:64:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:732:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ls.c:350:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_SYNTAX_EGREP [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:575:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/vmsmunch.c:160:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAM$C_MAXRSS [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/JmgStat.c:79:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/diff3.c:1732:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rev_mapping [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/pwd.c:80:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:772:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ls.c:551:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/root.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:656:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMS_filename_classes [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/piped_child.c:70:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SS$_NORMAL [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/JmgStat.c:173:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/pwd.c:167:19: style: Parameter 'table' can be declared as const array [constParameter] cvs-1.12.13/src/edit.c:848:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ls.c:634:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/parseinfo.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/root.c:161:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:706:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/piped_child.c:107:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO$_WRITEOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/ndir.c:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_PATH [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/pwd.c:169:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:1020:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:217:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/parseinfo.c:229:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:831:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_tmpnam [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/piped_child.c:136:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DVI$_DEVNAM [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:101:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/dirent.c:92:41: style: Local variable 'p' shadows outer variable [shadowVariable] cvs-1.12.13/os2/dirent.c:35:33: note: Shadowed declaration cvs-1.12.13/os2/dirent.c:92:41: note: Shadow variable cvs-1.12.13/src/edit.c:1194:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:321:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/parseinfo.c:436:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:882:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/piped_child.c:353:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IO$_WRITEOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:395:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _MAX_PATH [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:836:19: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] cvs-1.12.13/src/lock.c:550:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/rcmd.c:43:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/kerberos4-client.c:62:18: warning: Either the condition 's<0' is redundant or connect() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/kerberos4-client.c:48:11: note: Assuming that condition 's<0' is not redundant cvs-1.12.13/src/kerberos4-client.c:62:18: note: Invalid argument cvs-1.12.13/src/lock.c:611:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/logmsg.c:217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/pwd.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/rcmd.c:75:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:762:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/logmsg.c:425:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/status.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/rcmd.c:135:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:1054:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/logmsg.c:539:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:49:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/rcmd.c:183:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/startserver.c:60:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPPORT_CMDSERVER [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/unistd.c:24:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:1146:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/logmsg.c:830:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filutils.c:132:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable copy_len [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/startserver.c:88:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/waitpid.c:21:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _WAIT_CHILD [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/lock.c:1269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/logmsg.c:889:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/mkmodules.c:698:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filutils.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cc$rms_fab [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:309:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/dirent.c:31:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/mkmodules.c:844:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/wrapper.c:262:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:338:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:156:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/dirent.c:141:19: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/mkmodules.c:914:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7658:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:371:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noexec [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:325:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/mkmodules.c:1044:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/patch.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7722:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:415:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWRITE [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:383:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DUPLICATE_SAME_ACCESS [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/mkmodules.c:1110:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/patch.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7806:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:446:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:433:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:140:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/mkmodules.c:1186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/patch.c:505:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7847:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:488:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STARTF_USESTDHANDLES [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:203:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/patch.c:779:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7880:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/filesubr.c:494:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:567:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:233:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/inflate86/inffas86.c:1122:0: error: #error "x86 architecture not defined" [preprocessorErrorDirective] cvs-1.12.13/src/server.c:7981:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/ndir.c:239:23: portability: Undefined behaviour, pointer arithmetic 'rbuf-1' is out of bounds. [pointerOutOfBounds] cvs-1.12.13/vms/startserver.c:31:20: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cvs-1.12.13/windows-NT/filesubr.c:534:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:625:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:278:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/inflate86/inffas86.c:1122:2: error: #error "x86 architecture not defined" [preprocessorErrorDirective] cvs-1.12.13/windows-NT/filesubr.c:646:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/run.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/test.cpp:8:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/rcmd.c:25:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cvs-1.12.13/windows-NT/filesubr.c:716:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/annotate.c:176:17: warning: If memory allocation fails, then there is a possible null pointer dereference: where [nullPointerOutOfMemory] cvs-1.12.13/src/annotate.c:174:18: note: Assuming allocation function fails cvs-1.12.13/src/annotate.c:174:18: note: Assignment 'where=xmalloc(strlen(argv[0])+(mfile==NULL?0:strlen(mfile)+1)+1)', assigned value is 0 cvs-1.12.13/src/annotate.c:176:17: note: Null pointer dereference cvs-1.12.13/src/history.c:389:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/import.c:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/rcmd.c:38:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cvs-1.12.13/windows-NT/filesubr.c:917:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/history.c:429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/import.c:462:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/modules.c:80:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/history.c:811:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/import.c:598:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/modules.c:292:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/create_adm.c:155:17: warning: Either the condition 'fout==NULL' is redundant or there is possible null pointer dereference: fout. [nullPointerRedundantCheck] cvs-1.12.13/src/create_adm.c:148:14: note: Assuming that condition 'fout==NULL' is not redundant cvs-1.12.13/src/create_adm.c:155:17: note: Null pointer dereference cvs-1.12.13/src/history.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/import.c:709:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/modules.c:950:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:120:23: error: Returning object that will be invalid when returning. [returnDanglingLifetime] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:120:24: note: Passed to constructor of 'gzomanip < int >'. cvs-1.12.13/zlib/contrib/iostream/zfstream.h:120:23: note: Returning object that will be invalid when returning. cvs-1.12.13/zlib/contrib/iostream3/test.cc:19:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/import.c:784:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/infback9/inftree9.c:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:125:23: error: Returning object that will be invalid when returning. [returnDanglingLifetime] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:125:24: note: Passed to constructor of 'gzomanip < int >'. cvs-1.12.13/zlib/contrib/iostream/zfstream.h:125:23: note: Returning object that will be invalid when returning. cvs-1.12.13/zlib/contrib/minizip/ioapi.h:38:1: debug: Failed to parse 'typedef voidpf ( * open_file_func ) OF ( ( voidpf opaque , const char * filename , int mode ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/src/import.c:827:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:39:1: debug: Failed to parse 'typedef uLong ( * read_file_func ) OF ( ( voidpf opaque , voidpf stream , void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/os2/popen.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/os2/popen.c:49:37: note: Assuming allocation function fails cvs-1.12.13/os2/popen.c:49:9: note: Assignment 'new=(struct pid_list*)xmalloc(sizeof(*new))', assigned value is 0 cvs-1.12.13/os2/popen.c:51:3: note: Null pointer dereference cvs-1.12.13/src/import.c:1147:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:27:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:116:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:40:1: debug: Failed to parse 'typedef uLong ( * write_file_func ) OF ( ( voidpf opaque , voidpf stream , const void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/os2/popen.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/os2/popen.c:49:37: note: Assuming allocation function fails cvs-1.12.13/os2/popen.c:49:9: note: Assignment 'new=(struct pid_list*)xmalloc(sizeof(*new))', assigned value is 0 cvs-1.12.13/os2/popen.c:52:3: note: Null pointer dereference cvs-1.12.13/src/import.c:1615:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:69:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:124:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:41:1: debug: Failed to parse 'typedef long ( * tell_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/os2/popen.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/os2/popen.c:49:37: note: Assuming allocation function fails cvs-1.12.13/os2/popen.c:49:9: note: Assignment 'new=(struct pid_list*)xmalloc(sizeof(*new))', assigned value is 0 cvs-1.12.13/os2/popen.c:53:3: note: Null pointer dereference cvs-1.12.13/src/import.c:1644:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/watch.c:267:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:265:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:42:1: debug: Failed to parse 'typedef long ( * seek_file_func ) OF ( ( voidpf opaque , voidpf stream , uLong offset , int origin ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/src/import.c:1712:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/watch.c:501:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:138:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:273:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:43:1: debug: Failed to parse 'typedef int ( * close_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/emx/filesubr.c:306:11: style: Variable 'attrib_cmd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/filesubr.c:95:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:175:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:17:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/ioapi.h:44:1: debug: Failed to parse 'typedef int ( * testerror_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] cvs-1.12.13/emx/filesubr.c:307:11: style: Variable 'attrib_option' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/filesubr.c:687:14: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] cvs-1.12.13/src/commit.c:372:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:310:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:1880:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:107:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:227:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:79:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GENERIC_READ [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:445:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/filesubr.c:51:16: warning: Either the condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/os2/filesubr.c:49:51: note: Assuming that condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is not redundant cvs-1.12.13/os2/filesubr.c:51:16: note: Invalid argument cvs-1.12.13/src/commit.c:1929:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:813:38: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cvs-1.12.13/src/remove.c:58:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/remove.c:54:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/remove.c:58:25: note: Invalid argument cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:246:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:131:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_HANDLE_EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:628:11: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/filesubr.c:75:28: warning: Either the condition 'n==-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/os2/filesubr.c:64:12: note: Assuming that condition 'n==-1' is not redundant cvs-1.12.13/os2/filesubr.c:75:28: note: Invalid argument cvs-1.12.13/src/commit.c:2026:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:264:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:172:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:155:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_HANDLE_EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/emx/filesubr.c:707:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/error.c:135:9: style: Variable 'buf' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/src/error.c:128:9: note: buf is assigned cvs-1.12.13/src/error.c:135:9: note: buf is overwritten cvs-1.12.13/src/filesubr.c:68:13: warning: Either the condition '(fdin=open(from,O_RDONLY))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/filesubr.c:66:37: note: Assuming that condition '(fdin=open(from,O_RDONLY))<0' is not redundant cvs-1.12.13/src/filesubr.c:68:13: note: Invalid argument cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:273:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:192:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:174:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:188:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/glob.c:1275:9: style: Local variable 'save' shadows outer variable [shadowVariable] cvs-1.12.13/lib/glob.c:1072:7: note: Shadowed declaration cvs-1.12.13/lib/glob.c:1275:9: note: Shadow variable cvs-1.12.13/src/filesubr.c:91:25: warning: Either the condition 'n==-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/filesubr.c:80:9: note: Assuming that condition 'n==-1' is not redundant cvs-1.12.13/src/filesubr.c:91:25: note: Invalid argument cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:234:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:201:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILE_CURRENT [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:294:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:401:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/startserver.c:57:22: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:314:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:412:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/untgz/untgz.c:156:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/pc.c:57:23: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] cvs-1.12.13/vms/pc.c:32:16: note: Assuming allocation function fails cvs-1.12.13/vms/pc.c:32:16: note: Assignment 'in=fdopen(fromfd,"r")', assigned value is 0 cvs-1.12.13/vms/pc.c:57:23: note: Null pointer dereference cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:423:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:135:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/untgz/untgz.c:356:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:134:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:134:7: note: Null pointer dereference cvs-1.12.13/src/checkin.c:29:24: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/subr.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:456:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/untgz/untgz.c:496:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:135:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:135:7: note: Null pointer dereference cvs-1.12.13/src/subr.c:589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:467:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/untgz/untgz.c:595:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:136:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:136:7: note: Null pointer dereference cvs-1.12.13/src/release.c:157:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/release.c:154:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/release.c:157:25: note: Invalid argument cvs-1.12.13/src/subr.c:631:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream3/zfstream.cc:478:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/untgz/untgz.c:662:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:137:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:137:7: note: Null pointer dereference cvs-1.12.13/lib/glob.c:1173:20: style: Variable 'd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:1805:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:138:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:138:7: note: Null pointer dereference cvs-1.12.13/src/subr.c:1824:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:139:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/diff/util.c:133:48: note: Assuming allocation function fails cvs-1.12.13/diff/util.c:133:25: note: Assignment 'new=(struct msg*)xmalloc(sizeof(struct msg))', assigned value is 0 cvs-1.12.13/diff/util.c:139:7: note: Null pointer dereference cvs-1.12.13/src/annotate.c:256:20: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/annotate.c:256:20: note: Shadow variable cvs-1.12.13/src/subr.c:1899:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/misc.c:49:12: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] cvs-1.12.13/vms/misc.c:48:32: note: Assuming allocation function fails cvs-1.12.13/vms/misc.c:48:15: note: Assignment 'dst=(char*)xmalloc(len+1)', assigned value is 0 cvs-1.12.13/vms/misc.c:49:12: note: Null pointer dereference cvs-1.12.13/os2/run.c:89:19: warning: If memory allocation fails, then there is a possible null pointer dereference: s++ [nullPointerOutOfMemory] cvs-1.12.13/os2/run.c:79:24: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:79:24: note: Assignment 'run_prog=xstrdup(prog)', assigned value is 0 cvs-1.12.13/os2/run.c:81:9: note: Assignment 's=run_prog', assigned value is 0 cvs-1.12.13/os2/run.c:89:19: note: Null pointer dereference cvs-1.12.13/src/subr.c:1925:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/misc.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] cvs-1.12.13/vms/misc.c:48:32: note: Assuming allocation function fails cvs-1.12.13/vms/misc.c:48:15: note: Assignment 'dst=(char*)xmalloc(len+1)', assigned value is 0 cvs-1.12.13/vms/misc.c:50:3: note: Null pointer dereference cvs-1.12.13/vms/pipe.c:178:20: style:inconclusive: Boolean expression 'STS$M_SUCCESS!=STS$M_SUCCESS' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] cvs-1.12.13/zlib/examples/fitblk.c:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:149:10: warning: If memory allocation fails, then there is a possible null pointer dereference: scan++ [nullPointerOutOfMemory] cvs-1.12.13/os2/run.c:146:26: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:146:26: note: Assignment 'copy=xmalloc(s_len+3)', assigned value is 0 cvs-1.12.13/os2/run.c:147:16: note: scan is assigned 'copy' here. cvs-1.12.13/os2/run.c:149:10: note: Null pointer dereference cvs-1.12.13/windows-NT/rcmd.c:50:29: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] cvs-1.12.13/zlib/examples/fitblk.c:158:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/zpipe.c:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:339:13: warning: If memory allocation fails, then there is a possible null pointer dereference: requoted [nullPointerOutOfMemory] cvs-1.12.13/os2/run.c:336:30: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:336:30: note: Assignment 'requoted=xmalloc(strlen(cmd)+1)', assigned value is 0 cvs-1.12.13/os2/run.c:339:13: note: Null pointer dereference cvs-1.12.13/zlib/examples/zpipe.c:188:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/run.c:340:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cvs-1.12.13/os2/run.c:336:30: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:336:30: note: Assignment 'requoted=xmalloc(strlen(cmd)+1)', assigned value is 0 cvs-1.12.13/os2/run.c:337:15: note: Assignment 'p=requoted', assigned value is 0 cvs-1.12.13/os2/run.c:340:25: note: Null pointer dereference cvs-1.12.13/src/repos.c:88:44: warning: Either the condition 'fpin==NULL' is redundant or there is possible null pointer dereference: fpin. [nullPointerRedundantCheck] cvs-1.12.13/src/repos.c:54:14: note: Assuming that condition 'fpin==NULL' is not redundant cvs-1.12.13/src/repos.c:88:44: note: Null pointer dereference cvs-1.12.13/src/cvsrc.c:35:11: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/run.c:89:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/os2/run.c:79:24: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:79:24: note: Assignment 'run_prog=xstrdup(prog)', assigned value is 0 cvs-1.12.13/os2/run.c:81:9: note: Assignment 's=run_prog', assigned value is 0 cvs-1.12.13/os2/run.c:89:19: note: Null pointer addition cvs-1.12.13/src/cvsrc.c:43:11: style: Variable 'optstart' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/getcwd.c:202:22: style: Variable 'd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/run.c:149:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/os2/run.c:146:26: note: Assuming allocation function fails cvs-1.12.13/os2/run.c:146:26: note: Assignment 'copy=xmalloc(s_len+3)', assigned value is 0 cvs-1.12.13/os2/run.c:147:16: note: scan is assigned 'copy' here. cvs-1.12.13/os2/run.c:149:10: note: Null pointer addition cvs-1.12.13/src/annotate.c:256:11: style: Variable 'expand' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/tag.c:124:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:162:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/tag.c:488:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:837:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/infback9/infback9.c:27:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIB_VERSION [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/tag.c:1476:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:969:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/infback9/infback9.c:289:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/zran.c:359:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/tag.c:1545:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBM_REPLACE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:1048:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/infback9/infback9.c:606:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/filesubr.c:45:33: style: Condition '(rsize=islink(from))>0' is always false [knownConditionTrueFalse] cvs-1.12.13/src/filesubr.c:138:23: note: Assignment 'retsize=0', assigned value is 0 cvs-1.12.13/src/filesubr.c:45:25: note: Calling function 'islink' returns 0 cvs-1.12.13/src/filesubr.c:45:33: note: Condition '(rsize=islink(from))>0' is always false cvs-1.12.13/src/tag.c:1666:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:1083:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzjoin.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:65:7: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] cvs-1.12.13/diff/util.c:58:9: note: e is assigned 'errno' here. cvs-1.12.13/diff/util.c:65:7: note: Variable 'errno' is assigned an expression that holds the same value. cvs-1.12.13/src/filesubr.c:53:18: style: Condition 'isdevice(from)' is always false [knownConditionTrueFalse] cvs-1.12.13/src/filesubr.c:53:18: note: Calling function 'isdevice' returns 0 cvs-1.12.13/src/filesubr.c:53:18: note: Condition 'isdevice(from)' is always false cvs-1.12.13/src/update.c:1166:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzjoin.c:107:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:1221:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzappend.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzjoin.c:437:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/update.c:1919:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzappend.c:268:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcscmds.c:435:21: style: Expression is always true because 'else if' condition is opposite to previous condition at line 430. [multiCondition] cvs-1.12.13/src/rcscmds.c:430:16: note: first condition cvs-1.12.13/src/rcscmds.c:435:21: note: else if condition is opposite to first condition cvs-1.12.13/src/update.c:2274:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gzappend.c:395:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/hash.c:72:10: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] cvs-1.12.13/src/hash.c:71:17: note: Assuming allocation function fails cvs-1.12.13/src/hash.c:71:17: note: Assignment 'list=xmalloc(sizeof(struct List))', assigned value is 0 cvs-1.12.13/src/hash.c:72:10: note: Null pointer dereference cvs-1.12.13/src/release.c:262:22: style: Condition 'line_length<0' is always true [knownConditionTrueFalse] cvs-1.12.13/src/release.c:256:66: note: Assuming that condition '(line_length=getline(&line,&line_allocated,fp))>=0' is not redundant cvs-1.12.13/src/release.c:262:22: note: Condition 'line_length<0' is always true cvs-1.12.13/os2/run.c:248:11: style: Variable 'sain' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/os2/run.c:247:10: note: sain is assigned cvs-1.12.13/os2/run.c:248:11: note: sain is overwritten cvs-1.12.13/src/hash.c:74:2: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] cvs-1.12.13/src/hash.c:71:17: note: Assuming allocation function fails cvs-1.12.13/src/hash.c:71:17: note: Assignment 'list=xmalloc(sizeof(struct List))', assigned value is 0 cvs-1.12.13/src/hash.c:74:2: note: Null pointer dereference cvs-1.12.13/src/hash.c:201:13: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cvs-1.12.13/src/hash.c:197:14: note: Assuming allocation function fails cvs-1.12.13/src/hash.c:197:14: note: Assignment 'p=xmalloc(sizeof(struct Node))', assigned value is 0 cvs-1.12.13/src/hash.c:201:13: note: Null pointer dereference cvs-1.12.13/windows-NT/woe32.c:329:12: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:124:7: warning: Return value of function ::gzread() is not used. [ignoredReturnValue] cvs-1.12.13/src/hash.c:202:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cvs-1.12.13/src/hash.c:197:14: note: Assuming allocation function fails cvs-1.12.13/src/hash.c:197:14: note: Assignment 'p=xmalloc(sizeof(struct Node))', assigned value is 0 cvs-1.12.13/src/hash.c:202:5: note: Null pointer dereference cvs-1.12.13/zlib/contrib/iostream2/zstream.h:140:7: warning: Return value of function ::gzread() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/examples/gzlog.c:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:148:7: warning: Return value of function ::gzread() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/examples/gzlog.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_UN [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:200:19: warning: Return value of function ::gzwrite() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/examples/gzlog.c:147:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/rcmd.c:186:54: style: Condition 'rcmd_authenticate(s,locuser,remuser,cmd)<0' is always false [knownConditionTrueFalse] cvs-1.12.13/windows-NT/rcmd.c:186:27: note: Calling function 'rcmd_authenticate' returns 0 cvs-1.12.13/windows-NT/rcmd.c:186:54: note: Condition 'rcmd_authenticate(s,locuser,remuser,cmd)<0' is always false cvs-1.12.13/zlib/contrib/iostream/zfstream.h:73:3: style: Class 'gzifstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:248:19: warning: Return value of function ::gzwrite() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:74:3: style: Class 'gzifstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:273:7: warning: Return value of function ::gzwrite() is not used. [ignoredReturnValue] cvs-1.12.13/src/kerberos4-client.c:43:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/stack.c:34:13: style:inconclusive: Function 'push' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:9:18: note: Function 'push' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:34:13: note: Function 'push' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/vms/readlink.c:1:20: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:85:3: style: Class 'gzofstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:288:7: warning: Return value of function ::gzwrite() is not used. [ignoredReturnValue] cvs-1.12.13/src/stack.c:34:26: style:inconclusive: Function 'push' argument 2 names different: declaration '_elem' definition 'elem'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:9:32: note: Function 'push' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/src/stack.c:34:26: note: Function 'push' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/vms/readlink.c:1:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/rmdir.c:15:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:86:3: style: Class 'gzofstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/src/release.c:256:61: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] cvs-1.12.13/src/release.c:247:13: note: Assuming that condition 'fp==NULL' is not redundant cvs-1.12.13/src/release.c:256:61: note: Null pointer dereference cvs-1.12.13/src/stack.c:42:20: style:inconclusive: Function 'push_string' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:13:25: note: Function 'push_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:42:20: note: Function 'push_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/vms/ndir.c:113:10: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] cvs-1.12.13/vms/ndir.c:112:29: note: Assuming allocation function fails cvs-1.12.13/vms/ndir.c:112:14: note: Assignment 'filename=(char*)xmalloc(length+1)', assigned value is 0 cvs-1.12.13/vms/ndir.c:113:10: note: Null pointer dereference cvs-1.12.13/src/stack.c:42:33: style:inconclusive: Function 'push_string' argument 2 names different: declaration '_elem' definition 'elem'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:13:39: note: Function 'push_string' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/src/stack.c:42:33: note: Function 'push_string' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/src/vers_ts.c:252:14: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/vms/ndir.c:116:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] cvs-1.12.13/vms/ndir.c:112:29: note: Assuming allocation function fails cvs-1.12.13/vms/ndir.c:112:14: note: Assignment 'filename=(char*)xmalloc(length+1)', assigned value is 0 cvs-1.12.13/vms/ndir.c:116:13: note: Null pointer dereference cvs-1.12.13/zlib/contrib/iostream/zfstream.h:76:12: style: The destructor '~gzifstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:52:12: note: Virtual destructor in base class cvs-1.12.13/zlib/contrib/iostream/zfstream.h:76:12: note: Destructor in derived class cvs-1.12.13/zlib/contrib/iostream3/zfstream.h:270:3: style:inconclusive: Either there is a missing 'override', or the member function 'gzifstream::is_open' can be const. [functionConst] cvs-1.12.13/src/stack.c:74:12: style:inconclusive: Function 'pop' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:10:18: note: Function 'pop' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:74:12: note: Function 'pop' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/vers_ts.c:386:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/vms/unlink.c:6:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:88:12: style: The destructor '~gzofstream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:52:12: note: Virtual destructor in base class cvs-1.12.13/zlib/contrib/iostream/zfstream.h:88:12: note: Destructor in derived class cvs-1.12.13/zlib/contrib/iostream3/zfstream.h:359:3: style:inconclusive: Either there is a missing 'override', or the member function 'gzofstream::is_open' can be const. [functionConst] cvs-1.12.13/zlib/example.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/root.c:382:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] cvs-1.12.13/src/root.c:380:22: note: Assuming allocation function fails cvs-1.12.13/src/root.c:380:22: note: Assignment 'newroot=xmalloc(sizeof(struct cvsroot_t))', assigned value is 0 cvs-1.12.13/src/root.c:382:5: note: Null pointer dereference cvs-1.12.13/src/stack.c:82:19: style:inconclusive: Function 'pop_string' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:14:25: note: Function 'pop_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:82:19: note: Function 'pop_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/vers_ts.c:387:17: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/vms/unlink.c:21:16: style: Parameter 'from' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/minigzip.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/root.c:383:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] cvs-1.12.13/src/root.c:380:22: note: Assuming allocation function fails cvs-1.12.13/src/root.c:380:22: note: Assignment 'newroot=xmalloc(sizeof(struct cvsroot_t))', assigned value is 0 cvs-1.12.13/src/root.c:383:5: note: Null pointer dereference cvs-1.12.13/src/stack.c:105:16: style:inconclusive: Function 'unshift' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:11:21: note: Function 'unshift' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:105:16: note: Function 'unshift' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/vms/unlink.c:21:28: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:182:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/minigzip.c:211:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:718:24: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/os2/filesubr.c:300:13: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:295:25: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:295:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:300:13: note: Null pointer dereference cvs-1.12.13/src/root.c:384:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] cvs-1.12.13/src/root.c:380:22: note: Assuming allocation function fails cvs-1.12.13/src/root.c:380:22: note: Assignment 'newroot=xmalloc(sizeof(struct cvsroot_t))', assigned value is 0 cvs-1.12.13/src/root.c:384:5: note: Null pointer dereference cvs-1.12.13/src/stack.c:105:29: style:inconclusive: Function 'unshift' argument 2 names different: declaration '_elem' definition 'elem'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:11:35: note: Function 'unshift' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/src/stack.c:105:29: note: Function 'unshift' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/vms/misc.c:47:22: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:225:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/minigzip.c:245:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:755:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/os2/filesubr.c:301:13: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:295:25: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:295:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:301:13: note: Null pointer dereference cvs-1.12.13/src/root.c:385:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newroot [nullPointerOutOfMemory] cvs-1.12.13/src/root.c:380:22: note: Assuming allocation function fails cvs-1.12.13/src/root.c:380:22: note: Assignment 'newroot=xmalloc(sizeof(struct cvsroot_t))', assigned value is 0 cvs-1.12.13/src/root.c:385:5: note: Null pointer dereference cvs-1.12.13/src/stack.c:113:23: style:inconclusive: Function 'unshift_string' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:15:28: note: Function 'unshift_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:113:23: note: Function 'unshift_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:198:9: warning: Return value of function deflateInit() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/example.c:260:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/minigzip.c:304:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cvs-1.12.13/diff/util.c:842:21: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/os2/filesubr.c:306:29: warning: If memory allocation fails, then there is a possible null pointer dereference: whole_cmd [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:295:25: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:295:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:306:29: note: Null pointer dereference cvs-1.12.13/src/stack.c:113:36: style:inconclusive: Function 'unshift_string' argument 2 names different: declaration '_elem' definition 'elem'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:15:42: note: Function 'unshift_string' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/src/stack.c:113:36: note: Function 'unshift_string' argument 2 names different: declaration '_elem' definition 'elem'. cvs-1.12.13/vms/rcmd.c:12:16: style: Parameter 'local_user' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:239:9: warning: Return value of function inflateInit() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/example.c:320:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:564:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:549:17: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:549:17: note: Assignment 'buf1=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:564:19: note: Null pointer dereference cvs-1.12.13/src/stack.c:144:14: style:inconclusive: Function 'shift' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:12:20: note: Function 'shift' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:144:14: note: Function 'shift' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/vms/rcmd.c:12:34: style: Parameter 'remote_user' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:564:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf2 [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:550:17: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:550:17: note: Assignment 'buf2=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:564:25: note: Null pointer dereference cvs-1.12.13/src/stack.c:152:21: style:inconclusive: Function 'shift_string' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:16:27: note: Function 'shift_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:152:21: note: Function 'shift_string' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/status.c:48:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/status.c:44:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/status.c:48:25: note: Invalid argument cvs-1.12.13/vms/rcmd.c:13:16: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:399:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:690:21: warning: Either the condition 'retval==NULL' is redundant or there is possible null pointer dereference: retval. [nullPointerRedundantCheck] cvs-1.12.13/os2/filesubr.c:688:16: note: Assuming that condition 'retval==NULL' is not redundant cvs-1.12.13/os2/filesubr.c:690:21: note: Null pointer dereference cvs-1.12.13/src/stack.c:160:16: style:inconclusive: Function 'isempty' argument 1 names different: declaration '_stack' definition 'stack'. [funcArgNamesDifferent] cvs-1.12.13/src/stack.h:17:20: note: Function 'isempty' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/src/stack.c:160:16: note: Function 'isempty' argument 1 names different: declaration '_stack' definition 'stack'. cvs-1.12.13/vms/rcmd.c:15:19: style: Variable 'remote_hp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/utime.c:16:17: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:438:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gun.c:550:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:805:14: warning: If memory allocation fails, then there is a possible null pointer dereference: Path [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:804:21: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:804:21: note: Assignment 'Path=xmalloc(Name-PathName+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:805:14: note: Null pointer dereference cvs-1.12.13/os2/run.c:62:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/filesubr.c:105:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/vms/pipe.c:178:20: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] cvs-1.12.13/vms/rcmd.c:16:19: style: Variable 'local_hp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/run.c:79:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/zlib/example.c:480:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/examples/gun.c:636:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:806:6: warning: If memory allocation fails, then there is a possible null pointer dereference: Path [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:804:21: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:804:21: note: Assignment 'Path=xmalloc(Name-PathName+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:806:6: note: Null pointer dereference cvs-1.12.13/src/filesubr.c:649:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] cvs-1.12.13/src/filesubr.c:634:17: note: Assuming allocation function fails cvs-1.12.13/src/filesubr.c:634:17: note: Assignment 'buf1=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/src/filesubr.c:649:19: note: Null pointer dereference cvs-1.12.13/src/log.c:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:833:10: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] cvs-1.12.13/windows-NT/run.c:79:50: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/zlib/example.c:524:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:857:12: warning: If memory allocation fails, then there is a possible null pointer dereference: NewArg [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:856:21: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:856:21: note: Assignment 'NewArg=xmalloc(Len)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:857:12: note: Null pointer dereference cvs-1.12.13/src/add.c:77:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/add.c:70:27: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/add.c:77:25: note: Invalid argument cvs-1.12.13/src/filesubr.c:649:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf2 [nullPointerOutOfMemory] cvs-1.12.13/src/filesubr.c:635:17: note: Assuming allocation function fails cvs-1.12.13/src/filesubr.c:635:17: note: Assignment 'buf2=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/src/filesubr.c:649:25: note: Null pointer dereference cvs-1.12.13/src/log.c:537:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ls.c:71:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/ls.c:57:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/ls.c:71:25: note: Invalid argument cvs-1.12.13/os2/filesubr.c:858:12: warning: If memory allocation fails, then there is a possible null pointer dereference: NewArg [nullPointerOutOfMemory] cvs-1.12.13/os2/filesubr.c:856:21: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:856:21: note: Assignment 'NewArg=xmalloc(Len)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:858:12: note: Null pointer dereference cvs-1.12.13/src/filesubr.c:680:17: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] cvs-1.12.13/src/filesubr.c:678:12: note: Assuming that condition 'fp==NULL' is not redundant cvs-1.12.13/src/filesubr.c:680:17: note: Null pointer dereference cvs-1.12.13/vms/filesubr.c:62:16: warning: Either the condition '(fdin=open(from,O_RDONLY))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/vms/filesubr.c:60:40: note: Assuming that condition '(fdin=open(from,O_RDONLY))<0' is not redundant cvs-1.12.13/vms/filesubr.c:62:16: note: Invalid argument cvs-1.12.13/zlib/inftrees.c:285:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/filesubr.c:85:28: warning: Either the condition 'n==-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/vms/filesubr.c:74:12: note: Assuming that condition 'n==-1' is not redundant cvs-1.12.13/vms/filesubr.c:85:28: note: Invalid argument cvs-1.12.13/lib/regexec.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:306:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/os2/filesubr.c:295:25: note: Assuming allocation function fails cvs-1.12.13/os2/filesubr.c:295:25: note: Assignment 'whole_cmd=xmalloc(strlen(attrib_cmd)+strlen(attrib_option)+strlen(fname)+1)', assigned value is 0 cvs-1.12.13/os2/filesubr.c:306:19: note: Null pointer addition cvs-1.12.13/lib/regexec.c:420:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/regexec.c:494:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_REALLOCATE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/stack.c:160:16: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:564:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_REALLOCATE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/main.c:1279:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/lib/regexec.c:619:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:117:8: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p++. [nullPointerRedundantCheck] cvs-1.12.13/src/fileattr.c:113:12: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/fileattr.c:112:17: note: Assignment to 'p=strchr(line,'\t')' cvs-1.12.13/src/fileattr.c:112:8: note: p is assigned 'strchr(line,'\t')' here. cvs-1.12.13/src/fileattr.c:117:8: note: Null pointer dereference cvs-1.12.13/src/main.c:1285:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/lib/regexec.c:951:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:151:6: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/fileattr.c:150:20: note: Assuming allocation function fails cvs-1.12.13/src/fileattr.c:150:20: note: Assignment 'new=xmalloc(sizeof(struct unrecog))', assigned value is 0 cvs-1.12.13/src/fileattr.c:151:6: note: Null pointer dereference cvs-1.12.13/src/main.c:1380:23: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/windows-NT/SCC/scc.c:168:16: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/woe32.c:304:10: warning: If memory allocation fails, then there is a possible null pointer dereference: home_dir [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assuming allocation function fails cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assignment 'home_dir=xmalloc(home_drive_len+home_path_len+sizeof(NUL))', assigned value is 0 cvs-1.12.13/windows-NT/woe32.c:304:10: note: Null pointer dereference cvs-1.12.13/lib/regexec.c:1069:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:152:6: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/fileattr.c:150:20: note: Assuming allocation function fails cvs-1.12.13/src/fileattr.c:150:20: note: Assignment 'new=xmalloc(sizeof(struct unrecog))', assigned value is 0 cvs-1.12.13/src/fileattr.c:152:6: note: Null pointer dereference cvs-1.12.13/src/main.c:1397:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/windows-NT/SCC/scc.c:174:11: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/woe32.c:306:2: warning: If memory allocation fails, then there is a possible null pointer dereference: home_dir [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assuming allocation function fails cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assignment 'home_dir=xmalloc(home_drive_len+home_path_len+sizeof(NUL))', assigned value is 0 cvs-1.12.13/windows-NT/woe32.c:306:2: note: Null pointer dereference cvs-1.12.13/lib/regexec.c:1197:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:225:14: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] cvs-1.12.13/src/fileattr.c:224:22: note: Assuming allocation function fails cvs-1.12.13/src/fileattr.c:224:22: note: Assignment 'retval=xmalloc(cpend-cp+1)', assigned value is 0 cvs-1.12.13/src/fileattr.c:225:14: note: Null pointer dereference cvs-1.12.13/src/find_names.c:43:14: style: Variable 'entnode' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/SCC/scc.c:226:19: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/ndir.c:46:9: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regexec.c:1243:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:226:5: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] cvs-1.12.13/src/fileattr.c:224:22: note: Assuming allocation function fails cvs-1.12.13/src/fileattr.c:224:22: note: Assignment 'retval=xmalloc(cpend-cp+1)', assigned value is 0 cvs-1.12.13/src/fileattr.c:226:5: note: Null pointer dereference cvs-1.12.13/src/find_names.c:129:14: style: Variable 'entnode' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/hash.c:534:18: style: Parameter 'node' can be declared as pointer to const. However it seems that 'printnode' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/hash.c:581:27: note: You might need to cast the function pointer here cvs-1.12.13/src/hash.c:534:18: note: Parameter 'node' can be declared as pointer to const cvs-1.12.13/windows-NT/SCC/scc.c:227:20: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/ndir.c:154:15: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/pwd.c:177:19: style: Parameter 'table' can be declared as const array [constParameter] cvs-1.12.13/windows-NT/woe32.c:305:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assuming allocation function fails cvs-1.12.13/windows-NT/woe32.c:302:21: note: Assignment 'home_dir=xmalloc(home_drive_len+home_path_len+sizeof(NUL))', assigned value is 0 cvs-1.12.13/windows-NT/woe32.c:305:19: note: Null pointer addition cvs-1.12.13/lib/regexec.c:1346:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:149:29: style: Parameter 'p' can be declared as pointer to const. However it seems that 'register_subdir_proc' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/find_names.c:211:26: note: You might need to cast the function pointer here cvs-1.12.13/src/find_names.c:149:29: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/hash.c:534:30: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'printnode' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/hash.c:581:27: note: You might need to cast the function pointer here cvs-1.12.13/src/hash.c:534:30: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/release.c:327:10: style: Local variable 'argc' shadows outer argument [shadowArgument] cvs-1.12.13/src/release.c:136:14: note: Shadowed declaration cvs-1.12.13/src/release.c:327:10: note: Shadow variable cvs-1.12.13/windows-NT/SCC/scc.c:229:19: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/pwd.c:179:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regexec.c:1368:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:117:8: warning: Either the condition 'p==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/fileattr.c:113:12: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/fileattr.c:112:17: note: Assignment to 'p=strchr(line,'\t')' cvs-1.12.13/src/fileattr.c:112:8: note: p is assigned 'strchr(line,'\t')' here. cvs-1.12.13/src/fileattr.c:117:8: note: Null pointer addition cvs-1.12.13/src/find_names.c:172:23: style: Variable 'sdtp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/release.c:328:12: style: Local variable 'argv' shadows outer argument [shadowArgument] cvs-1.12.13/src/release.c:136:27: note: Shadowed declaration cvs-1.12.13/src/release.c:328:12: note: Shadow variable cvs-1.12.13/windows-NT/SCC/scc.c:236:22: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:1401:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:140:6: warning: Either the condition 'p==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/fileattr.c:136:12: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/fileattr.c:135:17: note: Assignment to 'p=strchr(line,'\t')' cvs-1.12.13/src/fileattr.c:135:8: note: p is assigned 'strchr(line,'\t')' here. cvs-1.12.13/src/fileattr.c:140:6: note: Null pointer addition cvs-1.12.13/windows-NT/SCC/scc.c:237:23: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/filesubr.c:105:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/lib/regexec.c:1502:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:239:15: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:1515:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/remove.c:270:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'remove_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/remove.c:116:51: note: You might need to cast the function pointer here cvs-1.12.13/src/remove.c:270:23: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/windows-NT/SCC/scc.c:247:15: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/filesubr.c:61:16: warning: Either the condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/windows-NT/filesubr.c:59:51: note: Assuming that condition '(fdin=open(from,O_RDONLY|O_BINARY))<0' is not redundant cvs-1.12.13/windows-NT/filesubr.c:61:16: note: Invalid argument cvs-1.12.13/lib/regexec.c:1598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/remove.c:271:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'remove_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/remove.c:116:51: note: You might need to cast the function pointer here cvs-1.12.13/src/remove.c:271:47: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/src/root.c:468:28: style:inconclusive: Function 'parse_cvsroot' argument 1 names different: declaration 'root' definition 'root_in'. [funcArgNamesDifferent] cvs-1.12.13/src/root.h:59:39: note: Function 'parse_cvsroot' argument 1 names different: declaration 'root' definition 'root_in'. cvs-1.12.13/src/root.c:468:28: note: Function 'parse_cvsroot' argument 1 names different: declaration 'root' definition 'root_in'. cvs-1.12.13/windows-NT/SCC/scc.c:248:16: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/filesubr.c:85:28: warning: Either the condition 'n==-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/windows-NT/filesubr.c:74:12: note: Assuming that condition 'n==-1' is not redundant cvs-1.12.13/windows-NT/filesubr.c:85:28: note: Invalid argument cvs-1.12.13/lib/regexec.c:1646:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:249:8: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:1714:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/run.c:513:12: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/src/vers_ts.c:54:13: warning: If memory allocation fails, then there is a possible null pointer dereference: vers_ts [nullPointerOutOfMemory] cvs-1.12.13/src/vers_ts.c:53:23: note: Assuming allocation function fails cvs-1.12.13/src/vers_ts.c:53:23: note: Assignment 'vers_ts=xmalloc(sizeof(struct Vers_TS))', assigned value is 0 cvs-1.12.13/src/vers_ts.c:54:13: note: Null pointer dereference cvs-1.12.13/vms/ndir.c:103:12: style: Parameter 'infilename' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/SCC/scc.c:250:15: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:1741:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/add.c:406:36: style: Condition 'build_entry(repository,finfo.file,vers->options,message,entries,vers->tag)!=0' is always false [knownConditionTrueFalse] cvs-1.12.13/src/add.c:405:20: note: Calling function 'build_entry' returns 0 cvs-1.12.13/src/add.c:406:36: note: Condition 'build_entry(repository,finfo.file,vers->options,message,entries,vers->tag)!=0' is always false cvs-1.12.13/vms/ndir.c:104:12: style: Parameter 'filepattern' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/SCC/scc.c:259:18: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:166:20: style:inconclusive: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. [funcArgNamesDifferent] cvs-1.12.13/windows-NT/rcmd.h:25:31: note: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. cvs-1.12.13/windows-NT/rcmd.c:166:20: note: Function 'rcmd' argument 1 names different: declaration 'AHOST' definition 'ahost'. cvs-1.12.13/zlib/contrib/iostream2/zstream.h:101:16: style:inconclusive: Technically the member function 'izstream::fp' can be const. [functionConst] cvs-1.12.13/lib/regexec.c:1763:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:260:19: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:167:22: style:inconclusive: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. [funcArgNamesDifferent] cvs-1.12.13/windows-NT/rcmd.h:26:19: note: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. cvs-1.12.13/windows-NT/rcmd.c:167:22: note: Function 'rcmd' argument 2 names different: declaration 'INPORT' definition 'inport'. cvs-1.12.13/zlib/contrib/iostream2/zstream.h:234:16: style:inconclusive: Technically the member function 'ozstream::fp' can be const. [functionConst] cvs-1.12.13/lib/regexec.c:1806:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:262:18: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:168:13: style:inconclusive: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. [funcArgNamesDifferent] cvs-1.12.13/windows-NT/rcmd.h:27:10: note: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. cvs-1.12.13/windows-NT/rcmd.c:168:13: note: Function 'rcmd' argument 3 names different: declaration 'LOCUSER' definition 'locuser'. cvs-1.12.13/zlib/contrib/untgz/untgz.c:196:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/lib/regexec.c:1841:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/server.c:7675:26: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/unlink.c:13:11: style: Unused variable: junk_rs [unusedVariable] cvs-1.12.13/windows-NT/SCC/scc.c:269:18: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:169:13: style:inconclusive: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. [funcArgNamesDifferent] cvs-1.12.13/windows-NT/rcmd.h:28:10: note: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. cvs-1.12.13/windows-NT/rcmd.c:169:13: note: Function 'rcmd' argument 4 names different: declaration 'REMUSER' definition 'remuser'. cvs-1.12.13/zlib/contrib/untgz/untgz.c:246:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/lib/regexec.c:1890:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/misc.c:124:27: style: Unused variable: flags [unusedVariable] cvs-1.12.13/windows-NT/SCC/scc.c:285:16: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:170:13: style:inconclusive: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. [funcArgNamesDifferent] cvs-1.12.13/windows-NT/rcmd.h:29:10: note: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. cvs-1.12.13/windows-NT/rcmd.c:170:13: note: Function 'rcmd' argument 5 names different: declaration 'CMD' definition 'cmd'. cvs-1.12.13/lib/regexec.c:1925:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/vms/misc.c:124:34: style: Unused variable: pid [unusedVariable] cvs-1.12.13/windows-NT/SCC/scc.c:287:9: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:2041:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/admin.c:619:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/admin.c:619:11: note: Shadow variable cvs-1.12.13/src/rcscmds.c:509:36: style:inconclusive: Function 'diff_exec' argument 5 names different: declaration 'iargc' definition 'dargc'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:442:20: note: Function 'diff_exec' argument 5 names different: declaration 'iargc' definition 'dargc'. cvs-1.12.13/src/rcscmds.c:509:36: note: Function 'diff_exec' argument 5 names different: declaration 'iargc' definition 'dargc'. cvs-1.12.13/vms/misc.c:124:39: style: Unused variable: status [unusedVariable] cvs-1.12.13/windows-NT/SCC/scc.c:296:19: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:42:5: style: Class 'zstringlen' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/lib/regexec.c:2122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcscmds.c:509:57: style:inconclusive: Function 'diff_exec' argument 6 names different: declaration 'iargv' definition 'dargv'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:442:41: note: Function 'diff_exec' argument 6 names different: declaration 'iargv' definition 'dargv'. cvs-1.12.13/src/rcscmds.c:509:57: note: Function 'diff_exec' argument 6 names different: declaration 'iargv' definition 'dargv'. cvs-1.12.13/vms/rcmd.c:73:7: warning: Uninitialized variable: rs [uninitvar] cvs-1.12.13/vms/rcmd.c:61:52: note: Assuming condition is false cvs-1.12.13/vms/rcmd.c:73:7: note: Uninitialized variable: rs cvs-1.12.13/windows-NT/SCC/scc.c:297:20: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:55:9: style: Class 'izstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/lib/regexec.c:2281:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:299:12: style: Parameter 'prov_options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:56:9: style: Class 'izstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/lib/regexec.c:2330:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:306:22: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:160:9: style: Class 'ozstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/lib/regexec.c:2424:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/SCC/scc.c:315:18: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:164:9: style: Class 'ozstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cvs-1.12.13/lib/regexec.c:2568:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/add.c:839:2: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/add.c:838:15: note: Assuming allocation function fails cvs-1.12.13/src/add.c:838:15: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/add.c:839:2: note: Null pointer dereference cvs-1.12.13/src/ignore.c:411:9: style: Local variable 'p' shadows outer variable [shadowVariable] cvs-1.12.13/src/ignore.c:365:11: note: Shadowed declaration cvs-1.12.13/src/ignore.c:411:9: note: Shadow variable cvs-1.12.13/windows-NT/SCC/scc.c:316:19: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:172:10: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cvs-1.12.13/lib/regexec.c:2673:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/add.c:840:2: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/add.c:838:15: note: Assuming allocation function fails cvs-1.12.13/src/add.c:838:15: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/add.c:840:2: note: Null pointer dereference cvs-1.12.13/src/filesubr.c:806:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/lock.c:290:14: warning: Assert statement calls a function which may have desired side effects: 'umask'. [assertWithSideEffect] cvs-1.12.13/src/ls.c:412:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:411:11: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:411:11: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:412:2: note: Null pointer dereference cvs-1.12.13/src/run.c:496:24: style: Local variable 'w' shadows outer variable [shadowVariable] cvs-1.12.13/src/run.c:477:14: note: Shadowed declaration cvs-1.12.13/src/run.c:496:24: note: Shadow variable cvs-1.12.13/windows-NT/SCC/scc.c:328:29: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:69:39: style: Parameter 'server_sai' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:220:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cvs-1.12.13/lib/regexec.c:2819:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:275:11: style: Variable 'attrib_cmd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/add.c:841:2: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/add.c:838:15: note: Assuming allocation function fails cvs-1.12.13/src/add.c:838:15: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/add.c:841:2: note: Null pointer dereference cvs-1.12.13/src/admin.c:502:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:416:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:411:11: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:411:11: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:416:2: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:339:24: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:124:64: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:220:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cvs-1.12.13/lib/regexec.c:2852:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:276:11: style: Variable 'attrib_option' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/add.c:841:16: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/add.c:838:15: note: Assuming allocation function fails cvs-1.12.13/src/add.c:838:15: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/add.c:841:16: note: Null pointer dereference cvs-1.12.13/src/admin.c:686:8: style: Variable 't2' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:418:2: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:411:11: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:411:11: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:418:2: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:341:25: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/rcmd.c:171:12: style: Parameter 'fd2p' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:261:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] cvs-1.12.13/lib/regexec.c:2874:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:279:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/admin.c:754:8: style: Variable 'kflag' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:459:18: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:458:26: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:458:26: note: Assignment 'parent=xmalloc(strlen(update_dir)-strlen(dir)+1)', assigned value is 0 cvs-1.12.13/src/ls.c:459:18: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:342:24: style: Parameter 'callerdat' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:261:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cvs-1.12.13/lib/regexec.c:3087:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:326:17: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/admin.c:755:8: style: Variable 'oldexpand' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:460:9: warning: If memory allocation fails, then there is a possible null pointer dereference: parent [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:458:26: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:458:26: note: Assignment 'parent=xmalloc(strlen(update_dir)-strlen(dir)+1)', assigned value is 0 cvs-1.12.13/src/ls.c:460:9: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:350:21: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/run.c:103:10: warning: If memory allocation fails, then there is a possible null pointer dereference: scan++ [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/run.c:102:26: note: Assuming allocation function fails cvs-1.12.13/windows-NT/run.c:102:17: note: Assignment 'scan=copy=xmalloc(s_len+3)', assigned value is 0 cvs-1.12.13/windows-NT/run.c:103:10: note: Null pointer dereference cvs-1.12.13/lib/regexec.c:3113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:326:29: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/admin.c:1003:22: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'admin_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/admin.c:579:44: note: You might need to cast the function pointer here cvs-1.12.13/src/admin.c:1003:22: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/ls.c:478:6: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:477:15: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:477:15: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:478:6: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:350:57: style: Parameter 'file_names' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/run.c:313:13: warning: If memory allocation fails, then there is a possible null pointer dereference: requoted [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/run.c:310:30: note: Assuming allocation function fails cvs-1.12.13/windows-NT/run.c:310:30: note: Assignment 'requoted=xmalloc(strlen(cmd)+1)', assigned value is 0 cvs-1.12.13/windows-NT/run.c:313:13: note: Null pointer dereference cvs-1.12.13/lib/regexec.c:3164:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:405:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/admin.c:1004:46: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'admin_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/admin.c:579:44: note: You might need to cast the function pointer here cvs-1.12.13/src/admin.c:1004:46: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/src/ignore.c:59:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:479:6: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:477:15: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:477:15: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:479:6: note: Null pointer dereference cvs-1.12.13/windows-NT/SCC/scc.c:360:21: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/run.c:314:25: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/run.c:310:30: note: Assuming allocation function fails cvs-1.12.13/windows-NT/run.c:310:30: note: Assignment 'requoted=xmalloc(strlen(cmd)+1)', assigned value is 0 cvs-1.12.13/windows-NT/run.c:311:15: note: Assignment 'p=requoted', assigned value is 0 cvs-1.12.13/windows-NT/run.c:314:25: note: Null pointer dereference cvs-1.12.13/lib/regexec.c:3209:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/os2/filesubr.c:684:11: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ignore.c:310:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/ls.c:480:6: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:477:15: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:477:15: note: Assignment 'out=xmalloc(sizeof(struct long_format_data))', assigned value is 0 cvs-1.12.13/src/ls.c:480:6: note: Null pointer dereference cvs-1.12.13/src/run.c:56:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/SCC/scc.c:464:21: style: Parameter 'context_arg' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/zutil.c:305:31: style: Same expression on both sides of '-'. [duplicateExpression] cvs-1.12.13/lib/regexec.c:3339:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ignore.c:360:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:590:16: warning: If memory allocation fails, then there is a possible null pointer dereference: where [nullPointerOutOfMemory] cvs-1.12.13/src/ls.c:587:18: note: Assuming allocation function fails cvs-1.12.13/src/ls.c:587:18: note: Assignment 'where=xmalloc(strlen(argv[0])+(mfile==NULL?0:strlen(mfile)+1)+1)', assigned value is 0 cvs-1.12.13/src/ls.c:590:16: note: Null pointer dereference cvs-1.12.13/src/run.c:401:18: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/windows-NT/run.c:103:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/windows-NT/run.c:102:26: note: Assuming allocation function fails cvs-1.12.13/windows-NT/run.c:102:17: note: Assignment 'scan=copy=xmalloc(s_len+3)', assigned value is 0 cvs-1.12.13/windows-NT/run.c:103:10: note: Null pointer addition cvs-1.12.13/lib/regexec.c:3540:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/ignore.c:372:23: style: Variable 'sdtp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/woe32.c:107:22: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regexec.c:4036:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_DOT_NEWLINE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/find_names.c:189:29: warning: Uninitialized variables: sdtp.aflag, sdtp.tag, sdtp.date, sdtp.nonbranch, sdtp.subdirs [uninitvar] cvs-1.12.13/src/find_names.c:183:17: note: Assuming condition is false cvs-1.12.13/src/find_names.c:189:29: note: Uninitialized variables: sdtp.aflag, sdtp.tag, sdtp.date, sdtp.nonbranch, sdtp.subdirs cvs-1.12.13/src/ignore.c:405:12: style: Variable 'node' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/woe32.c:220:23: style: Parameter 'writefds' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:4069:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] cvs-1.12.13/windows-NT/woe32.c:221:23: style: Parameter 'errorfds' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:4124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MISSING [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/checkout.c:157:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/checkout.c:150:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/checkout.c:157:25: note: Invalid argument cvs-1.12.13/src/fileattr.c:132:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/woe32.c:222:24: style: Parameter 'timeout' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/regexec.c:4200:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:215:11: style: Variable 'cpend' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/woe32.c:289:11: style: Variable 'home_drive' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/blast/blast.c:132:12: style: Variable 'next' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regexec.c:4250:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:243:11: style: Variable 'post' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/JmgStat.c:151:28: style: Variable 'itime.QuadPart' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/windows-NT/woe32.c:289:24: style: Variable 'home_path' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regexec.c:4279:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:384:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/vmsmunch.c:130:16: style: union member 'Anonymous0::dummy' is never used. [unusedStructMember] cvs-1.12.13/windows-NT/woe32.c:319:41: style: Parameter 'remaining_delay' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:84:21: style: struct member 'inffast_ar::esp' is never used. [unusedStructMember] cvs-1.12.13/lib/regexec.c:4310:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/fileattr.c:492:23: style: Parameter 'node' can be declared as pointer to const. However it seems that 'writeattr_proc' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/fileattr.c:646:25: note: You might need to cast the function pointer here cvs-1.12.13/src/fileattr.c:492:23: note: Parameter 'node' can be declared as pointer to const cvs-1.12.13/vms/filesubr.c:634:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] cvs-1.12.13/vms/filesubr.c:619:17: note: Assuming allocation function fails cvs-1.12.13/vms/filesubr.c:619:17: note: Assignment 'buf1=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/vms/filesubr.c:634:19: note: Null pointer dereference cvs-1.12.13/vms/vmsmunch.c:137:26: style: union member 'Anonymous1::value' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:85:21: style: struct member 'inffast_ar::ebp' is never used. [unusedStructMember] cvs-1.12.13/src/fileattr.c:564:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/filesubr.c:634:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf2 [nullPointerOutOfMemory] cvs-1.12.13/vms/filesubr.c:620:17: note: Assuming allocation function fails cvs-1.12.13/vms/filesubr.c:620:17: note: Assignment 'buf2=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/vms/filesubr.c:634:25: note: Null pointer dereference cvs-1.12.13/vms/vmsmunch.c:143:9: style: union member 'Anonymous1::bits' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:94:40: style: struct member 'inffast_ar::hold' is never used. [unusedStructMember] cvs-1.12.13/src/vers_ts.c:41:44: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/filesubr.c:707:17: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] cvs-1.12.13/vms/filesubr.c:705:12: note: Assuming that condition 'fp==NULL' is not redundant cvs-1.12.13/vms/filesubr.c:707:17: note: Null pointer dereference cvs-1.12.13/vms/pipe.c:139:9: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/vmsmunch.c:139:18: style: struct member 'Anonymous2::system' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:95:24: style: struct member 'inffast_ar::bits' is never used. [unusedStructMember] cvs-1.12.13/src/vers_ts.c:41:59: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/filesubr.c:839:9: warning: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] cvs-1.12.13/vms/filesubr.c:838:15: note: Assuming allocation function fails cvs-1.12.13/vms/filesubr.c:838:15: note: Assignment 'fn=xstrdup(ifn)', assigned value is 0 cvs-1.12.13/vms/filesubr.c:839:9: note: Null pointer dereference cvs-1.12.13/vms/vmsmunch.c:140:18: style: struct member 'Anonymous2::owner' is never used. [unusedStructMember] cvs-1.12.13/windows-NT/run.c:217:11: style: Variable 'sain' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/windows-NT/run.c:216:10: note: sain is assigned cvs-1.12.13/windows-NT/run.c:217:11: note: sain is overwritten cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:96:24: style: struct member 'inffast_ar::wsize' is never used. [unusedStructMember] cvs-1.12.13/src/vers_ts.c:41:70: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/vms/ndir.c:108:16: style: Unused variable: fd [unusedVariable] cvs-1.12.13/vms/vmsmunch.c:141:18: style: struct member 'Anonymous2::group' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:97:24: style: struct member 'inffast_ar::write' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:332:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cvs-1.12.13/zlib/contrib/untgz/untgz.c:330:24: note: Assuming allocation function fails cvs-1.12.13/zlib/contrib/untgz/untgz.c:330:24: note: Assignment 'buffer=strdup(newdir)', assigned value is 0 cvs-1.12.13/zlib/contrib/untgz/untgz.c:332:21: note: Null pointer dereference cvs-1.12.13/src/vers_ts.c:47:26: style: Variable 'sdtp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/vmsmunch.c:142:18: style: struct member 'Anonymous2::world' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:98:24: style: struct member 'inffast_ar::lmask' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:338:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cvs-1.12.13/zlib/contrib/untgz/untgz.c:330:24: note: Assuming allocation function fails cvs-1.12.13/zlib/contrib/untgz/untgz.c:330:24: note: Assignment 'buffer=strdup(newdir)', assigned value is 0 cvs-1.12.13/zlib/contrib/untgz/untgz.c:334:11: note: Assuming condition is false cvs-1.12.13/zlib/contrib/untgz/untgz.c:338:7: note: Null pointer dereference cvs-1.12.13/src/vers_ts.c:49:11: style: Variable 'rcsexpand' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:99:24: style: struct member 'inffast_ar::dmask' is never used. [unusedStructMember] cvs-1.12.13/src/status.c:259:11: style: Variable 'edata' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/vers_ts.c:376:16: style: Variable 'tm_p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/wrapper.c:332:27: style:inconclusive: Function 'wrap_add' argument 2 names different: declaration 'temp' definition 'isTemp'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:841:31: note: Function 'wrap_add' argument 2 names different: declaration 'temp' definition 'isTemp'. cvs-1.12.13/src/wrapper.c:332:27: note: Function 'wrap_add' argument 2 names different: declaration 'temp' definition 'isTemp'. cvs-1.12.13/vms/vmsmunch.c:164:36: style: Variable 'string' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/iostream/zfstream.h:26:15: style: Virtual function 'sync' is called from destructor '~gzfilebuf()' at line 12. Dynamic binding is not used. [virtualCallInConstructor] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:12:3: note: Calling sync cvs-1.12.13/zlib/contrib/iostream/zfstream.h:26:15: note: sync is a virtual function cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:100:24: style: struct member 'inffast_ar::len' is never used. [unusedStructMember] cvs-1.12.13/src/status.c:346:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'status_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/status.c:110:51: note: You might need to cast the function pointer here cvs-1.12.13/src/status.c:346:23: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/wrapper.c:516:29: style:inconclusive: Function 'wrap_rcsoption' argument 1 names different: declaration 'fileName' definition 'filename'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:836:35: note: Function 'wrap_rcsoption' argument 1 names different: declaration 'fileName' definition 'filename'. cvs-1.12.13/src/wrapper.c:516:29: note: Function 'wrap_rcsoption' argument 1 names different: declaration 'fileName' definition 'filename'. cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:101:24: style: struct member 'inffast_ar::dist' is never used. [unusedStructMember] cvs-1.12.13/src/status.c:347:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'status_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/status.c:110:51: note: You might need to cast the function pointer here cvs-1.12.13/src/status.c:347:47: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/src/wrapper.c:516:43: style:inconclusive: Function 'wrap_rcsoption' argument 2 names different: declaration 'asFlag' definition 'asflag'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:836:49: note: Function 'wrap_rcsoption' argument 2 names different: declaration 'asFlag' definition 'asflag'. cvs-1.12.13/src/wrapper.c:516:43: note: Function 'wrap_rcsoption' argument 2 names different: declaration 'asFlag' definition 'asflag'. cvs-1.12.13/zlib/contrib/masmx64/inffas8664.c:102:24: style: struct member 'inffast_ar::status' is never used. [unusedStructMember] cvs-1.12.13/zlib/examples/zran.c:224:5: error: Common realloc mistake: 'index' nulled but not freed upon failure [memleakOnRealloc] cvs-1.12.13/src/logmsg.c:313:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *messagep [nullPointerOutOfMemory] cvs-1.12.13/src/logmsg.c:312:31: note: Assuming allocation function fails cvs-1.12.13/src/logmsg.c:312:14: note: Assignment '*messagep=(char*)xmalloc(post_stbuf.st_size+1)', assigned value is 0 cvs-1.12.13/src/logmsg.c:313:4: note: Null pointer dereference cvs-1.12.13/windows-NT/rcmd.c:120:9: warning: Uninitialized variable: s [uninitvar] cvs-1.12.13/windows-NT/rcmd.c:79:22: note: Assuming condition is false cvs-1.12.13/windows-NT/rcmd.c:120:9: note: Uninitialized variable: s cvs-1.12.13/src/main.c:1425:26: style:inconclusive: Function 'format_date_alloc' argument 1 names different: declaration 'text' definition 'datestr'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:473:32: note: Function 'format_date_alloc' argument 1 names different: declaration 'text' definition 'datestr'. cvs-1.12.13/src/main.c:1425:26: note: Function 'format_date_alloc' argument 1 names different: declaration 'text' definition 'datestr'. cvs-1.12.13/windows-NT/filesubr.c:686:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/filesubr.c:671:17: note: Assuming allocation function fails cvs-1.12.13/windows-NT/filesubr.c:671:17: note: Assignment 'buf1=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/windows-NT/filesubr.c:686:19: note: Null pointer dereference cvs-1.12.13/src/wrapper.c:89:11: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/filesubr.c:686:25: warning: If memory allocation fails, then there is a possible null pointer dereference: buf2 [nullPointerOutOfMemory] cvs-1.12.13/windows-NT/filesubr.c:672:17: note: Assuming allocation function fails cvs-1.12.13/windows-NT/filesubr.c:672:17: note: Assignment 'buf2=xmalloc(buf_size)', assigned value is 0 cvs-1.12.13/windows-NT/filesubr.c:686:25: note: Null pointer dereference cvs-1.12.13/src/wrapper.c:334:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/filesubr.c:717:17: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] cvs-1.12.13/windows-NT/filesubr.c:715:12: note: Assuming that condition 'fp==NULL' is not redundant cvs-1.12.13/windows-NT/filesubr.c:717:17: note: Null pointer dereference cvs-1.12.13/src/wrapper.c:449:31: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/os2/filesubr.c:812:15: error: Uninitialized variable: FindBuffer [uninitvar] cvs-1.12.13/src/wrapper.c:474:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/wrapper.c:552:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/ls.c:265:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/run.c:60:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/main.c:309:36: style: Parameter 'ignored' can be declared as pointer to const. However it seems that 'set_root_directory' is a callback function, if 'ignored' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/main.c:1053:37: note: You might need to cast the function pointer here cvs-1.12.13/src/main.c:309:36: note: Parameter 'ignored' can be declared as pointer to const cvs-1.12.13/src/main.c:1275:16: style: Variable 'ftm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:67:35: style: Parameter 'pbeginTime64' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/puff/puff.c:254:12: style: Variable 'next' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:71:38: style: Parameter 'pbeginTime64' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/infback9/inftree9.c:300:18: style: Variable 'curr' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/puff/puff.c:319:47: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/checkout.c:820:2: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] cvs-1.12.13/src/checkout.c:817:17: note: Assuming allocation function fails cvs-1.12.13/src/checkout.c:817:17: note: Assignment 'head=xmalloc(sizeof(struct dir_to_build))', assigned value is 0 cvs-1.12.13/src/checkout.c:820:2: note: Null pointer dereference cvs-1.12.13/src/lock.c:868:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/zlib/examples/fitblk.c:115:28: style: Condition 'inf->avail_out!=0' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/examples/fitblk.c:104:26: note: Assignment 'inf->avail_out=4096', assigned value is 4096 cvs-1.12.13/zlib/examples/fitblk.c:109:17: note: Assuming condition is false cvs-1.12.13/zlib/examples/fitblk.c:115:28: note: Condition 'inf->avail_out!=0' is always true cvs-1.12.13/src/checkout.c:821:2: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] cvs-1.12.13/src/checkout.c:817:17: note: Assuming allocation function fails cvs-1.12.13/src/checkout.c:817:17: note: Assignment 'head=xmalloc(sizeof(struct dir_to_build))', assigned value is 0 cvs-1.12.13/src/checkout.c:821:2: note: Null pointer dereference cvs-1.12.13/src/lock.c:870:16: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/src/checkout.c:822:2: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] cvs-1.12.13/src/checkout.c:817:17: note: Assuming allocation function fails cvs-1.12.13/src/checkout.c:817:17: note: Assignment 'head=xmalloc(sizeof(struct dir_to_build))', assigned value is 0 cvs-1.12.13/src/checkout.c:822:2: note: Null pointer dereference cvs-1.12.13/src/lock.c:893:12: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/checkout.c:841:6: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/checkout.c:840:20: note: Assuming allocation function fails cvs-1.12.13/src/checkout.c:840:20: note: Assignment 'new=xmalloc(sizeof(struct dir_to_build))', assigned value is 0 cvs-1.12.13/src/checkout.c:841:6: note: Null pointer dereference cvs-1.12.13/src/lock.c:895:16: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/vms/filesubr.c:485:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/checkout.c:858:6: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/checkout.c:840:20: note: Assuming allocation function fails cvs-1.12.13/src/checkout.c:840:20: note: Assignment 'new=xmalloc(sizeof(struct dir_to_build))', assigned value is 0 cvs-1.12.13/src/checkout.c:858:6: note: Null pointer dereference cvs-1.12.13/src/lock.c:990:28: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cvs-1.12.13/vms/pipe.c:194:15: style: Unused variable: iosb [unusedVariable] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:281:8: style: Condition '!buffer.close()' is always false [knownConditionTrueFalse] cvs-1.12.13/src/checkout.c:898:4: warning: Either the condition 'rp==NULL' is redundant or there is possible null pointer dereference: rp. [nullPointerRedundantCheck] cvs-1.12.13/src/checkout.c:893:10: note: Assuming that condition 'rp==NULL' is not redundant cvs-1.12.13/src/checkout.c:898:4: note: Null pointer dereference cvs-1.12.13/vms/pipe.c:273:7: style: Unused variable: i [unusedVariable] cvs-1.12.13/zlib/contrib/untgz/untgz.c:168:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/untgz/untgz.c:191:24: style: Parameter 't' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/untgz/untgz.c:193:16: style: Variable 'local' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/untgz/untgz.c:206:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/getopt.c:372:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:114:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/getopt.c:372:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/src/logmsg.c:471:12: style: Local variable 'fp' shadows outer variable [shadowVariable] cvs-1.12.13/src/logmsg.c:31:14: note: Shadowed declaration cvs-1.12.13/src/logmsg.c:471:12: note: Shadow variable cvs-1.12.13/zlib/contrib/untgz/untgz.c:253:46: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/getopt.c:372:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:114:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/getopt.c:372:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/src/logmsg.c:887:8: style: Local variable 'fp' shadows outer variable [shadowVariable] cvs-1.12.13/src/logmsg.c:31:14: note: Shadowed declaration cvs-1.12.13/src/logmsg.c:887:8: note: Shadow variable cvs-1.12.13/zlib/contrib/untgz/untgz.c:290:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/getopt.c:372:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:115:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. cvs-1.12.13/lib/getopt.c:372:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. cvs-1.12.13/vms/piped_child.c:65:15: style: Unused variable: iosb [unusedVariable] cvs-1.12.13/zlib/contrib/untgz/untgz.c:290:35: style: Parameter 'expr' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/zutil.c:11:33: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] cvs-1.12.13/lib/getopt.c:373:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:116:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. cvs-1.12.13/lib/getopt.c:373:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. cvs-1.12.13/vms/piped_child.c:66:7: style: Unused variable: status [unusedVariable] cvs-1.12.13/zlib/contrib/untgz/untgz.c:328:20: style: Parameter 'newdir' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/getopt.c:373:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:116:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. cvs-1.12.13/lib/getopt.c:373:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. cvs-1.12.13/vms/piped_child.c:129:24: style: Unused variable: vmspid [unusedVariable] cvs-1.12.13/zlib/contrib/untgz/untgz.c:610:18: style: Variable 'TGZfile' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/getopt.c:374:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:117:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. cvs-1.12.13/lib/getopt.c:374:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. cvs-1.12.13/vms/piped_child.c:129:32: style: Unused variable: return_status [unusedVariable] cvs-1.12.13/zlib/contrib/minizip/iowin32.c:70:17: style: Variable 'mode_fopen' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/lib/getopt.c:374:26: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:117:32: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cvs-1.12.13/lib/getopt.c:374:26: note: Function '_getopt_internal_r' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cvs-1.12.13/lib/getopt.c:374:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:118:32: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. cvs-1.12.13/lib/getopt.c:374:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__data' definition 'd'. cvs-1.12.13/lib/getopt.c:1138:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:23:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/lib/getopt.c:1138:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. cvs-1.12.13/src/logmsg.c:114:27: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'find_type' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/logmsg.c:96:28: note: You might need to cast the function pointer here cvs-1.12.13/src/logmsg.c:114:27: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/lib/fnmatch_loop.c:1068:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/lib/getopt.c:1138:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:23:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/lib/getopt.c:1138:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. cvs-1.12.13/src/logmsg.c:116:26: style: Variable 'li' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/filesubr.c:533:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/fnmatch_loop.c:1076:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cvs-1.12.13/lib/getopt.c:1138:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:24:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. cvs-1.12.13/lib/getopt.c:1138:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. cvs-1.12.13/src/logmsg.c:132:26: style: Variable 'li' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/windows-NT/filesubr.c:881:44: style: Variable 'end_of_dirname' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/getopt.c:1139:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:25:37: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. cvs-1.12.13/lib/getopt.c:1139:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. cvs-1.12.13/lib/getopt.c:1139:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:25:54: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. cvs-1.12.13/lib/getopt.c:1139:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. cvs-1.12.13/src/ls.c:518:6: warning: Uninitialized variable: nonbranch [uninitvar] cvs-1.12.13/src/ls.c:507:27: note: Assuming condition is false cvs-1.12.13/src/ls.c:518:6: note: Uninitialized variable: nonbranch cvs-1.12.13/lib/getopt.c:1140:9: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:26:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. cvs-1.12.13/lib/getopt.c:1140:9: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. cvs-1.12.13/lib/getopt.c:1140:24: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] cvs-1.12.13/lib/getopt_int.h:26:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cvs-1.12.13/lib/getopt.c:1140:24: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:154:25: style: Variable 'lCompressedSize' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:195:24: style: Variable 'lOrigDone' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/checkout.c:595:45: style:inconclusive: Function 'checkout_proc' argument 3 names different: declaration 'where' definition 'where_orig'. [funcArgNamesDifferent] cvs-1.12.13/src/checkout.c:44:56: note: Function 'checkout_proc' argument 3 names different: declaration 'where' definition 'where_orig'. cvs-1.12.13/src/checkout.c:595:45: note: Function 'checkout_proc' argument 3 names different: declaration 'where' definition 'where_orig'. cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:210:23: style: Variable 'lOrigDone' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/checkout.c:1218:44: style:inconclusive: Function 'build_dirs_and_chdir' argument 1 names different: declaration 'list' definition 'dirs'. [funcArgNamesDifferent] cvs-1.12.13/src/checkout.c:543:55: note: Function 'build_dirs_and_chdir' argument 1 names different: declaration 'list' definition 'dirs'. cvs-1.12.13/src/checkout.c:1218:44: note: Function 'build_dirs_and_chdir' argument 1 names different: declaration 'list' definition 'dirs'. cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:236:24: style: Variable 'lOrigDone' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/lib/getopt.c:777:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:251:23: style: Variable 'lOrigDone' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/checkout.c:726:8: style: Local variable 'cp' shadows outer variable [shadowVariable] cvs-1.12.13/src/checkout.c:602:11: note: Shadowed declaration cvs-1.12.13/src/checkout.c:726:8: note: Shadow variable cvs-1.12.13/zlib/contrib/testzlib/testzlib.c:154:10: style: Variable 'lCompressedSize' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/checkout.c:547:40: style: Parameter 'dirpath' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/fitblk.c:62:23: style: Parameter 'why' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/fnmatch_loop.c:949:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] cvs-1.12.13/src/checkout.c:1157:18: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/fnmatch_loop.c:1110:8: style: Condition 'rs==string' is always false [knownConditionTrueFalse] cvs-1.12.13/src/lock.c:205:10: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:201:19: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:201:19: note: Assignment 'retval=xmalloc(strlen(config->lock_dir)+strlen(short_repos)+strlen(name)+10)', assigned value is 0 cvs-1.12.13/src/lock.c:205:10: note: Null pointer dereference cvs-1.12.13/src/lock.c:206:23: warning: If memory allocation fails, then there is a possible null pointer dereference: retval [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:201:19: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:201:19: note: Assignment 'retval=xmalloc(strlen(config->lock_dir)+strlen(short_repos)+strlen(name)+10)', assigned value is 0 cvs-1.12.13/src/lock.c:206:23: note: Null pointer dereference cvs-1.12.13/src/lock.c:1169:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct lock*)p->data [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:1168:23: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:1168:23: note: Assignment 'p->data=xmalloc(sizeof(struct lock))', assigned value is 0 cvs-1.12.13/src/lock.c:1169:6: note: Null pointer dereference cvs-1.12.13/src/lock.c:1170:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct lock*)p->data [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:1168:23: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:1168:23: note: Assignment 'p->data=xmalloc(sizeof(struct lock))', assigned value is 0 cvs-1.12.13/src/lock.c:1170:6: note: Null pointer dereference cvs-1.12.13/zlib/contrib/untgz/untgz.c:72:8: style: struct member 'tar_header::uid' is never used. [unusedStructMember] cvs-1.12.13/src/lock.c:1174:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct lock*)p->data [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:1168:23: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:1168:23: note: Assignment 'p->data=xmalloc(sizeof(struct lock))', assigned value is 0 cvs-1.12.13/src/lock.c:1174:6: note: Null pointer dereference cvs-1.12.13/zlib/contrib/untgz/untgz.c:73:8: style: struct member 'tar_header::gid' is never used. [unusedStructMember] cvs-1.12.13/src/lock.c:1175:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct lock*)p->data [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:1168:23: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:1168:23: note: Assignment 'p->data=xmalloc(sizeof(struct lock))', assigned value is 0 cvs-1.12.13/src/lock.c:1175:6: note: Null pointer dereference cvs-1.12.13/zlib/contrib/untgz/untgz.c:76:8: style: struct member 'tar_header::chksum' is never used. [unusedStructMember] cvs-1.12.13/src/lock.c:1176:6: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct lock*)p->data [nullPointerOutOfMemory] cvs-1.12.13/src/lock.c:1168:23: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:1168:23: note: Assignment 'p->data=xmalloc(sizeof(struct lock))', assigned value is 0 cvs-1.12.13/src/lock.c:1176:6: note: Null pointer dereference cvs-1.12.13/zlib/contrib/untgz/untgz.c:78:8: style: struct member 'tar_header::linkname' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:79:8: style: struct member 'tar_header::magic' is never used. [unusedStructMember] cvs-1.12.13/src/lock.c:206:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/lock.c:201:19: note: Assuming allocation function fails cvs-1.12.13/src/lock.c:201:19: note: Assignment 'retval=xmalloc(strlen(config->lock_dir)+strlen(short_repos)+strlen(name)+10)', assigned value is 0 cvs-1.12.13/src/lock.c:206:13: note: Null pointer addition cvs-1.12.13/zlib/contrib/untgz/untgz.c:80:8: style: struct member 'tar_header::version' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:81:8: style: struct member 'tar_header::uname' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:82:8: style: struct member 'tar_header::gname' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:83:8: style: struct member 'tar_header::devmajor' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/untgz/untgz.c:84:8: style: struct member 'tar_header::devminor' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:130:8: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] cvs-1.12.13/zlib/contrib/untgz/untgz.c:85:8: style: struct member 'tar_header::prefix' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:131:29: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] cvs-1.12.13/zlib/contrib/untgz/untgz.c:91:22: style: union member 'tar_buffer::buffer' is never used. [unusedStructMember] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:279:28: warning:inconclusive: Found suspicious operator '<', result is not used. [constStatement] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:280:13: warning:inconclusive: Found suspicious operator '<', result is not used. [constStatement] cvs-1.12.13/lib/regex_internal.c:1383:49: style: Parameter 'dfa' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:10:33: warning:inconclusive: Found suspicious operator '<', result is not used. [constStatement] cvs-1.12.13/lib/regex_internal.c:1433:57: style: Parameter 'dfa' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:15:12: warning:inconclusive: Found suspicious operator '>', result is not used. [constStatement] cvs-1.12.13/lib/regex_internal.c:1538:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/minigzip.c:194:12: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/minigzip.c:195:12: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:129:41: style: Parameter 'zs' can be declared as reference to const [constParameterReference] cvs-1.12.13/zlib/contrib/iostream2/zstream.h:277:41: style: Parameter 'zs' can be declared as reference to const [constParameterReference] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:7:10: style: Variable 'h' can be declared as const array [constVariable] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:8:11: style: Variable 'g' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:14:52: style: Variable 'z' can be declared as const array [constVariable] cvs-1.12.13/lib/fnmatch_loop.c:1098:30: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/src/lock.c:986:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/fnmatch_loop.c:1106:5: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/lib/fnmatch_loop.c:1114:5: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/lib/fnmatch_loop.c:1136:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/lib/fnmatch_loop.c:1151:30: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/lib/fnmatch_loop.c:1160:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] cvs-1.12.13/lib/fnmatch_loop.c:1147:24: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/lib/regex_internal.c:1324:12: style: Variable 'type' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/lib/regex_internal.c:1324:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/iostream/zfstream.cpp:221:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/lock.c:291:18: style: Variable 'saved_umask' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/iostream2/zstream_test.cpp:14:52: style: Variable 'z' is not assigned a value. [unassignedVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1136:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] cvs-1.12.13/lib/strftime.c:745:32: error: Null pointer dereference [nullPointer] cvs-1.12.13/zlib/gzio.c:122:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:264:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:302:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:412:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:521:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:816:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:866:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:944:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/gzio.c:1001:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/patch.c:547:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/src/patch.c:569:12: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/src/patch.c:81:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/patch.c:77:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/patch.c:81:25: note: Invalid argument cvs-1.12.13/zlib/examples/gzjoin.c:208:9: warning: Either the condition 'in==NULL' is redundant or there is possible null pointer dereference: in. [nullPointerRedundantCheck] cvs-1.12.13/zlib/examples/gzjoin.c:292:12: note: Assuming that condition 'in==NULL' is not redundant cvs-1.12.13/zlib/examples/gzjoin.c:294:12: note: Calling function 'gzhead', 1st argument 'in' value is 0 cvs-1.12.13/zlib/examples/gzjoin.c:208:9: note: Null pointer dereference cvs-1.12.13/zlib/examples/gzjoin.c:65:22: style: Parameter 'why1' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzjoin.c:65:34: style: Parameter 'why2' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/patch.c:707:22: style: Condition 'line_length<0' is always true [knownConditionTrueFalse] cvs-1.12.13/src/patch.c:705:6: note: Assuming that condition '(line_length=getline(&line1,&line1_chars_allocated,fp))>=0' is not redundant cvs-1.12.13/src/patch.c:707:22: note: Condition 'line_length<0' is always true cvs-1.12.13/zlib/examples/gzappend.c:368:5: warning: Return value of function deflateSetDictionary() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/examples/gzappend.c:374:9: warning: Return value of function deflatePrime() is not used. [ignoredReturnValue] cvs-1.12.13/src/patch.c:290:19: warning: If memory allocation fails, then there is a possible null pointer dereference: where [nullPointerOutOfMemory] cvs-1.12.13/src/patch.c:287:21: note: Assuming allocation function fails cvs-1.12.13/src/patch.c:287:21: note: Assignment 'where=xmalloc(strlen(argv[0])+(mfile==NULL?0:strlen(mfile)+1)+1)', assigned value is 0 cvs-1.12.13/src/patch.c:290:19: note: Null pointer dereference cvs-1.12.13/src/patch.c:439:3: warning: If memory allocation fails, then there is a possible null pointer dereference: date1 [nullPointerOutOfMemory] cvs-1.12.13/src/patch.c:438:22: note: Assuming allocation function fails cvs-1.12.13/src/patch.c:438:22: note: Assignment 'date1=xmalloc(50)', assigned value is 0 cvs-1.12.13/src/patch.c:439:3: note: Null pointer dereference cvs-1.12.13/src/entries.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:46:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:47:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:47:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:48:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:48:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:49:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:49:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:50:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:50:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:51:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:52:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:45:19: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:45:19: note: Assignment 'ent=xmalloc(sizeof(struct Entnode))', assigned value is 0 cvs-1.12.13/src/entries.c:53:5: note: Null pointer dereference cvs-1.12.13/src/entries.c:455:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:454:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:454:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:455:10: note: Null pointer dereference cvs-1.12.13/src/entries.c:456:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:454:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:454:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:456:2: note: Null pointer dereference cvs-1.12.13/src/entries.c:457:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:454:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:454:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:457:2: note: Null pointer dereference cvs-1.12.13/src/entries.c:458:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:454:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:454:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:458:2: note: Null pointer dereference cvs-1.12.13/src/entries.c:459:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:454:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:454:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:459:2: note: Null pointer dereference cvs-1.12.13/src/entries.c:526:10: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:525:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:525:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:526:10: note: Null pointer dereference cvs-1.12.13/src/entries.c:527:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sdtp [nullPointerOutOfMemory] cvs-1.12.13/src/entries.c:525:17: note: Assuming allocation function fails cvs-1.12.13/src/entries.c:525:17: note: Assignment 'sdtp=xmalloc(sizeof(*sdtp))', assigned value is 0 cvs-1.12.13/src/entries.c:527:2: note: Null pointer dereference cvs-1.12.13/zlib/examples/gzappend.c:91:22: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzappend.c:91:34: style: Parameter 'msg2' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzappend.c:125:20: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/examples/gzappend.c:386:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/lib/strftime.c:1350:8: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] cvs-1.12.13/src/entries.c:544:22: style:inconclusive: Function 'Entries_Close' argument 1 names different: declaration 'entries' definition 'list'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:460:27: note: Function 'Entries_Close' argument 1 names different: declaration 'entries' definition 'list'. cvs-1.12.13/src/entries.c:544:22: note: Function 'Entries_Close' argument 1 names different: declaration 'entries' definition 'list'. cvs-1.12.13/src/entries.c:575:36: style:inconclusive: Function 'AddEntryNode' argument 2 names different: declaration 'entnode' definition 'entdata'. [funcArgNamesDifferent] cvs-1.12.13/src/entries.c:22:50: note: Function 'AddEntryNode' argument 2 names different: declaration 'entnode' definition 'entdata'. cvs-1.12.13/src/entries.c:575:36: note: Function 'AddEntryNode' argument 2 names different: declaration 'entnode' definition 'entdata'. cvs-1.12.13/src/entries.c:609:44: style:inconclusive: Function 'WriteTemplate' argument 2 names different: declaration 'dotemplate' definition 'xdotemplate'. [funcArgNamesDifferent] cvs-1.12.13/src/cvs.h:582:49: note: Function 'WriteTemplate' argument 2 names different: declaration 'dotemplate' definition 'xdotemplate'. cvs-1.12.13/src/entries.c:609:44: note: Function 'WriteTemplate' argument 2 names different: declaration 'dotemplate' definition 'xdotemplate'. cvs-1.12.13/src/patch.c:756:22: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'patch_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/patch.c:357:50: note: You might need to cast the function pointer here cvs-1.12.13/src/patch.c:756:22: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/patch.c:757:46: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'patch_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/patch.c:357:50: note: You might need to cast the function pointer here cvs-1.12.13/src/patch.c:757:46: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/zlib/inftrees.c:34:21: style: Parameter 'lens' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/entries.c:133:23: style: Variable 'sdtp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:272:15: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:272:22: style: Variable 'vn' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:272:32: style: Variable 'options' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:273:25: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:273:31: style: Variable 'date' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/entries.c:385:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/mkmodules.c:1199:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1193:20: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1193:20: note: Assignment 'info=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1199:10: note: Null pointer dereference cvs-1.12.13/src/mkmodules.c:1200:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1193:20: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1193:20: note: Assignment 'info=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1200:10: note: Null pointer dereference cvs-1.12.13/src/mkmodules.c:1201:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1193:20: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1193:20: note: Assignment 'info=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1201:10: note: Null pointer dereference cvs-1.12.13/src/mkmodules.c:1202:10: warning: If memory allocation fails, then there is a possible null pointer dereference: info_v [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1194:22: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1194:22: note: Assignment 'info_v=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1202:10: note: Null pointer dereference cvs-1.12.13/src/mkmodules.c:1202:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: info [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1193:20: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1193:20: note: Assignment 'info=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1202:18: note: Null pointer dereference cvs-1.12.13/src/mkmodules.c:1203:10: warning: If memory allocation fails, then there is a possible null pointer dereference: info_v [nullPointerOutOfMemory] cvs-1.12.13/src/mkmodules.c:1194:22: note: Assuming allocation function fails cvs-1.12.13/src/mkmodules.c:1194:22: note: Assignment 'info_v=xmalloc(strlen(adm)+80)', assigned value is 0 cvs-1.12.13/src/mkmodules.c:1197:24: note: Assuming condition is false cvs-1.12.13/src/mkmodules.c:1203:10: note: Null pointer dereference cvs-1.12.13/src/patch.c:659:7: style: Variable 'rcs' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/mkmodules.c:1011:23: style: Parameter 'temp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzlog.c:149:9: error: Resource leak: log.fd [resourceLeak] cvs-1.12.13/src/expand_path.c:343:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cvs-1.12.13/diff/io.c:320:37: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] cvs-1.12.13/diff/io.c:406:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/io.c:700:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/zlib/examples/gzlog.c:226:23: style:inconclusive: Function 'gzlog_write' argument 1 names different: declaration 'log' definition 'obj'. [funcArgNamesDifferent] cvs-1.12.13/zlib/examples/gzlog.h:51:23: note: Function 'gzlog_write' argument 1 names different: declaration 'log' definition 'obj'. cvs-1.12.13/zlib/examples/gzlog.c:226:23: note: Function 'gzlog_write' argument 1 names different: declaration 'log' definition 'obj'. cvs-1.12.13/zlib/examples/gzlog.c:365:23: style:inconclusive: Function 'gzlog_close' argument 1 names different: declaration 'log' definition 'obj'. [funcArgNamesDifferent] cvs-1.12.13/zlib/examples/gzlog.h:58:23: note: Function 'gzlog_close' argument 1 names different: declaration 'log' definition 'obj'. cvs-1.12.13/zlib/examples/gzlog.c:365:23: note: Function 'gzlog_close' argument 1 names different: declaration 'log' definition 'obj'. cvs-1.12.13/zlib/examples/gzlog.c:71:45: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzlog.c:83:37: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/examples/gzlog.c:132:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/example.c:112:5: warning: Return value of function gzseek() is not used. [ignoredReturnValue] cvs-1.12.13/zlib/example.c:404:5: warning: Return value of function inflate() is not used. [ignoredReturnValue] cvs-1.12.13/src/expand_path.c:60:14: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] cvs-1.12.13/src/expand_path.c:59:20: note: Assuming allocation function fails cvs-1.12.13/src/expand_path.c:59:20: note: Assignment 'name=xmalloc(p-nameval+1)', assigned value is 0 cvs-1.12.13/src/expand_path.c:60:14: note: Null pointer dereference cvs-1.12.13/src/expand_path.c:61:5: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] cvs-1.12.13/src/expand_path.c:59:20: note: Assuming allocation function fails cvs-1.12.13/src/expand_path.c:59:20: note: Assignment 'name=xmalloc(p-nameval+1)', assigned value is 0 cvs-1.12.13/src/expand_path.c:61:5: note: Null pointer dereference cvs-1.12.13/diff/io.c:610:5: warning: If memory allocation fails, then there is a possible null pointer dereference: linbuf1 [nullPointerOutOfMemory] cvs-1.12.13/diff/io.c:597:37: note: Assuming allocation function fails cvs-1.12.13/diff/io.c:597:13: note: Assignment 'linbuf1=(const char**)xmalloc(alloc_lines1*sizeof(*linbuf1))', assigned value is 0 cvs-1.12.13/diff/io.c:610:5: note: Null pointer dereference cvs-1.12.13/src/expand_path.c:359:14: warning: Either the condition '!e' is redundant or there is possible null pointer dereference: e. [nullPointerRedundantCheck] cvs-1.12.13/src/expand_path.c:356:6: note: Assuming that condition '!e' is not redundant cvs-1.12.13/src/expand_path.c:359:14: note: Null pointer dereference cvs-1.12.13/src/expand_path.c:361:19: warning: Either the condition '!e' is redundant or there is possible null pointer dereference: e. [nullPointerRedundantCheck] cvs-1.12.13/src/expand_path.c:356:6: note: Assuming that condition '!e' is not redundant cvs-1.12.13/src/expand_path.c:361:19: note: Null pointer dereference cvs-1.12.13/diff/io.c:615:31: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/diff/io.c:597:37: note: Assuming allocation function fails cvs-1.12.13/diff/io.c:597:13: note: Assignment 'linbuf1=(const char**)xmalloc(alloc_lines1*sizeof(*linbuf1))', assigned value is 0 cvs-1.12.13/diff/io.c:615:31: note: Null pointer addition cvs-1.12.13/diff/io.c:700:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/diff/io.c:699:29: note: Assuming allocation function fails cvs-1.12.13/diff/io.c:699:13: note: Assignment 'buckets=(int*)xmalloc((nbuckets+1)*sizeof(*buckets))', assigned value is 0 cvs-1.12.13/diff/io.c:700:17: note: Null pointer addition cvs-1.12.13/src/parseinfo.c:293:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/parseinfo.c:289:34: note: Assuming allocation function fails cvs-1.12.13/src/parseinfo.c:289:34: note: Assignment 'new=xcalloc(1,sizeof(struct config))', assigned value is 0 cvs-1.12.13/src/parseinfo.c:293:5: note: Null pointer dereference cvs-1.12.13/src/parseinfo.c:294:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/parseinfo.c:289:34: note: Assuming allocation function fails cvs-1.12.13/src/parseinfo.c:289:34: note: Assignment 'new=xcalloc(1,sizeof(struct config))', assigned value is 0 cvs-1.12.13/src/parseinfo.c:294:5: note: Null pointer dereference cvs-1.12.13/src/parseinfo.c:295:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/parseinfo.c:289:34: note: Assuming allocation function fails cvs-1.12.13/src/parseinfo.c:289:34: note: Assignment 'new=xcalloc(1,sizeof(struct config))', assigned value is 0 cvs-1.12.13/src/parseinfo.c:295:5: note: Null pointer dereference cvs-1.12.13/src/parseinfo.c:296:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/parseinfo.c:289:34: note: Assuming allocation function fails cvs-1.12.13/src/parseinfo.c:289:34: note: Assignment 'new=xcalloc(1,sizeof(struct config))', assigned value is 0 cvs-1.12.13/src/parseinfo.c:296:5: note: Null pointer dereference cvs-1.12.13/src/diff.c:322:30: warning: Either the condition 'argc==-1' is redundant or getopt_long() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/diff.c:290:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/diff.c:322:30: note: Invalid argument cvs-1.12.13/zlib/example.c:334:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'uLong {aka unsigned long}'. [invalidPrintfArgType_sint] cvs-1.12.13/src/parseinfo.c:487:17: style: Variable 'tmproot' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/expand_path.c:342:21: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/diff/diff.c:737:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff.c:966:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff.c:1046:23: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] cvs-1.12.13/diff/diff.c:1257:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff.c:1258:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff.c:1266:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff.c:1070:12: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] cvs-1.12.13/src/diff.c:288:11: style: Variable 'diff_orig1' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/diff.c:288:24: style: Variable 'diff_orig2' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/diff.c:834:21: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'diff_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:63: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:834:21: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/diff/diff.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:94:20: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:94:20: note: Assignment 'result=xmalloc(length+1)', assigned value is 0 cvs-1.12.13/diff/diff.c:95:3: note: Null pointer dereference cvs-1.12.13/src/diff.c:835:45: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'diff_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:63: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:835:45: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/diff/diff.c:99:15: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:94:20: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:94:20: note: Assignment 'result=xmalloc(length+1)', assigned value is 0 cvs-1.12.13/diff/diff.c:99:15: note: Null pointer dereference cvs-1.12.13/src/diff.c:855:27: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'diff_filesdoneproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:43: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:855:27: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/diff/diff.c:100:15: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:94:20: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:94:20: note: Assignment 'result=xmalloc(length+1)', assigned value is 0 cvs-1.12.13/diff/diff.c:100:15: note: Null pointer dereference cvs-1.12.13/src/diff.c:856:51: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'diff_filesdoneproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:43: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:856:51: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/diff/diff.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exclude [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:145:19: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:143:15: note: Assignment 'exclude=(const char**)(exclude_alloc==0?xmalloc((exclude_alloc=64)*sizeof(*exclude)):xrealloc(exclude,(exclude_alloc*=2)*sizeof(*exclude)))', assigned value is 0 cvs-1.12.13/diff/diff.c:148:3: note: Null pointer dereference cvs-1.12.13/src/diff.c:868:26: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'diff_dirleaveproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:460:28: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:868:26: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/diff/diff.c:359:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:349:24: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:349:24: note: Assignment 'b=xmalloc(sizeof(C_ifdef_group_formats)+7*strlen(optarg)-14-8)', assigned value is 0 cvs-1.12.13/diff/diff.c:359:16: note: Null pointer dereference cvs-1.12.13/src/diff.c:869:50: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'diff_dirleaveproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:460:28: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:869:50: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/diff/diff.c:737:10: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:736:38: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:736:7: note: Assignment 'r=(struct regexp_list*)xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/diff/diff.c:737:10: note: Null pointer dereference cvs-1.12.13/diff/diff.c:738:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:736:38: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:736:7: note: Assignment 'r=(struct regexp_list*)xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/diff/diff.c:738:3: note: Null pointer dereference cvs-1.12.13/diff/diff.c:744:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:736:38: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:736:7: note: Assignment 'r=(struct regexp_list*)xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/diff/diff.c:744:3: note: Null pointer dereference cvs-1.12.13/diff/diff.c:864:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/diff/diff.c:349:24: note: Assuming allocation function fails cvs-1.12.13/diff/diff.c:349:24: note: Assignment 'b=xmalloc(sizeof(C_ifdef_group_formats)+7*strlen(optarg)-14-8)', assigned value is 0 cvs-1.12.13/diff/diff.c:358:44: note: Calling function 'specify_format', 2nd argument 'b' value is 0 cvs-1.12.13/diff/diff.c:864:34: note: Null pointer dereference getdate.y:1101:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] getdate.y:1163:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] getdate.y:1387:27: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/diff/diff.c:145:41: style: Argument '(exclude_alloc=64)*sizeof(*exclude)' to function xmalloc is always 512. It does not matter what value 'exclude_alloc' has. [knownArgument] getdate.c:1243:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] getdate.c:1240:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 getdate.c:1241:11: note: Assuming that condition 'yyn<=0' is not redundant getdate.c:1243:15: note: Condition 'yyn==0' is always true getdate.y:996:17: style: Condition 'sign<0' is always false [knownConditionTrueFalse] getdate.y:968:17: note: Assuming that condition 'sign<0' is not redundant getdate.y:982:18: note: Assuming condition is false getdate.y:996:17: note: Condition 'sign<0' is always false getdate.y:1028:11: style: Condition '0textintval.value' is always false [knownConditionTrueFalse] getdate.y:1027:31: note: Assignment 'lvalp->textintval.value=-value', assigned value is less than 1 getdate.y:1028:11: note: Condition '0textintval.value' is always false getdate.y:1281:34: style: Condition 'pc.local_time_zone_table[0].name' is always false [knownConditionTrueFalse] getdate.y:1277:38: note: Assignment 'pc.local_time_zone_table[0].name=NULL', assigned value is 0 getdate.y:1281:34: note: Condition 'pc.local_time_zone_table[0].name' is always false cvs-1.12.13/zlib/inffast.c:73:24: style: Variable 'last' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inffast.c:75:24: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inffast.c:76:24: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inffast.c:83:24: style: Variable 'window' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:1254:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/import.c:102:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/import.c:84:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/import.c:102:25: note: Invalid argument getdate.y:940:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] getdate.y:852:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] getdate.y:1084:26: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] getdate.y:1084:53: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/crc32.c:236:13: style: Condition '*((unsigned char*)(&endian))' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/crc32.c:235:18: note: Assignment 'endian=1', assigned value is 1 cvs-1.12.13/zlib/crc32.c:236:13: note: Condition '*((unsigned char*)(&endian))' is always true cvs-1.12.13/src/import.c:265:3: warning: If memory allocation fails, then there is a possible null pointer dereference: nm [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:264:21: note: Assuming allocation function fails cvs-1.12.13/src/import.c:264:21: note: Assignment 'nm=xmalloc(msglen+2)', assigned value is 0 cvs-1.12.13/src/import.c:265:3: note: Null pointer dereference cvs-1.12.13/src/import.c:329:5: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:328:18: note: Assuming allocation function fails cvs-1.12.13/src/import.c:328:18: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/import.c:329:5: note: Null pointer dereference cvs-1.12.13/src/import.c:330:5: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:328:18: note: Assuming allocation function fails cvs-1.12.13/src/import.c:328:18: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/import.c:330:5: note: Null pointer dereference cvs-1.12.13/src/import.c:331:5: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:328:18: note: Assuming allocation function fails cvs-1.12.13/src/import.c:328:18: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/import.c:331:5: note: Null pointer dereference cvs-1.12.13/src/import.c:331:19: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:328:18: note: Assuming allocation function fails cvs-1.12.13/src/import.c:328:18: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/import.c:331:19: note: Null pointer dereference cvs-1.12.13/src/import.c:1094:35: warning: Either the condition 'add_vhead==NULL' is redundant or there is possible null pointer dereference: add_vhead. [nullPointerRedundantCheck] cvs-1.12.13/src/import.c:1089:16: note: Assuming that condition 'add_vhead==NULL' is not redundant cvs-1.12.13/src/import.c:1094:35: note: Null pointer dereference cvs-1.12.13/src/import.c:1095:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dead_revision [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:1094:26: note: Assuming allocation function fails cvs-1.12.13/src/import.c:1094:26: note: Assignment 'dead_revision=xmalloc(strlen(add_vhead)+2)', assigned value is 0 cvs-1.12.13/src/import.c:1095:10: note: Null pointer dereference cvs-1.12.13/src/import.c:1095:25: warning: Either the condition 'add_vhead==NULL' is redundant or there is possible null pointer dereference: add_vhead. [nullPointerRedundantCheck] cvs-1.12.13/src/import.c:1089:16: note: Assuming that condition 'add_vhead==NULL' is not redundant cvs-1.12.13/src/import.c:1095:25: note: Null pointer dereference cvs-1.12.13/src/import.c:1100:29: warning: If memory allocation fails, then there is a possible null pointer dereference: dead_revision [nullPointerOutOfMemory] cvs-1.12.13/src/import.c:1094:26: note: Assuming allocation function fails cvs-1.12.13/src/import.c:1094:26: note: Assignment 'dead_revision=xmalloc(strlen(add_vhead)+2)', assigned value is 0 cvs-1.12.13/src/import.c:1100:29: note: Null pointer dereference cvs-1.12.13/src/import.c:271:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/import.c:264:21: note: Assuming allocation function fails cvs-1.12.13/src/import.c:264:21: note: Assignment 'nm=xmalloc(msglen+2)', assigned value is 0 cvs-1.12.13/src/import.c:271:20: note: Null pointer addition cvs-1.12.13/zlib/crc32.c:343:20: style: Parameter 'mat' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/watch.c:502:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/watch.c:498:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/watch.c:502:25: note: Invalid argument cvs-1.12.13/src/import.c:584:12: style: Variable 'our_opt' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:674:11: style: Variable 'expand' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:979:16: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:1067:16: style: Variable 'ftm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:1070:11: style: Variable 'author' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/import.c:1661:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/watch.c:95:5: warning: If memory allocation fails, then there is a possible null pointer dereference: mynewattr [nullPointerOutOfMemory] cvs-1.12.13/src/watch.c:94:25: note: Assuming allocation function fails cvs-1.12.13/src/watch.c:94:25: note: Assignment 'mynewattr=xmalloc(mynewattr_size)', assigned value is 0 cvs-1.12.13/src/watch.c:95:5: note: Null pointer dereference cvs-1.12.13/src/watch.c:34:65: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/watch.c:40:11: style: Variable 'who' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/watch.c:220:56: style: Parameter 'finfo' can be declared as pointer to const. However it seems that 'addremove_fileproc' is a callback function, if 'finfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/watch.c:369:3: note: You might need to cast the function pointer here cvs-1.12.13/src/watch.c:220:56: note: Parameter 'finfo' can be declared as pointer to const cvs-1.12.13/src/watch.c:443:55: style: Parameter 'finfo' can be declared as pointer to const. However it seems that 'watchers_fileproc' is a callback function, if 'finfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/watch.c:537:29: note: You might need to cast the function pointer here cvs-1.12.13/src/watch.c:443:55: note: Parameter 'finfo' can be declared as pointer to const cvs-1.12.13/src/watch.c:446:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/history.c:392:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/src/history.c:1558:11: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/history.c:1561:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cvs-1.12.13/src/history.c:430:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/history.c:422:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/history.c:430:25: note: Invalid argument cvs-1.12.13/src/history.c:1569:21: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: workdir [nullPointerOutOfMemory] cvs-1.12.13/src/history.c:1567:20: note: Assuming allocation function fails cvs-1.12.13/src/history.c:1567:20: note: Assignment 'workdir=xmalloc(strlen(lr->dir)+strlen(lr->end)+10)', assigned value is 0 cvs-1.12.13/src/history.c:1569:21: note: Null pointer dereference cvs-1.12.13/src/history.c:1577:17: warning: If memory allocation fails, then there is a possible null pointer dereference: repos [nullPointerOutOfMemory] cvs-1.12.13/src/history.c:1576:18: note: Assuming allocation function fails cvs-1.12.13/src/history.c:1576:18: note: Assignment 'repos=xmalloc(strlen(lr->repos)+10)', assigned value is 0 cvs-1.12.13/src/history.c:1577:17: note: Null pointer dereference cvs-1.12.13/src/history.c:1578:21: warning: If memory allocation fails, then there is a possible null pointer dereference: repos [nullPointerOutOfMemory] cvs-1.12.13/src/history.c:1576:18: note: Assuming allocation function fails cvs-1.12.13/src/history.c:1576:18: note: Assignment 'repos=xmalloc(strlen(lr->repos)+10)', assigned value is 0 cvs-1.12.13/src/history.c:1578:21: note: Null pointer dereference cvs-1.12.13/src/history.c:1627:27: warning: Function 'accept_hrec' argument order different: declaration 'hr, lr' definition 'lr, hr' [funcArgOrderDifferent] cvs-1.12.13/src/history.c:211:39: note: Function 'accept_hrec' argument order different: declaration 'hr, lr' definition 'lr, hr' cvs-1.12.13/src/history.c:1627:27: note: Function 'accept_hrec' argument order different: declaration 'hr, lr' definition 'lr, hr' cvs-1.12.13/src/edit.c:397:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/src/edit.c:397:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/edit.c:640:14: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] cvs-1.12.13/src/edit.c:640:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/history.c:949:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/history.c:1011:20: style: Parameter 'module' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:469:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/edit.c:459:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/edit.c:469:25: note: Invalid argument cvs-1.12.13/src/history.c:1107:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'read_hrecs_file' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/history.c:1219:35: note: You might need to cast the function pointer here cvs-1.12.13/src/history.c:1107:24: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/edit.c:733:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/edit.c:729:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/edit.c:733:25: note: Invalid argument cvs-1.12.13/src/history.c:1246:15: style: Parameter 'find' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/history.c:1246:27: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/history.c:1478:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:1195:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/edit.c:1191:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/edit.c:1195:25: note: Invalid argument cvs-1.12.13/src/history.c:1627:44: style: Parameter 'hr' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:1057:12: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] cvs-1.12.13/src/edit.c:1056:17: note: Assuming allocation function fails cvs-1.12.13/src/edit.c:1056:17: note: Assignment 'tmp=xmalloc(endp-p+1)', assigned value is 0 cvs-1.12.13/src/edit.c:1057:12: note: Null pointer dereference cvs-1.12.13/src/edit.c:1058:3: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] cvs-1.12.13/src/edit.c:1056:17: note: Assuming allocation function fails cvs-1.12.13/src/edit.c:1056:17: note: Assignment 'tmp=xmalloc(endp-p+1)', assigned value is 0 cvs-1.12.13/src/edit.c:1058:3: note: Null pointer dereference cvs-1.12.13/src/edit.c:258:56: style:inconclusive: Function 'editors_output' argument 2 names different: declaration 'them' definition 'p'. [funcArgNamesDifferent] cvs-1.12.13/src/edit.h:42:56: note: Function 'editors_output' argument 2 names different: declaration 'them' definition 'p'. cvs-1.12.13/src/edit.c:258:56: note: Function 'editors_output' argument 2 names different: declaration 'them' definition 'p'. cvs-1.12.13/src/edit.c:870:56: style:inconclusive: Function 'notify_do' argument 3 names different: declaration 'upadte_dir' definition 'update_dir'. [funcArgNamesDifferent] cvs-1.12.13/src/edit.h:28:68: note: Function 'notify_do' argument 3 names different: declaration 'upadte_dir' definition 'update_dir'. cvs-1.12.13/src/edit.c:870:56: note: Function 'notify_do' argument 3 names different: declaration 'upadte_dir' definition 'update_dir'. cvs-1.12.13/src/edit.c:374:15: style: Local variable 'editors' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:859:5: note: Shadowed declaration cvs-1.12.13/src/edit.c:374:15: note: Shadow variable cvs-1.12.13/src/edit.c:876:11: style: Local variable 'watchers' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:860:5: note: Shadowed declaration cvs-1.12.13/src/edit.c:876:11: note: Shadow variable cvs-1.12.13/src/edit.c:886:8: style: Local variable 'editors' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:859:5: note: Shadowed declaration cvs-1.12.13/src/edit.c:886:8: note: Shadow variable cvs-1.12.13/src/edit.c:1009:30: style: Local variable 'args' shadows outer variable [shadowVariable] cvs-1.12.13/src/edit.c:875:27: note: Shadowed declaration cvs-1.12.13/src/edit.c:1009:30: note: Shadow variable cvs-1.12.13/src/edit.c:33:52: style: Parameter 'finfo' can be declared as pointer to const. However it seems that 'onoff_fileproc' is a callback function, if 'finfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/edit.c:104:28: note: You might need to cast the function pointer here cvs-1.12.13/src/edit.c:33:52: note: Parameter 'finfo' can be declared as pointer to const cvs-1.12.13/src/edit.c:129:23: style: Parameter 'callerdat' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:129:52: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:145:53: style: Parameter 'finfo' can be declared as pointer to const. However it seems that 'ncheck_fileproc' is a callback function, if 'finfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/edit.c:248:26: note: You might need to cast the function pointer here cvs-1.12.13/src/edit.c:145:53: note: Parameter 'finfo' can be declared as pointer to const cvs-1.12.13/src/edit.c:151:11: style: Variable 'watches' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:298:55: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/edit.c:300:11: style: Variable 'them' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:351:14: style: Variable 'vers' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:671:11: style: Variable 'entdata' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:877:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/edit.c:934:8: style: Variable 'notif' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/update.c:163:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/update.c:152:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/update.c:163:25: note: Invalid argument cvs-1.12.13/src/update.c:1926:27: style: Condition 'special_file_mismatch(finfo,NULL,vers->vn_rcs)' is always false [knownConditionTrueFalse] cvs-1.12.13/src/update.c:1926:27: note: Calling function 'special_file_mismatch' returns 0 cvs-1.12.13/src/update.c:1926:27: note: Condition 'special_file_mismatch(finfo,NULL,vers->vn_rcs)' is always false cvs-1.12.13/src/update.c:2189:15: style: Condition 'rev1!=NULL' is always true [knownConditionTrueFalse] cvs-1.12.13/src/update.c:2215:15: style: Condition 'rev1!=NULL' is always true [knownConditionTrueFalse] cvs-1.12.13/src/update.c:2493:32: style: Condition 'special_file_mismatch(finfo,rev1,rev2)' is always false [knownConditionTrueFalse] cvs-1.12.13/src/update.c:2493:32: note: Calling function 'special_file_mismatch' returns 0 cvs-1.12.13/src/update.c:2493:32: note: Condition 'special_file_mismatch(finfo,rev1,rev2)' is always false cvs-1.12.13/lib/fnmatch_loop.c:959:18: style:inconclusive: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] cvs-1.12.13/lib/fnmatch_loop.c:23:37: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. cvs-1.12.13/lib/fnmatch_loop.c:959:18: note: Function 'end_pattern' argument 1 names different: declaration 'patternp' definition 'pattern'. cvs-1.12.13/src/update.c:2060:46: style:inconclusive: Function 'join_file' argument 2 names different: declaration 'vers_ts' definition 'vers'. [funcArgNamesDifferent] cvs-1.12.13/src/update.c:80:58: note: Function 'join_file' argument 2 names different: declaration 'vers_ts' definition 'vers'. cvs-1.12.13/src/update.c:2060:46: note: Function 'join_file' argument 2 names different: declaration 'vers_ts' definition 'vers'. cvs-1.12.13/src/update.c:1827:8: style: Local variable 'tag' shadows outer variable [shadowVariable] cvs-1.12.13/src/update.c:83:14: note: Shadowed declaration cvs-1.12.13/src/update.c:1827:8: note: Shadow variable cvs-1.12.13/src/update.c:150:4: style: Variable 'join_orig1' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/update.c:150:17: style: Variable 'join_orig2' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/update.c:1061:30: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'isremoved' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/update.c:1118:32: note: You might need to cast the function pointer here cvs-1.12.13/src/update.c:1061:30: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/update.c:1079:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/update.c:1823:33: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/update.c:1827:8: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/update.c:2603:42: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/update.c:2603:55: style: Parameter 'rev1' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/update.c:2603:67: style: Parameter 'rev2' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/update.c:1276:25: warning: Uninitialized variable: status [uninitvar] cvs-1.12.13/src/update.c:1232:9: note: Assuming condition is false cvs-1.12.13/src/update.c:1276:25: note: Uninitialized variable: status cvs-1.12.13/src/update.c:1315:12: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/update.c:2352:13: style: Variable 'status' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/lib/quotearg.c:126:4: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] cvs-1.12.13/lib/quotearg.c:125:39: note: Assuming allocation function fails cvs-1.12.13/lib/quotearg.c:125:39: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 cvs-1.12.13/lib/quotearg.c:126:4: note: Null pointer dereference cvs-1.12.13/lib/quotearg.c:597:5: warning: If memory allocation fails, then there is a possible null pointer dereference: slotvec [nullPointerOutOfMemory] cvs-1.12.13/lib/quotearg.c:596:22: note: Assuming allocation function fails cvs-1.12.13/lib/quotearg.c:596:22: note: Assignment 'slotvec=xmalloc(sizeof(*slotvec))', assigned value is 0 cvs-1.12.13/lib/quotearg.c:597:5: note: Null pointer dereference cvs-1.12.13/zlib/contrib/minizip/minizip.c:326:39: warning:inconclusive: Logical disjunction always evaluates to true: argv[i][1] >= '0' || argv[i][1] <= '9'. [incorrectLogicOperator] cvs-1.12.13/zlib/contrib/minizip/minizip.c:182:5: warning: %x in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] cvs-1.12.13/zlib/contrib/minizip/minizip.c:283:27: warning:inconclusive: Width 1 given in format string (no. 1) is smaller than destination buffer 'answer[128]'. [invalidScanfFormatWidth_smaller] cvs-1.12.13/zlib/contrib/minizip/minizip.c:351:21: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/zlib/contrib/minizip/minizip.c:349:25: note: err is assigned cvs-1.12.13/zlib/contrib/minizip/minizip.c:351:21: note: err is overwritten cvs-1.12.13/zlib/contrib/minizip/minizip.c:251:13: style: Local variable 'i' shadows outer variable [shadowVariable] cvs-1.12.13/zlib/contrib/minizip/minizip.c:190:9: note: Shadowed declaration cvs-1.12.13/zlib/contrib/minizip/minizip.c:251:13: note: Shadow variable cvs-1.12.13/zlib/contrib/minizip/minizip.c:105:11: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/minizip.c:106:13: style: Parameter 'tmzip' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/minizip.c:107:12: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/minizip.c:395:21: warning: Uninitialized variable: fin [uninitvar] cvs-1.12.13/zlib/contrib/minizip/minizip.c:359:25: note: Assuming condition is true cvs-1.12.13/zlib/contrib/minizip/minizip.c:395:21: note: Uninitialized variable: fin cvs-1.12.13/zlib/contrib/minizip/minizip.c:154:29: style: Variable 'total_read' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/minizip.c:174:24: style: Variable 'total_read' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/subr.c:188:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/src/subr.c:188:49: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cvs-1.12.13/src/subr.c:318:15: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] cvs-1.12.13/src/subr.c:325:33: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] cvs-1.12.13/src/subr.c:1208:14: style: Condition 'length==-1' is always false [knownConditionTrueFalse] cvs-1.12.13/src/subr.c:1307:14: style: Condition 'length==-1' is always false [knownConditionTrueFalse] cvs-1.12.13/src/subr.c:1356:14: style: Condition 'length!=-1' is always true [knownConditionTrueFalse] cvs-1.12.13/src/subr.c:257:13: warning: If memory allocation fails, then there is a possible null pointer dereference: newrev [nullPointerOutOfMemory] cvs-1.12.13/src/subr.c:256:22: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:256:22: note: Assignment 'newrev=xmalloc(len+2)', assigned value is 0 cvs-1.12.13/src/subr.c:257:13: note: Null pointer dereference cvs-1.12.13/src/subr.c:383:6: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cvs-1.12.13/src/subr.c:395:9: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/subr.c:394:15: note: Assignment to 'p=strrchr(tmp,'.')' cvs-1.12.13/src/subr.c:382:7: note: p is assigned 'strrchr(tmp,'.')' here. cvs-1.12.13/src/subr.c:383:6: note: Null pointer dereference cvs-1.12.13/src/subr.c:447:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] cvs-1.12.13/src/subr.c:435:23: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:435:13: note: Assignment 'g=gca=xmalloc(strlen(rev1)+strlen(rev2)+100)', assigned value is 0 cvs-1.12.13/src/subr.c:447:15: note: Null pointer dereference cvs-1.12.13/src/subr.c:590:45: warning: Either the condition 'fp==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] cvs-1.12.13/src/subr.c:588:12: note: Assuming that condition 'fp==NULL' is not redundant cvs-1.12.13/src/subr.c:590:45: note: Null pointer dereference cvs-1.12.13/src/subr.c:1095:2: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] cvs-1.12.13/src/subr.c:1092:13: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:1092:13: note: Assignment 'b=xmalloc(sizeof(struct cmdline_bindings))', assigned value is 0 cvs-1.12.13/src/subr.c:1095:2: note: Null pointer dereference cvs-1.12.13/src/subr.c:1096:2: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] cvs-1.12.13/src/subr.c:1092:13: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:1092:13: note: Assignment 'b=xmalloc(sizeof(struct cmdline_bindings))', assigned value is 0 cvs-1.12.13/src/subr.c:1096:2: note: Null pointer dereference cvs-1.12.13/src/subr.c:1173:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] cvs-1.12.13/src/subr.c:1172:16: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:1172:16: note: Assignment 'buf=xmalloc(strlen(conversion)+2)', assigned value is 0 cvs-1.12.13/src/subr.c:1173:3: note: Null pointer dereference cvs-1.12.13/src/subr.c:1966:27: warning: Either the condition '!fqdns' is redundant or there is possible null pointer dereference: fqdns. [nullPointerRedundantCheck] cvs-1.12.13/src/subr.c:1962:9: note: Assuming that condition '!fqdns' is not redundant cvs-1.12.13/src/subr.c:1966:27: note: Null pointer dereference cvs-1.12.13/src/subr.c:258:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/subr.c:256:22: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:256:22: note: Assignment 'newrev=xmalloc(len+2)', assigned value is 0 cvs-1.12.13/src/subr.c:258:21: note: Null pointer addition cvs-1.12.13/src/subr.c:384:19: warning: Either the condition 'p==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/subr.c:395:9: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/subr.c:394:15: note: Assignment to 'p=strrchr(tmp,'.')' cvs-1.12.13/src/subr.c:382:7: note: p is assigned 'strrchr(tmp,'.')' here. cvs-1.12.13/src/subr.c:384:19: note: Null pointer addition cvs-1.12.13/src/subr.c:1174:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/subr.c:1172:16: note: Assuming allocation function fails cvs-1.12.13/src/subr.c:1172:16: note: Assignment 'buf=xmalloc(strlen(conversion)+2)', assigned value is 0 cvs-1.12.13/src/subr.c:1174:13: note: Null pointer addition cvs-1.12.13/src/subr.c:118:30: style:inconclusive: Function 'pathname_levels' argument 1 names different: declaration 'path' definition 'p'. [funcArgNamesDifferent] cvs-1.12.13/src/subr.h:25:34: note: Function 'pathname_levels' argument 1 names different: declaration 'path' definition 'p'. cvs-1.12.13/src/subr.c:118:30: note: Function 'pathname_levels' argument 1 names different: declaration 'path' definition 'p'. cvs-1.12.13/src/subr.c:755:26: style:inconclusive: Function 'backup_file' argument 1 names different: declaration 'file' definition 'filename'. [funcArgNamesDifferent] cvs-1.12.13/src/subr.h:40:32: note: Function 'backup_file' argument 1 names different: declaration 'file' definition 'filename'. cvs-1.12.13/src/subr.c:755:26: note: Function 'backup_file' argument 1 names different: declaration 'file' definition 'filename'. cvs-1.12.13/src/subr.c:1787:22: style:inconclusive: Function 'Xstrdup' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] cvs-1.12.13/src/subr.h:78:28: note: Function 'Xstrdup' argument 1 names different: declaration 'str' definition 'string'. cvs-1.12.13/src/subr.c:1787:22: note: Function 'Xstrdup' argument 1 names different: declaration 'str' definition 'string'. cvs-1.12.13/src/subr.c:175:56: style: Parameter 'sepchars' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/subr.c:177:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:292:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:315:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:908:11: style: Variable 'lastspace' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:1038:19: style: Variable 'r' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:1676:10: style: Variable 'outstr' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/subr.c:1048:16: style: Variable 'warned_of_deprecation' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/modules.c:187:10: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:186:18: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:186:18: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:187:10: note: Null pointer dereference cvs-1.12.13/src/modules.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:186:18: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:186:18: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:188:2: note: Null pointer dereference cvs-1.12.13/src/modules.c:191:20: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:186:18: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:186:18: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:191:20: note: Null pointer dereference cvs-1.12.13/src/modules.c:232:6: warning: If memory allocation fails, then there is a possible null pointer dereference: modargv [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:231:24: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:231:24: note: Assignment 'modargv=xmalloc(sizeof(*modargv))', assigned value is 0 cvs-1.12.13/src/modules.c:232:6: note: Null pointer dereference cvs-1.12.13/src/modules.c:333:14: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:332:22: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:332:22: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:333:14: note: Null pointer dereference cvs-1.12.13/src/modules.c:334:6: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:332:22: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:332:22: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:334:6: note: Null pointer dereference cvs-1.12.13/src/modules.c:337:25: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] cvs-1.12.13/src/modules.c:332:22: note: Assuming allocation function fails cvs-1.12.13/src/modules.c:332:22: note: Assignment 'value=xmalloc(val.dsize+1)', assigned value is 0 cvs-1.12.13/src/modules.c:337:25: note: Null pointer dereference cvs-1.12.13/src/modules.c:306:16: style: Variable 'cwd_saved' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/src/modules.c:293:16: note: cwd_saved is assigned cvs-1.12.13/src/modules.c:306:16: note: cwd_saved is overwritten cvs-1.12.13/src/modules.c:811:15: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/modules.c:858:9: style: Variable 'status_start' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/modules.c:901:16: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inflate.c:1314:11: style:inconclusive: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. [funcArgNamesDifferent] cvs-1.12.13/zlib/zlib.h:1350:49: note: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. cvs-1.12.13/zlib/inflate.c:1314:11: note: Function 'inflateSyncPoint' argument 1 names different: declaration 'z' definition 'strm'. cvs-1.12.13/src/modules.c:840:7: error: Memory is allocated but not initialized: cp2 [uninitdata] cvs-1.12.13/zlib/inflate.c:566:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inflate.c:1241:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/inflate.c:1316:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/inflate.c:1327:31: style: Variable 'state' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/filutils.c:280:51: style: Condition '(equiv_buf[eqlen]='\0',ptr=equiv_buf)!=0' is always true [knownConditionTrueFalse] cvs-1.12.13/vms/filutils.c:61:26: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/filutils.c:96:8: style: Variable 'emergency_dir' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/vms/filutils.c:167:17: style: Variable 'rptr' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/zip.c:613:13: error: Memory leak: zi [memleak] cvs-1.12.13/zlib/contrib/minizip/zip.c:1060:12: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/zlib/contrib/minizip/zip.c:1055:21: note: err is assigned cvs-1.12.13/zlib/contrib/minizip/zip.c:1060:12: note: err is overwritten cvs-1.12.13/zlib/contrib/minizip/crypt.h:35:40: style: Parameter 'pkeys' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/tag.c:125:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/tag.c:121:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/tag.c:125:25: note: Invalid argument cvs-1.12.13/src/tag.c:782:9: style: Condition 'newfilter' is always false [knownConditionTrueFalse] cvs-1.12.13/src/tag.c:725:23: note: Assignment 'newfilter=NULL', assigned value is 0 cvs-1.12.13/src/tag.c:782:9: note: Condition 'newfilter' is always false cvs-1.12.13/src/tag.c:1278:10: style: Condition 'branch_mode' is always false [knownConditionTrueFalse] cvs-1.12.13/src/tag.c:1275:41: note: Assuming that condition '!branch_mode' is not redundant cvs-1.12.13/src/tag.c:1278:10: note: Condition 'branch_mode' is always false cvs-1.12.13/src/tag.c:442:17: warning: If memory allocation fails, then there is a possible null pointer dereference: where [nullPointerOutOfMemory] cvs-1.12.13/src/tag.c:439:18: note: Assuming allocation function fails cvs-1.12.13/src/tag.c:439:18: note: Assignment 'where=xmalloc(strlen(argv[0])+(mfile==NULL?0:strlen(mfile)+1)+1)', assigned value is 0 cvs-1.12.13/src/tag.c:442:17: note: Null pointer dereference cvs-1.12.13/src/tag.c:606:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ml [nullPointerOutOfMemory] cvs-1.12.13/src/tag.c:605:15: note: Assuming allocation function fails cvs-1.12.13/src/tag.c:605:15: note: Assignment 'ml=xmalloc(sizeof(struct master_lists))', assigned value is 0 cvs-1.12.13/src/tag.c:606:2: note: Null pointer dereference cvs-1.12.13/src/tag.c:723:26: style:inconclusive: Function 'pretag_proc' argument 1 names different: declaration '_repository' definition 'repository'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:30:37: note: Function 'pretag_proc' argument 1 names different: declaration '_repository' definition 'repository'. cvs-1.12.13/src/tag.c:723:26: note: Function 'pretag_proc' argument 1 names different: declaration '_repository' definition 'repository'. cvs-1.12.13/src/tag.c:723:50: style:inconclusive: Function 'pretag_proc' argument 2 names different: declaration '_filter' definition 'filter'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:30:62: note: Function 'pretag_proc' argument 2 names different: declaration '_filter' definition 'filter'. cvs-1.12.13/src/tag.c:723:50: note: Function 'pretag_proc' argument 2 names different: declaration '_filter' definition 'filter'. cvs-1.12.13/src/tag.c:723:64: style:inconclusive: Function 'pretag_proc' argument 3 names different: declaration '_closure' definition 'closure'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:31:31: note: Function 'pretag_proc' argument 3 names different: declaration '_closure' definition 'closure'. cvs-1.12.13/src/tag.c:723:64: note: Function 'pretag_proc' argument 3 names different: declaration '_closure' definition 'closure'. cvs-1.12.13/src/tag.c:815:27: style:inconclusive: Function 'masterlist_delproc' argument 1 names different: declaration '_p' definition 'p'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:32:39: note: Function 'masterlist_delproc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:815:27: note: Function 'masterlist_delproc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:827:20: style:inconclusive: Function 'tag_delproc' argument 1 names different: declaration '_p' definition 'p'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:33:32: note: Function 'tag_delproc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:827:20: note: Function 'tag_delproc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:855:33: style:inconclusive: Function 'pretag_list_to_args_proc' argument 1 names different: declaration '_p' definition 'p'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:34:44: note: Function 'pretag_list_to_args_proc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:855:33: note: Function 'pretag_list_to_args_proc' argument 1 names different: declaration '_p' definition 'p'. cvs-1.12.13/src/tag.c:855:42: style:inconclusive: Function 'pretag_list_to_args_proc' argument 2 names different: declaration '_closure' definition 'closure'. [funcArgNamesDifferent] cvs-1.12.13/src/tag.c:34:54: note: Function 'pretag_list_to_args_proc' argument 2 names different: declaration '_closure' definition 'closure'. cvs-1.12.13/src/tag.c:855:42: note: Function 'pretag_list_to_args_proc' argument 2 names different: declaration '_closure' definition 'closure'. cvs-1.12.13/src/tag.c:368:11: style: Local variable 'mtlist' shadows outer variable [shadowVariable] cvs-1.12.13/src/tag.c:70:14: note: Shadowed declaration cvs-1.12.13/src/tag.c:368:11: note: Shadow variable cvs-1.12.13/src/tag.c:933:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/tag.c:933:11: note: Shadow variable cvs-1.12.13/src/tag.c:1101:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/tag.c:1101:11: note: Shadow variable cvs-1.12.13/src/tag.c:1153:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/tag.c:1153:11: note: Shadow variable cvs-1.12.13/src/tag.c:1362:20: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'tag_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:535:22: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1362:20: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/tag.c:1363:44: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'tag_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:535:22: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1363:44: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/src/tag.c:1555:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'val_direntproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:1672:27: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1555:23: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/tag.c:1556:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'val_direntproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:1672:27: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1556:47: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/zlib/contrib/minizip/miniunz.c:120:23: style: Condition 'mymkdir(buffer)==0' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:93:13: note: Assignment 'ret=0', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:120:14: note: Calling function 'mymkdir' returns 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:120:23: note: Condition 'mymkdir(buffer)==0' is always true cvs-1.12.13/zlib/contrib/minizip/miniunz.c:135:28: style: Condition 'mymkdir(buffer)==-1' is always false [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:93:13: note: Assignment 'ret=0', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:135:19: note: Calling function 'mymkdir' returns 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:135:28: note: Condition 'mymkdir(buffer)==-1' is always false cvs-1.12.13/zlib/contrib/minizip/miniunz.c:380:17: style: Condition 'fout' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:319:27: warning:inconclusive: Width 1 given in format string (no. 1) is smaller than destination buffer 'answer[128]'. [invalidScanfFormatWidth_smaller] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:115:10: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:114:25: note: Assuming allocation function fails cvs-1.12.13/zlib/contrib/minizip/miniunz.c:114:12: note: Assignment 'buffer=(char*)malloc(len+1)', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:115:10: note: Null pointer dereference cvs-1.12.13/zlib/contrib/minizip/miniunz.c:117:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:114:25: note: Assuming allocation function fails cvs-1.12.13/zlib/contrib/minizip/miniunz.c:114:12: note: Assignment 'buffer=(char*)malloc(len+1)', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/miniunz.c:117:7: note: Null pointer dereference cvs-1.12.13/zlib/contrib/minizip/miniunz.c:349:42: style: Variable '*(filename_withoutpath-1)' is reassigned a value before the old one has been used. [redundantAssignment] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:347:42: note: *(filename_withoutpath-1) is assigned cvs-1.12.13/zlib/contrib/minizip/miniunz.c:349:42: note: *(filename_withoutpath-1) is overwritten cvs-1.12.13/zlib/contrib/minizip/miniunz.c:105:11: style: Parameter 'newdir' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:414:11: style: Variable 'fout' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:466:11: style: Parameter 'argv' can be declared as const array [constParameter] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:256:16: style: Variable 'ratio' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:256:11: style: Variable 'ratio' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:414:11: style: Variable 'fout' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:448:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/miniunz.c:448:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/examples/gun.c:526:11: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] cvs-1.12.13/zlib/examples/gun.c:508:39: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:284:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOPEN_BINARY_READ [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:322:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOPEN_BINARY_READ [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:679:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:1590:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:1947:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:2005:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOPEN_BINARY_READ [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:4245:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:5074:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:5719:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:5791:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:6601:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:7100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRAG_ADD [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:8401:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:8468:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:8527:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:8625:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cvs-1.12.13/src/rcs.c:8689:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEVNULL [valueFlowBailoutIncompleteVar] cvs-1.12.13/zlib/infback.c:255:24: style: Variable 'from' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:2257:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] cvs-1.12.13/src/commit.c:373:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/commit.c:347:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/commit.c:373:25: note: Invalid argument cvs-1.12.13/src/commit.c:1262:9: style: Condition 'newfilter' is always false [knownConditionTrueFalse] cvs-1.12.13/src/commit.c:1224:23: note: Assignment 'newfilter=NULL', assigned value is 0 cvs-1.12.13/src/commit.c:1262:9: note: Condition 'newfilter' is always false cvs-1.12.13/src/commit.c:2365:6: style: Condition 'rev' is always true [knownConditionTrueFalse] cvs-1.12.13/src/commit.c:2374:7: style: Condition 'branch' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/gzio.c:101:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/gzio.c:400:12: style: Variable 'start' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/gzio.c:894:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/gzio.c:911:16: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/gzio.c:991:11: style: Variable 'm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:977:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ml [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:976:16: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:976:16: note: Assignment 'ml=xmalloc(sizeof(struct master_lists))', assigned value is 0 cvs-1.12.13/src/commit.c:977:11: note: Null pointer dereference cvs-1.12.13/src/commit.c:978:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ml [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:976:16: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:976:16: note: Assignment 'ml=xmalloc(sizeof(struct master_lists))', assigned value is 0 cvs-1.12.13/src/commit.c:978:12: note: Null pointer dereference cvs-1.12.13/src/commit.c:994:6: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:993:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:993:19: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/commit.c:994:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1048:6: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:993:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:993:19: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1040:34: note: Assuming condition is false cvs-1.12.13/src/commit.c:1048:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1049:6: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:993:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:993:19: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1040:34: note: Assuming condition is false cvs-1.12.13/src/commit.c:1049:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1050:6: warning: If memory allocation fails, then there is a possible null pointer dereference: li [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:993:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:993:19: note: Assignment 'li=xmalloc(sizeof(struct logfile_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1040:34: note: Assuming condition is false cvs-1.12.13/src/commit.c:1050:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1059:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:1058:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:1058:19: note: Assignment 'ci=xmalloc(sizeof(struct commit_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1059:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1067:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:1058:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:1058:19: note: Assignment 'ci=xmalloc(sizeof(struct commit_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1067:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:1068:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ci [nullPointerOutOfMemory] cvs-1.12.13/src/commit.c:1058:19: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:1058:19: note: Assignment 'ci=xmalloc(sizeof(struct commit_info))', assigned value is 0 cvs-1.12.13/src/commit.c:1068:6: note: Null pointer dereference cvs-1.12.13/src/commit.c:2158:18: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] cvs-1.12.13/src/commit.c:2155:17: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:2155:17: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 cvs-1.12.13/src/commit.c:2158:18: note: Null pointer dereference cvs-1.12.13/src/commit.c:2184:37: warning: Either the condition 'rcs==NULL' is redundant or there is possible null pointer dereference: rcs. [nullPointerRedundantCheck] cvs-1.12.13/src/commit.c:2182:14: note: Assuming that condition 'rcs==NULL' is not redundant cvs-1.12.13/src/commit.c:2184:37: note: Null pointer dereference cvs-1.12.13/src/commit.c:2251:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] cvs-1.12.13/src/commit.c:2248:14: note: Assuming allocation function fails cvs-1.12.13/src/commit.c:2248:14: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 cvs-1.12.13/src/commit.c:2251:15: note: Null pointer dereference cvs-1.12.13/src/commit.c:2290:41: warning: Either the condition 'rcs==NULL' is redundant or there is possible null pointer dereference: rcs. [nullPointerRedundantCheck] cvs-1.12.13/src/commit.c:2288:11: note: Assuming that condition 'rcs==NULL' is not redundant cvs-1.12.13/src/commit.c:2290:41: note: Null pointer dereference cvs-1.12.13/zlib/gzio.c:19:28: style: struct member 'internal_state::dummy' is never used. [unusedStructMember] cvs-1.12.13/src/commit.c:1871:42: style:inconclusive: Function 'finaladd' argument 2 names different: declaration 'revision' definition 'rev'. [funcArgNamesDifferent] cvs-1.12.13/src/commit.c:46:53: note: Function 'finaladd' argument 2 names different: declaration 'revision' definition 'rev'. cvs-1.12.13/src/commit.c:1871:42: note: Function 'finaladd' argument 2 names different: declaration 'revision' definition 'rev'. cvs-1.12.13/src/commit.c:998:23: style: Local variable 'editors' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:859:5: note: Shadowed declaration cvs-1.12.13/src/commit.c:998:23: note: Shadow variable cvs-1.12.13/src/commit.c:1005:27: style: Local variable 'p' shadows outer variable [shadowVariable] cvs-1.12.13/src/commit.c:806:11: note: Shadowed declaration cvs-1.12.13/src/commit.c:1005:27: note: Shadow variable cvs-1.12.13/src/commit.c:1564:14: style: Local variable 'p' shadows outer variable [shadowVariable] cvs-1.12.13/src/commit.c:1549:11: note: Shadowed declaration cvs-1.12.13/src/commit.c:1564:14: note: Shadow variable cvs-1.12.13/src/commit.c:856:19: style: Variable 'editor' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:1006:27: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:1133:25: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'check_direntproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/commit.c:678:28: note: You might need to cast the function pointer here cvs-1.12.13/src/commit.c:1133:25: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/commit.c:1134:49: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'check_direntproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/commit.c:678:28: note: You might need to cast the function pointer here cvs-1.12.13/src/commit.c:1134:49: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/src/commit.c:1156:26: style: Variable 'li' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/commit.c:1690:28: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'findmaxrev' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/commit.c:1442:39: note: You might need to cast the function pointer here cvs-1.12.13/src/commit.c:1690:28: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/commit.c:1693:14: style: Variable 'entdata' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/trees.c:1147:14: style:inconclusive: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. [funcArgNamesDifferent] cvs-1.12.13/zlib/trees.c:156:27: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. cvs-1.12.13/zlib/trees.c:1147:14: note: Function 'bi_reverse' argument 1 names different: declaration 'value' definition 'code'. cvs-1.12.13/zlib/trees.c:1148:9: style:inconclusive: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] cvs-1.12.13/zlib/trees.c:156:27: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. cvs-1.12.13/zlib/trees.c:1148:9: note: Function 'bi_reverse' argument 2 names different: declaration 'length' definition 'len'. cvs-1.12.13/zlib/trees.c:457:14: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/trees.c:580:11: style: Parameter 'bl_count' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/trees.c:1199:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/classify.c:412:8: style: Variable 'enttag' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/classify.c:413:8: style: Variable 'entdate' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/diff/diff3.c:966:22: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] cvs-1.12.13/diff/diff3.c:1004:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1005:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1018:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1019:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1032:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1033:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] cvs-1.12.13/diff/diff3.c:1064:5: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] cvs-1.12.13/diff/diff3.c:987:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:987:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:988:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:988:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:991:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:991:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:992:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:992:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:993:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:993:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:994:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:994:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:995:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:995:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:996:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:996:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:999:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:999:14: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1013:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1013:14: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1027:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:984:32: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:984:32: note: Assignment 'result=(struct diff3_block*)xmalloc(1*sizeof(struct diff3_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1027:14: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1095:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:1094:14: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:1094:14: note: Assignment 'bptr=(struct diff_block*)xmalloc(1*sizeof(struct diff_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1095:7: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1095:24: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:1094:14: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:1094:14: note: Assignment 'bptr=(struct diff_block*)xmalloc(1*sizeof(struct diff_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1095:24: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1096:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:1094:14: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:1094:14: note: Assignment 'bptr=(struct diff_block*)xmalloc(1*sizeof(struct diff_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1096:7: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1096:26: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:1094:14: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:1094:14: note: Assignment 'bptr=(struct diff_block*)xmalloc(1*sizeof(struct diff_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1096:26: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:1216:3: warning: If memory allocation fails, then there is a possible null pointer dereference: db [nullPointerOutOfMemory] cvs-1.12.13/diff/diff3.c:1094:14: note: Assuming allocation function fails cvs-1.12.13/diff/diff3.c:1094:14: note: Assignment 'bptr=(struct diff_block*)xmalloc(1*sizeof(struct diff_block))', assigned value is 0 cvs-1.12.13/diff/diff3.c:1098:46: note: Calling function 'process_diff_control', 2nd argument 'bptr' value is 0 cvs-1.12.13/diff/diff3.c:1216:3: note: Assuming condition is false cvs-1.12.13/diff/diff3.c:1216:3: note: Null pointer dereference cvs-1.12.13/diff/diff3.c:270:9: style: Variable 'commonname' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/diff/diff3.c:1380:12: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/diff/diff3.c:1875:10: style: Parameter 'argcp' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/diff/diff3.c:775:24: style: Variable 'high_water_diff' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/diff/diff3.c:1085:22: style: Variable 'block_list' is not assigned a value. [unassignedVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:415:25: style: Condition 'unz_copyright[0]!=' '' is always false [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/unzip.c:494:6: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] cvs-1.12.13/zlib/contrib/minizip/unzip.c:493:15: note: Assuming allocation function fails cvs-1.12.13/zlib/contrib/minizip/unzip.c:493:7: note: Assignment 's=(struct unz_s*)(malloc(sizeof(struct unz_s)))', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/unzip.c:494:6: note: Null pointer dereference cvs-1.12.13/zlib/contrib/minizip/unzip.c:979:12: style: The comparison 'err == 0' is always true. [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/unzip.c:968:13: note: 'err' is assigned value '0' here. cvs-1.12.13/zlib/contrib/minizip/unzip.c:979:12: note: The comparison 'err == 0' is always true. cvs-1.12.13/zlib/contrib/minizip/unzip.c:877:6: style: Variable 's->num_file' is assigned an expression that holds the same value. [redundantAssignment] cvs-1.12.13/zlib/contrib/minizip/unzip.c:852:19: note: num_fileSaved is assigned 's->num_file' here. cvs-1.12.13/zlib/contrib/minizip/unzip.c:877:6: note: Variable 's->num_file' is assigned an expression that holds the same value. cvs-1.12.13/zlib/contrib/minizip/unzip.c:399:24: style: Parameter 'pzlib_filefunc_def' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:536:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:907:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:923:19: style: Parameter 'file_pos' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1409:30: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1567:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/unzip.c:717:22: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:723:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:726:14: style: Variable 'lSeek' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1115:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1537:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/contrib/minizip/unzip.c:1537:9: style: Variable 'err' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/src/log.c:239:25: warning: Either the condition 'argc==-1' is redundant or getopt() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cvs-1.12.13/src/log.c:232:14: note: Assuming that condition 'argc==-1' is not redundant cvs-1.12.13/src/log.c:239:25: note: Invalid argument cvs-1.12.13/src/log.c:492:16: warning: If memory allocation fails, then there is a possible null pointer dereference: where [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:489:18: note: Assuming allocation function fails cvs-1.12.13/src/log.c:489:18: note: Assignment 'where=xmalloc(strlen(argv[0])+(mfile==NULL?0:strlen(mfile)+1)+1)', assigned value is 0 cvs-1.12.13/src/log.c:492:16: note: Null pointer dereference cvs-1.12.13/src/log.c:598:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:598:2: note: Null pointer dereference cvs-1.12.13/src/log.c:599:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:599:2: note: Null pointer dereference cvs-1.12.13/src/log.c:600:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:600:2: note: Null pointer dereference cvs-1.12.13/src/log.c:601:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:601:2: note: Null pointer dereference cvs-1.12.13/src/log.c:602:6: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:602:6: note: Null pointer dereference cvs-1.12.13/src/log.c:620:7: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:597:14: note: Assuming allocation function fails cvs-1.12.13/src/log.c:597:14: note: Assignment 'r=xmalloc(sizeof(*r))', assigned value is 0 cvs-1.12.13/src/log.c:620:7: note: Null pointer dereference cvs-1.12.13/src/log.c:666:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nd [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:659:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:659:15: note: Assignment 'nd=xmalloc(sizeof(*nd))', assigned value is 0 cvs-1.12.13/src/log.c:666:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1048:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1047:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1047:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1048:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1217:14: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1217:14: note: Null pointer dereference cvs-1.12.13/src/log.c:1225:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1225:4: note: Null pointer dereference cvs-1.12.13/src/log.c:1226:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1226:4: note: Null pointer dereference cvs-1.12.13/src/log.c:1227:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1227:4: note: Null pointer dereference cvs-1.12.13/src/log.c:1228:4: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1228:4: note: Null pointer dereference cvs-1.12.13/src/log.c:1230:20: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1230:20: note: Null pointer dereference cvs-1.12.13/src/log.c:1233:16: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1224:17: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1224:17: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1233:16: note: Null pointer dereference cvs-1.12.13/src/log.c:1248:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1047:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1047:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1050:23: note: Assuming condition is true cvs-1.12.13/src/log.c:1248:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1273:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1273:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1273:22: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1273:22: note: Null pointer dereference cvs-1.12.13/src/log.c:1274:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1274:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1274:24: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1274:24: note: Null pointer dereference cvs-1.12.13/src/log.c:1275:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1275:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1277:2: warning: If memory allocation fails, then there is a possible null pointer dereference: nr [nullPointerOutOfMemory] cvs-1.12.13/src/log.c:1260:15: note: Assuming allocation function fails cvs-1.12.13/src/log.c:1260:15: note: Assignment 'nr=xmalloc(sizeof(*nr))', assigned value is 0 cvs-1.12.13/src/log.c:1277:2: note: Null pointer dereference cvs-1.12.13/src/log.c:1456:13: warning: Either the condition 'pv==NULL' is redundant or there is possible null pointer dereference: pv. [nullPointerRedundantCheck] cvs-1.12.13/src/log.c:1453:12: note: Assuming that condition 'pv==NULL' is not redundant cvs-1.12.13/src/log.c:1456:13: note: Null pointer dereference cvs-1.12.13/src/log.c:1512:11: warning: Either the condition 'pv==NULL' is redundant or there is possible null pointer dereference: pv. [nullPointerRedundantCheck] cvs-1.12.13/src/log.c:1508:12: note: Assuming that condition 'pv==NULL' is not redundant cvs-1.12.13/src/log.c:1512:11: note: Null pointer dereference cvs-1.12.13/src/log.c:1535:13: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cvs-1.12.13/src/log.c:1532:11: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/log.c:1535:13: note: Null pointer dereference cvs-1.12.13/src/log.c:1570:13: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cvs-1.12.13/src/log.c:1567:11: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/log.c:1570:13: note: Null pointer dereference cvs-1.12.13/src/log.c:1640:12: warning: Either the condition 'nextp==NULL' is redundant or there is possible null pointer dereference: nextp. [nullPointerRedundantCheck] cvs-1.12.13/src/log.c:1637:12: note: Assuming that condition 'nextp==NULL' is not redundant cvs-1.12.13/src/log.c:1640:12: note: Null pointer dereference cvs-1.12.13/src/log.c:472:29: style:inconclusive: Function 'rlog_proc' argument 7 names different: declaration 'local_specified' definition 'local'. [funcArgNamesDifferent] cvs-1.12.13/src/log.c:123:27: note: Function 'rlog_proc' argument 7 names different: declaration 'local_specified' definition 'local'. cvs-1.12.13/src/log.c:472:29: note: Function 'rlog_proc' argument 7 names different: declaration 'local_specified' definition 'local'. cvs-1.12.13/src/log.c:797:22: style: Local variable 'log_data' shadows outer variable [shadowVariable] cvs-1.12.13/src/log.c:149:24: note: Shadowed declaration cvs-1.12.13/src/log.c:797:22: note: Shadow variable cvs-1.12.13/src/log.c:657:21: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:657:26: style: Variable 'de' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:780:23: style: Parameter 'lock' can be declared as pointer to const. However it seems that 'printlock_proc' is a callback function, if 'lock' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:921:39: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:780:23: note: Parameter 'lock' can be declared as pointer to const cvs-1.12.13/src/log.c:780:35: style: Parameter 'foo' can be declared as pointer to const. However it seems that 'printlock_proc' is a callback function, if 'foo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:921:39: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:780:35: note: Parameter 'foo' can be declared as pointer to const cvs-1.12.13/src/log.c:1035:41: style: Parameter 'baserev' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/log.c:1340:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:1381:8: style: Variable 'v' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:1416:19: style: Parameter 'p' can be declared as pointer to const. However it seems that 'log_symbol' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:950:18: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1416:19: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/log.c:1416:28: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'log_symbol' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:950:18: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1416:28: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/log.c:1432:18: style: Parameter 'p' can be declared as pointer to const. However it seems that 'log_count' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:960:54: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1432:18: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/log.c:1432:27: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'log_count' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:960:54: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1432:27: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/log.c:1540:15: style: Variable 'branch' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:1585:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:1588:11: style: Variable 'padd' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/log.c:1699:19: style: Parameter 'p' can be declared as pointer to const. However it seems that 'log_branch' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:1668:27: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1699:19: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/log.c:1725:20: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'log_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:553:48: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1725:20: note: Parameter 'callerdat' can be declared as pointer to const cvs-1.12.13/src/log.c:1726:44: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'log_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:553:48: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1726:44: note: Parameter 'entries' can be declared as pointer to const cvs-1.12.13/zlib/deflate.c:663:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/deflate.c:657:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant cvs-1.12.13/zlib/deflate.c:663:36: note: Condition 's->pending==s->pending_buf_size' is always true cvs-1.12.13/zlib/deflate.c:692:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/deflate.c:686:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant cvs-1.12.13/zlib/deflate.c:692:36: note: Condition 's->pending==s->pending_buf_size' is always true cvs-1.12.13/zlib/deflate.c:723:36: style: Condition 's->pending==s->pending_buf_size' is always true [knownConditionTrueFalse] cvs-1.12.13/zlib/deflate.c:717:32: note: Assuming that condition 's->pending==s->pending_buf_size' is not redundant cvs-1.12.13/zlib/deflate.c:723:36: note: Condition 's->pending==s->pending_buf_size' is always true cvs-1.12.13/zlib/deflate.c:493:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/deflate.c:902:20: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/deflate.c:1042:11: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/deflate.c:1182:21: style: Variable 'strend' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/deflate.c:161:32: style: struct member 'static_tree_desc_s::dummy' is never used. [unusedStructMember] cvs-1.12.13/zlib/deflate.c:352:30: style: Variable 'hash_head' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/zlib/deflate.c:1669:9: style: Variable 'bflush' is assigned a value that is never used. [unreadVariable] cvs-1.12.13/lib/mktime.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] cvs-1.12.13/lib/mktime.c:486:4: style:inconclusive: Boolean expression '(t1start' is not redundant cvs-1.12.13/src/rcs.c:1411:19: note: Assignment 'vlen=psemi-start', assigned value is less than 1 cvs-1.12.13/src/rcs.c:1412:15: note: Condition 'vlen==0' is always true cvs-1.12.13/src/rcs.c:2247:6: error: Returning/dereferencing 'rev' after it is deallocated / released [deallocret] cvs-1.12.13/src/rcs.c:2235:3: note: Returning/dereferencing 'rev' after it is deallocated / released cvs-1.12.13/src/rcs.c:2247:6: note: Returning/dereferencing 'rev' after it is deallocated / released cvs-1.12.13/src/rcs.c:346:13: warning: If memory allocation fails, then there is a possible null pointer dereference: rdata [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:345:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:345:21: note: Assignment 'rdata=xmalloc(sizeof(struct RCSNode))', assigned value is 0 cvs-1.12.13/src/rcs.c:346:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:347:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rdata [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:345:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:345:21: note: Assignment 'rdata=xmalloc(sizeof(struct RCSNode))', assigned value is 0 cvs-1.12.13/src/rcs.c:347:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:348:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rdata [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:345:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:345:21: note: Assignment 'rdata=xmalloc(sizeof(struct RCSNode))', assigned value is 0 cvs-1.12.13/src/rcs.c:348:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:349:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rdata [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:345:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:345:21: note: Assignment 'rdata=xmalloc(sizeof(struct RCSNode))', assigned value is 0 cvs-1.12.13/src/rcs.c:349:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:674:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:672:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:672:20: note: Assignment 'newpath=xmalloc(strlen(rcs->path)+sizeof("Attic")+5)', assigned value is 0 cvs-1.12.13/src/rcs.c:674:11: note: Null pointer dereference cvs-1.12.13/src/rcs.c:713:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:709:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:709:20: note: Assignment 'newpath=xmalloc(strlen(rcs->path))', assigned value is 0 cvs-1.12.13/src/rcs.c:713:11: note: Null pointer dereference cvs-1.12.13/src/rcs.c:714:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newpath [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:709:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:709:20: note: Assignment 'newpath=xmalloc(strlen(rcs->path))', assigned value is 0 cvs-1.12.13/src/rcs.c:714:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:772:10: warning: Either the condition 'vers==NULL' is redundant or there is possible null pointer dereference: vers. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:767:11: note: Assuming that condition 'vers==NULL' is not redundant cvs-1.12.13/src/rcs.c:772:10: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1186:11: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1181:11: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1186:11: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1221:7: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1216:14: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1221:7: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1254:28: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1261:11: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1254:28: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1344:11: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1339:11: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1344:11: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1377:26: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1387:14: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1377:26: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1435:28: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1442:11: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1435:28: note: Null pointer dereference cvs-1.12.13/src/rcs.c:1535:7: warning: Either the condition 'ptr==NULL' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:1528:14: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1535:7: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2265:5: warning: Either the condition '!pa' is redundant or there is possible null pointer dereference: pa++. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:2259:6: note: Assuming that condition '!pa' is not redundant cvs-1.12.13/src/rcs.c:2258:15: note: Assignment to 'pa=strrchr(rev,'.')' cvs-1.12.13/src/rcs.c:2258:5: note: pa is assigned 'strrchr(rev,'.')' here. cvs-1.12.13/src/rcs.c:2265:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2328:35: warning: Either the condition 'symtag' is redundant or there is possible null pointer dereference: symtag. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:2320:9: note: Assuming that condition 'symtag' is not redundant cvs-1.12.13/src/rcs.c:2328:35: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2357:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: magic [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:2355:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:2355:19: note: Assignment 'magic=xmalloc(strlen(tag)+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:2357:16: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2357:35: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: magic [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:2355:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:2355:19: note: Assignment 'magic=xmalloc(strlen(tag)+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:2357:35: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2635:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: magic [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:2633:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:2633:18: note: Assignment 'magic=xmalloc(strlen(version)+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:2635:15: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2635:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: magic [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:2633:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:2633:18: note: Assignment 'magic=xmalloc(strlen(version)+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:2635:34: note: Null pointer dereference cvs-1.12.13/src/rcs.c:2672:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tag [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:2469:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:2469:20: note: Assignment 'xrev=xmalloc(strlen(rev)+14)', assigned value is 0 cvs-1.12.13/src/rcs.c:2489:36: note: Calling function 'RCS_getbranch', 2nd argument 'xrev' value is 0 cvs-1.12.13/src/rcs.c:2672:19: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3283:12: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3282:15: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3282:15: note: Assignment 'r=xmalloc(cp-v+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:3283:12: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3282:15: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3282:15: note: Assignment 'r=xmalloc(cp-v+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:3284:3: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3338:32: warning: Possible null pointer dereference: cpp [nullPointer] cvs-1.12.13/src/rcs.c:3322:30: note: Assignment 'cpp=NULL', assigned value is 0 cvs-1.12.13/src/rcs.c:3324:9: note: Assuming condition is false cvs-1.12.13/src/rcs.c:3338:32: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3358:35: warning: Either the condition 'tag' is redundant or there is possible null pointer dereference: tag. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:2278:9: note: Assuming that condition 'tag' is not redundant cvs-1.12.13/src/rcs.c:2275:20: note: Calling function 'RCS_check_tag', 1st argument 'tag' value is 0 cvs-1.12.13/src/rcs.c:3358:35: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3502:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3502:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3503:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3503:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3504:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3504:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3505:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3505:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3506:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3506:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3507:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3507:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3508:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3508:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3509:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3509:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3510:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3510:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3511:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3511:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3512:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3512:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3513:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3494:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3494:19: note: Assignment 'new=xcalloc(KEYWORD_LOCALID+2,sizeof(struct rcs_keyword))', assigned value is 0 cvs-1.12.13/src/rcs.c:3513:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:3915:11: warning: If memory allocation fails, then there is a possible null pointer dereference: leader [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:3914:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:3914:20: note: Assignment 'leader=xmalloc(leader_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:3915:11: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4032:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ebufs [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4031:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4031:19: note: Assignment 'ebufs=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4032:3: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4033:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ebufs [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4031:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4031:19: note: Assignment 'ebufs=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4033:3: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4034:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ebufs [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4031:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4031:19: note: Assignment 'ebufs=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4034:3: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4036:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ebufs [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4031:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4031:19: note: Assignment 'ebufs=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4036:3: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4048:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4047:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4047:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4048:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4049:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4047:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4047:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4049:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4050:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4047:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4047:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4050:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4051:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4047:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4047:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4051:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4052:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf_last [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4031:19: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4031:19: note: Assignment 'ebufs=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4037:15: note: Assignment 'ebuf_last=ebufs', assigned value is 0 cvs-1.12.13/src/rcs.c:4052:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4057:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4056:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4056:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4057:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4058:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4056:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4056:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4058:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4059:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4056:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4056:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4059:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4060:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4056:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4056:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4060:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4061:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ebuf_last [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4047:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4047:21: note: Assignment 'ebuf=xmalloc(sizeof(*ebuf))', assigned value is 0 cvs-1.12.13/src/rcs.c:4053:18: note: Assignment 'ebuf_last=ebuf', assigned value is 0 cvs-1.12.13/src/rcs.c:4061:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4089:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4082:16: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4082:16: note: Assignment 'ret=xmalloc(ebuf_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:4089:14: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4468:24: warning: Either the condition 'vp==NULL' is redundant or there is possible null pointer dereference: vp. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:4463:13: note: Assuming that condition 'vp==NULL' is not redundant cvs-1.12.13/src/rcs.c:4468:24: note: Null pointer dereference cvs-1.12.13/src/rcs.c:4792:13: warning: If memory allocation fails, then there is a possible null pointer dereference: new_r [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:4791:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4791:21: note: Assignment 'new_r=xmalloc(len+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:4792:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5067:13: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5067:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5068:5: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5068:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5083:5: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5083:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5089:2: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5089:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5090:2: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5090:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5093:2: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5093:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5095:5: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5095:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5102:14: warning: If memory allocation fails, then there is a possible null pointer dereference: delta [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5066:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5066:21: note: Assignment 'delta=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:5102:14: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5184:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dtext [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5183:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5183:21: note: Assignment 'dtext=xmalloc(sizeof(struct Deltatext))', assigned value is 0 cvs-1.12.13/src/rcs.c:5184:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5186:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dtext [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5183:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5183:21: note: Assignment 'dtext=xmalloc(sizeof(struct Deltatext))', assigned value is 0 cvs-1.12.13/src/rcs.c:5186:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:5788:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: filebuf [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:5781:23: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:5781:23: note: Assignment 'filebuf=xmalloc(len>(8*1024)?(8*1024):len)', assigned value is 0 cvs-1.12.13/src/rcs.c:5788:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6916:6: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6916:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6917:6: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6917:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6918:6: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6918:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6919:6: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6919:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6920:6: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6920:6: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6921:14: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6921:14: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6929:5: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6929:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6930:5: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6930:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6931:5: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6931:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6932:5: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6932:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6933:5: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6933:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:6934:13: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6934:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7080:2: warning: If memory allocation fails, then there is a possible null pointer dereference: df [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7079:15: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7079:15: note: Assignment 'df=xmalloc(sizeof(struct deltafrag))', assigned value is 0 cvs-1.12.13/src/rcs.c:7080:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7082:2: warning: If memory allocation fails, then there is a possible null pointer dereference: df [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7079:15: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7079:15: note: Assignment 'df=xmalloc(sizeof(struct deltafrag))', assigned value is 0 cvs-1.12.13/src/rcs.c:7082:2: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7332:13: warning: Either the condition 'node==NULL' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:7324:15: note: Assuming that condition 'node==NULL' is not redundant cvs-1.12.13/src/rcs.c:7332:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7444:4: warning: Either the condition '!cpversion' is redundant or there is possible null pointer dereference: cpversion. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:7441:7: note: Assuming that condition '!cpversion' is not redundant cvs-1.12.13/src/rcs.c:7444:4: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7620:13: warning: If memory allocation fails, then there is a possible null pointer dereference: vnode [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7619:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7619:21: note: Assignment 'vnode=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:7620:13: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7622:5: warning: If memory allocation fails, then there is a possible null pointer dereference: vnode [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7619:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7619:21: note: Assignment 'vnode=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:7622:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7630:5: warning: If memory allocation fails, then there is a possible null pointer dereference: vnode [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7619:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7619:21: note: Assignment 'vnode=xmalloc(sizeof(struct RCSVers))', assigned value is 0 cvs-1.12.13/src/rcs.c:7630:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:7821:5: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] cvs-1.12.13/src/rcs.c:7820:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:7820:17: note: Assignment 'd=xmalloc(sizeof(struct Deltatext))', assigned value is 0 cvs-1.12.13/src/rcs.c:7821:5: note: Null pointer dereference cvs-1.12.13/src/rcs.c:8102:10: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] cvs-1.12.13/src/rcs.c:8095:8: note: Assuming that condition 'p==NULL' is not redundant cvs-1.12.13/src/rcs.c:8102:10: note: Null pointer dereference cvs-1.12.13/src/rcs.c:675:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/rcs.c:672:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:672:20: note: Assignment 'newpath=xmalloc(strlen(rcs->path)+sizeof("Attic")+5)', assigned value is 0 cvs-1.12.13/src/rcs.c:675:18: note: Null pointer addition cvs-1.12.13/src/rcs.c:715:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/rcs.c:709:20: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:709:20: note: Assignment 'newpath=xmalloc(strlen(rcs->path))', assigned value is 0 cvs-1.12.13/src/rcs.c:715:14: note: Null pointer addition cvs-1.12.13/src/rcs.c:1524:2: warning: Either the condition 'ptr==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/rcs.c:1528:14: note: Assuming that condition 'ptr==NULL' is not redundant cvs-1.12.13/src/rcs.c:1524:2: note: Null pointer addition cvs-1.12.13/src/rcs.c:2265:5: warning: Either the condition '!pa' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/rcs.c:2259:6: note: Assuming that condition '!pa' is not redundant cvs-1.12.13/src/rcs.c:2258:15: note: Assignment to 'pa=strrchr(rev,'.')' cvs-1.12.13/src/rcs.c:2258:5: note: pa is assigned 'strrchr(rev,'.')' here. cvs-1.12.13/src/rcs.c:2265:5: note: Null pointer addition cvs-1.12.13/src/rcs.c:4793:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/rcs.c:4791:21: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:4791:21: note: Assignment 'new_r=xmalloc(len+1)', assigned value is 0 cvs-1.12.13/src/rcs.c:4793:13: note: Null pointer addition cvs-1.12.13/src/rcs.c:6917:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/rcs.c:6915:18: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6915:18: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6917:26: note: Null pointer addition cvs-1.12.13/src/rcs.c:6930:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] cvs-1.12.13/src/rcs.c:6928:17: note: Assuming allocation function fails cvs-1.12.13/src/rcs.c:6928:17: note: Assignment 'q=xmalloc(sizeof(struct line)+nextline_len)', assigned value is 0 cvs-1.12.13/src/rcs.c:6930:25: note: Null pointer addition cvs-1.12.13/src/rcs.c:7445:3: warning: Either the condition '!cpversion' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] cvs-1.12.13/src/rcs.c:7441:7: note: Assuming that condition '!cpversion' is not redundant cvs-1.12.13/src/rcs.c:7445:3: note: Null pointer addition cvs-1.12.13/src/rcs.c:2555:45: style:inconclusive: Function 'RCS_nodeisbranch' argument 2 names different: declaration 'tag' definition 'rev'. [funcArgNamesDifferent] cvs-1.12.13/src/rcs.h:214:49: note: Function 'RCS_nodeisbranch' argument 2 names different: declaration 'tag' definition 'rev'. cvs-1.12.13/src/rcs.c:2555:45: note: Function 'RCS_nodeisbranch' argument 2 names different: declaration 'tag' definition 'rev'. cvs-1.12.13/src/rcs.c:2606:43: style:inconclusive: Function 'RCS_whatbranch' argument 2 names different: declaration 'tag' definition 'rev'. [funcArgNamesDifferent] cvs-1.12.13/src/rcs.h:215:49: note: Function 'RCS_whatbranch' argument 2 names different: declaration 'tag' definition 'rev'. cvs-1.12.13/src/rcs.c:2606:43: note: Function 'RCS_whatbranch' argument 2 names different: declaration 'tag' definition 'rev'. cvs-1.12.13/src/rcs.c:5006:64: style:inconclusive: Function 'RCS_checkin' argument 3 names different: declaration 'workfile' definition 'workfile_in'. [funcArgNamesDifferent] cvs-1.12.13/src/rcs.h:232:68: note: Function 'RCS_checkin' argument 3 names different: declaration 'workfile' definition 'workfile_in'. cvs-1.12.13/src/rcs.c:5006:64: note: Function 'RCS_checkin' argument 3 names different: declaration 'workfile' definition 'workfile_in'. cvs-1.12.13/src/rcs.c:801:17: style: Local variable 'add' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:862:5: note: Shadowed declaration cvs-1.12.13/src/rcs.c:801:17: note: Shadow variable cvs-1.12.13/src/rcs.c:2330:8: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/rcs.c:2330:8: note: Shadow variable cvs-1.12.13/src/rcs.c:2558:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/rcs.c:2558:11: note: Shadow variable cvs-1.12.13/src/rcs.c:2608:11: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/rcs.c:2608:11: note: Shadow variable cvs-1.12.13/src/rcs.c:3418:14: style: Local variable 'version' shadows outer function [shadowFunction] cvs-1.12.13/src/cvs.h:889:5: note: Shadowed declaration cvs-1.12.13/src/rcs.c:3418:14: note: Shadow variable cvs-1.12.13/src/rcs.c:4929:12: style: Local variable 'bp' shadows outer variable [shadowVariable] cvs-1.12.13/src/rcs.c:4879:19: note: Shadowed declaration cvs-1.12.13/src/rcs.c:4929:12: note: Shadow variable cvs-1.12.13/src/rcs.c:389:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:443:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:1077:33: style: Parameter 'rcsbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:1605:34: style: Parameter 'rcsbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:1616:49: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:1683:46: style: Parameter 'rcsbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:1692:8: style: Variable 'orig_to' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:1899:34: style: Parameter 'rcsbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:1928:47: style: Parameter 'rcsbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:2031:11: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2031:17: style: Variable 'rev' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2075:11: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2075:18: style: Variable 'rev' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2117:11: style: Variable 'branch' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2409:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2464:35: style: Parameter 'rev' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:2467:32: style: Variable 'local_branch_num' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2515:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'checkmagic_proc' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:2500:34: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:2515:24: note: Parameter 'p' can be declared as pointer to const cvs-1.12.13/src/rcs.c:2515:33: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'checkmagic_proc' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:2500:34: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:2515:33: note: Parameter 'closure' can be declared as pointer to const cvs-1.12.13/src/rcs.c:2580:8: style: Variable 'branch' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2581:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2662:11: style: Variable 'nextvers' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:2772:38: style: Parameter 'rev' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:2981:12: style: Variable 'date_1_1' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3015:11: style: Variable 'cur_rev' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3119:21: style: Variable 'ftm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3238:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3251:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3274:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3418:14: style: Variable 'version' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:3439:25: style: Parameter 'rcs' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:3661:8: style: Variable 'lock' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:4720:11: style: Variable 'locklist' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:4803:33: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:6031:11: style: Variable 'locks' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:6171:36: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:6173:15: style: Variable 's' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:6224:16: style: Parameter 'node' can be declared as pointer to const. However it seems that 'findtag' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:6798:37: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:6224:16: note: Parameter 'node' can be declared as pointer to const cvs-1.12.13/src/rcs.c:6766:36: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:7180:42: style: Parameter 'textbuf' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:7490:13: style: Variable 'ym' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:7492:13: style: Variable 'md' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:7493:16: style: Variable 'prvers' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:7585:25: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:7871:23: style: Parameter 'symnode' can be declared as pointer to const. However it seems that 'putsymbol_proc' is a callback function, if 'symnode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:8005:31: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:7871:23: note: Parameter 'symnode' can be declared as pointer to const cvs-1.12.13/src/rcs.c:7892:21: style: Parameter 'symnode' can be declared as pointer to const. However it seems that 'putlock_proc' is a callback function, if 'symnode' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:8012:24: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:7892:21: note: Parameter 'symnode' can be declared as pointer to const cvs-1.12.13/src/rcs.c:7900:25: style: Parameter 'node' can be declared as pointer to const. However it seems that 'putrcsfield_proc' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:8173:25: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:7900:25: note: Parameter 'node' can be declared as pointer to const cvs-1.12.13/src/rcs.c:7988:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:8036:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:8073:35: style: Parameter 'rev' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:8142:23: style: Parameter 'rcs' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:8346:38: style: Parameter 'ignore' can be declared as pointer to const. However it seems that 'count_delta_actions' is a callback function, if 'ignore' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/rcs.c:8210:40: note: You might need to cast the function pointer here cvs-1.12.13/src/rcs.c:8346:38: note: Parameter 'ignore' can be declared as pointer to const cvs-1.12.13/src/rcs.c:8348:14: style: Variable 'dadmin' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:8512:42: style: Parameter 'rcsfile' can be declared as pointer to const [constParameterPointer] cvs-1.12.13/src/rcs.c:8697:13: style: Variable 'wm' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/src/rcs.c:8804:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/mztools.c:187:25: style: Condition 'comsize>0' is always false [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/mztools.c:140:27: note: Assignment 'comment=""', assigned value is "" cvs-1.12.13/zlib/contrib/minizip/mztools.c:141:25: note: Assignment 'comsize=(int)strlen(comment)', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/mztools.c:187:25: note: Condition 'comsize>0' is always false cvs-1.12.13/zlib/contrib/minizip/mztools.c:233:21: style: Condition 'comsize>0' is always false [knownConditionTrueFalse] cvs-1.12.13/zlib/contrib/minizip/mztools.c:215:23: note: Assignment 'comment=""', assigned value is "" cvs-1.12.13/zlib/contrib/minizip/mztools.c:216:21: note: Assignment 'comsize=(int)strlen(comment)', assigned value is 0 cvs-1.12.13/zlib/contrib/minizip/mztools.c:233:21: note: Condition 'comsize>0' is always false cvs-1.12.13/zlib/contrib/minizip/mztools.c:139:16: style: Local variable 'header' shadows outer variable [shadowVariable] cvs-1.12.13/zlib/contrib/minizip/mztools.c:44:10: note: Shadowed declaration cvs-1.12.13/zlib/contrib/minizip/mztools.c:139:16: note: Shadow variable cvs-1.12.13/zlib/contrib/minizip/mztools.c:214:12: style: Local variable 'header' shadows outer variable [shadowVariable] cvs-1.12.13/zlib/contrib/minizip/mztools.c:44:10: note: Shadowed declaration cvs-1.12.13/zlib/contrib/minizip/mztools.c:214:12: note: Shadow variable cvs-1.12.13/zlib/contrib/minizip/mztools.c:140:17: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] cvs-1.12.13/zlib/contrib/minizip/mztools.c:215:13: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] diff: head cvs-1.12.13/diff/util.c:755:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/diff/util.c:842:21: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] head cvs-1.12.13/lib/fnmatch_loop.c:1147:24: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/lib/glob.c:1173:20: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/lib/mktime.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head cvs-1.12.13/src/admin.c:1003:22: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'admin_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/admin.c:579:44: note: You might need to cast the function pointer here cvs-1.12.13/src/admin.c:1003:22: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/admin.c:1004:46: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'admin_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/admin.c:579:44: note: You might need to cast the function pointer here cvs-1.12.13/src/admin.c:1004:46: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/commit.c:1133:25: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'check_direntproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/commit.c:678:28: note: You might need to cast the function pointer here cvs-1.12.13/src/commit.c:1133:25: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/commit.c:1134:49: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'check_direntproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/commit.c:678:28: note: You might need to cast the function pointer here cvs-1.12.13/src/commit.c:1134:49: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/cvsrc.c:43:11: style: Variable 'optstart' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/diff.c:834:21: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'diff_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:63: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:834:21: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/diff.c:835:45: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'diff_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/diff.c:459:63: note: You might need to cast the function pointer here cvs-1.12.13/src/diff.c:835:45: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/edit.c:934:8: style: Variable 'notif' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/fileattr.c:564:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/ignore.c:360:20: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/log.c:1340:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/log.c:1416:28: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'log_symbol' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:950:18: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1416:28: note: Parameter 'closure' can be declared as pointer to const head cvs-1.12.13/src/log.c:1540:15: style: Variable 'branch' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/log.c:1725:20: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'log_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:553:48: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1725:20: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/log.c:1726:44: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'log_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:553:48: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:1726:44: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/log.c:780:35: style: Parameter 'foo' can be declared as pointer to const. However it seems that 'printlock_proc' is a callback function, if 'foo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/log.c:921:39: note: You might need to cast the function pointer here cvs-1.12.13/src/log.c:780:35: note: Parameter 'foo' can be declared as pointer to const head cvs-1.12.13/src/patch.c:756:22: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'patch_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/patch.c:357:50: note: You might need to cast the function pointer here cvs-1.12.13/src/patch.c:756:22: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/patch.c:757:46: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'patch_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/patch.c:357:50: note: You might need to cast the function pointer here cvs-1.12.13/src/patch.c:757:46: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/rcs.c:389:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/rcs.c:443:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/rcs.c:7490:13: style: Variable 'ym' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/rcs.c:7493:16: style: Variable 'prvers' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/rcs.c:7585:25: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/rcs.c:8036:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/remove.c:270:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'remove_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/remove.c:116:51: note: You might need to cast the function pointer here cvs-1.12.13/src/remove.c:270:23: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/remove.c:271:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'remove_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/remove.c:116:51: note: You might need to cast the function pointer here cvs-1.12.13/src/remove.c:271:47: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/server.c:7675:26: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head cvs-1.12.13/src/status.c:346:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'status_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/status.c:110:51: note: You might need to cast the function pointer here cvs-1.12.13/src/status.c:346:23: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/status.c:347:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'status_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/status.c:110:51: note: You might need to cast the function pointer here cvs-1.12.13/src/status.c:347:47: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/subr.c:177:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head cvs-1.12.13/src/tag.c:1362:20: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'tag_dirproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:535:22: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1362:20: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/tag.c:1363:44: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'tag_dirproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:535:22: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1363:44: note: Parameter 'entries' can be declared as pointer to const head cvs-1.12.13/src/tag.c:1555:23: style: Parameter 'callerdat' can be declared as pointer to const. However it seems that 'val_direntproc' is a callback function, if 'callerdat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:1672:27: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1555:23: note: Parameter 'callerdat' can be declared as pointer to const head cvs-1.12.13/src/tag.c:1556:47: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'val_direntproc' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cvs-1.12.13/src/tag.c:1672:27: note: You might need to cast the function pointer here cvs-1.12.13/src/tag.c:1556:47: note: Parameter 'entries' can be declared as pointer to const 2.18.0 cvs-1.12.13/src/update.c:1276:25: error: Uninitialized variable: status [legacyUninitvar] head cvs-1.12.13/src/update.c:1276:25: warning: Uninitialized variable: status [uninitvar] cvs-1.12.13/src/update.c:1232:9: note: Assuming condition is false cvs-1.12.13/src/update.c:1276:25: note: Uninitialized variable: status head cvs-1.12.13/windows-NT/run.c:60:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head getdate.y:852:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] DONE