2022-06-25 19:44 ftp://ftp.de.debian.org/debian/pool/main/v/voms/voms_2.1.0~rc2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 242afc3 (2022-06-25 21:42:55 +0200) count: 433 431 elapsed-time: 2.4 2.8 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: voms-2.1.0-rc2/src/ac/attributes.h:69:1: error: There is an unknown macro here somewhere. Configuration is required. If DECLARE_ASN1_FUNCTIONS is a macro then please configure it. [unknownMacro] voms-2.1.0-rc2/src/ac/newformat.c:171:3: error: There is an unknown macro here somewhere. Configuration is required. If ASN1_SEQUENCE_END is a macro then please configure it. [unknownMacro] voms-2.1.0-rc2/src/api/ccapi/voms_api.h:218:3: style: Struct 'vomsdata' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] voms-2.1.0-rc2/src/api/ccapi/ccval.cc:48:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/client/vomsclient.h:49:3: style: Class 'VOMSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] voms-2.1.0-rc2/src/api/ccapi/voms_api.cc:854:66: error: Syntax Error: AST broken, 'orig' doesn't have a parent. [internalAstError] voms-2.1.0-rc2/src/common/data.cc:124:11: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] voms-2.1.0-rc2/src/common/data.cc:125:12: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] voms-2.1.0-rc2/src/common/data.cc:198:21: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/data.cc:199:21: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/data.cc:225:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/data.cc:283:18: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/data.cc:248:34: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/common/fqan.cc:75:43: performance: Ineffective call of function 'substr' because it returns a copy of the object. Use operator= instead. [uselessCallsSubstr] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:483:32: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:350:7: style: Condition 'result' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:341:7: note: Assuming that condition '!result' is not redundant voms-2.1.0-rc2/src/api/ccapi/api_util.cc:350:7: note: Condition 'result' is always true voms-2.1.0-rc2/src/api/ccapi/api_util.cc:119:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:154:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:292:41: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:332:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:347:7: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:373:12: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:375:51: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:392:13: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:421:23: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:616:21: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:737:56: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:566:9: style: The scope of the variable 'mode' can be reduced. [variableScope] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:821:8: style: The scope of the variable 'noregen' can be reduced. [variableScope] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:87:35: style:inconclusive: Function 'dncompare' argument 1 names different: declaration 'mut' definition 'first'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:81:35: note: Function 'dncompare' argument 1 names different: declaration 'mut' definition 'first'. voms-2.1.0-rc2/src/api/ccapi/api_util.cc:87:35: note: Function 'dncompare' argument 1 names different: declaration 'mut' definition 'first'. voms-2.1.0-rc2/src/api/ccapi/api_util.cc:87:54: style:inconclusive: Function 'dncompare' argument 2 names different: declaration 'fixed' definition 'second'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/api_util.cc:81:52: note: Function 'dncompare' argument 2 names different: declaration 'fixed' definition 'second'. voms-2.1.0-rc2/src/api/ccapi/api_util.cc:87:54: note: Function 'dncompare' argument 2 names different: declaration 'fixed' definition 'second'. voms-2.1.0-rc2/src/api/ccapi/api_util.cc:605:81: style:inconclusive: Function 'check_from_file' argument 3 names different: declaration 'vo' definition 'voname'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/voms_api.h:452:66: note: Function 'check_from_file' argument 3 names different: declaration 'vo' definition 'voname'. voms-2.1.0-rc2/src/api/ccapi/api_util.cc:605:81: note: Function 'check_from_file' argument 3 names different: declaration 'vo' definition 'voname'. voms-2.1.0-rc2/src/common/options.cc:246:22: style: Condition 'c!='?'' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/src/common/options.cc:264:11: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/options.cc:268:11: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/options.cc:83:23: performance: Function parameter 'str' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/common/pass.cc:119:23: performance: Function parameter 'passfile' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:232:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:231:34: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:232:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:254:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:253:34: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:254:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:380:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:379:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:380:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:417:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:416:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:417:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:432:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:431:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:432:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:444:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:443:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:444:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:473:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:472:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:473:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:487:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:486:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:487:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:501:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:500:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:501:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:513:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:512:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:513:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:524:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:523:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:524:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:539:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:538:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:539:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:552:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:551:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:552:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:570:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:569:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:570:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:617:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:616:35: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:617:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:633:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:632:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:633:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:649:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:648:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:649:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:673:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:672:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:673:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:689:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:688:27: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:689:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:705:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:704:49: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:705:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:722:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:721:49: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:722:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:751:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:750:14: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:751:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:761:6: warning: Either the condition '!error' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:760:15: note: Assuming that condition '!error' is not redundant voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:761:6: note: Null pointer dereference voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:55:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:64:25: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:85:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:101:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:129:12: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:152:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:163:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:174:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:196:32: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:197:31: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:236:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:258:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:285:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:313:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:322:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:358:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:396:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:581:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:733:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:770:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:800:19: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:806:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:821:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:874:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:885:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:926:38: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:250:68: style:inconclusive: Function 'VOMS_FindByAlias' argument 2 names different: declaration 'alias' definition 'vo'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:159:75: note: Function 'VOMS_FindByAlias' argument 2 names different: declaration 'alias' definition 'vo'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:250:68: note: Function 'VOMS_FindByAlias' argument 2 names different: declaration 'alias' definition 'vo'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:484:37: style:inconclusive: Function 'VOMS_SetVerificationTime' argument 1 names different: declaration 'verificationtime' definition 'vertime'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:344:44: note: Function 'VOMS_SetVerificationTime' argument 1 names different: declaration 'verificationtime' definition 'vertime'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:484:37: note: Function 'VOMS_SetVerificationTime' argument 1 names different: declaration 'verificationtime' definition 'vertime'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:24: style:inconclusive: Function 'VOMS_Contact' argument 1 names different: declaration 'hostname' definition 'host'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:279:31: note: Function 'VOMS_Contact' argument 1 names different: declaration 'hostname' definition 'host'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:24: note: Function 'VOMS_Contact' argument 1 names different: declaration 'hostname' definition 'host'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:46: style:inconclusive: Function 'VOMS_Contact' argument 3 names different: declaration 'servsubject' definition 'servsub'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:279:57: note: Function 'VOMS_Contact' argument 3 names different: declaration 'servsubject' definition 'servsub'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:46: note: Function 'VOMS_Contact' argument 3 names different: declaration 'servsubject' definition 'servsub'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:61: style:inconclusive: Function 'VOMS_Contact' argument 4 names different: declaration 'command' definition 'comm'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:280:10: note: Function 'VOMS_Contact' argument 4 names different: declaration 'command' definition 'comm'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:549:61: note: Function 'VOMS_Contact' argument 4 names different: declaration 'command' definition 'comm'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:27: style:inconclusive: Function 'VOMS_ContactRaw' argument 1 names different: declaration 'hostname' definition 'host'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:293:34: note: Function 'VOMS_ContactRaw' argument 1 names different: declaration 'hostname' definition 'host'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:27: note: Function 'VOMS_ContactRaw' argument 1 names different: declaration 'hostname' definition 'host'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:49: style:inconclusive: Function 'VOMS_ContactRaw' argument 3 names different: declaration 'servsubject' definition 'servsub'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:293:60: note: Function 'VOMS_ContactRaw' argument 3 names different: declaration 'servsubject' definition 'servsub'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:49: note: Function 'VOMS_ContactRaw' argument 3 names different: declaration 'servsubject' definition 'servsub'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:64: style:inconclusive: Function 'VOMS_ContactRaw' argument 4 names different: declaration 'command' definition 'comm'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:294:13: note: Function 'VOMS_ContactRaw' argument 4 names different: declaration 'command' definition 'comm'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:565:64: note: Function 'VOMS_ContactRaw' argument 4 names different: declaration 'command' definition 'comm'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:758:39: style:inconclusive: Function 'VOMS_Copy' argument 1 names different: declaration 'v' definition 'org'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:217:46: note: Function 'VOMS_Copy' argument 1 names different: declaration 'v' definition 'org'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:758:39: note: Function 'VOMS_Copy' argument 1 names different: declaration 'v' definition 'org'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:880:38: style:inconclusive: Function 'VOMS_Duplicate' argument 1 names different: declaration 'vd' definition 'orig'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/api/ccapi/cinterface.h:341:59: note: Function 'VOMS_Duplicate' argument 1 names different: declaration 'vd' definition 'orig'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:880:38: note: Function 'VOMS_Duplicate' argument 1 names different: declaration 'vd' definition 'orig'. voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:918:63: style: Parameter 'vd' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/src/log/fs.c:102:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] voms-2.1.0-rc2/src/log/fs.c:259:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] voms-2.1.0-rc2/src/log/fs.c:94:12: style: Local variable 'data' shadows outer argument [shadowArgument] voms-2.1.0-rc2/src/log/fs.c:69:32: note: Shadowed declaration voms-2.1.0-rc2/src/log/fs.c:94:12: note: Shadow variable voms-2.1.0-rc2/src/replib/getopt_long.c:1220:0: error: #endif without #if [preprocessorErrorDirective] voms-2.1.0-rc2/src/common/xmlcc.cc:109:12: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:131:18: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:138:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:176:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:226:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:406:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:418:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:434:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:462:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:524:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:537:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/common/xmlcc.cc:220:56: style:inconclusive: Function 'MyDecode' argument 3 names different: declaration 'j' definition 'n'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/common/xmlcc.cc:88:56: note: Function 'MyDecode' argument 3 names different: declaration 'j' definition 'n'. voms-2.1.0-rc2/src/common/xmlcc.cc:220:56: note: Function 'MyDecode' argument 3 names different: declaration 'j' definition 'n'. voms-2.1.0-rc2/src/replib/getopt_long_only.c:1220:0: error: #endif without #if [preprocessorErrorDirective] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::sock' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::ac' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::av' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::validity' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::logfile' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::gatekeeper_test' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::daemon_port' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::foreground' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::x509_cert_dir' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::x509_cert_file' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::x509_user_proxy' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::x509_user_cert' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::x509_user_key' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::desired_name_char' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::username' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::dbname' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::contactstring' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::mysql_port' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::mysql_socket' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::passfile' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::voname' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::uri' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::version' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::subject' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::ca' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::debug' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::code' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::backlog' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::logger' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::socktimeout' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::logmax' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::loglev' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::logt' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::logdf' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::logf' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::newformat' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::insecure' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::shortfqans' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::do_syslog' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::base64encoding' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning:inconclusive: Member variable 'VOMSServer::nologfile' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: warning: Member variable 'VOMSServer::max_active_requests' is not assigned a value in 'VOMSServer::operator='. [operatorEqVarError] voms-2.1.0-rc2/src/server/VOMSServer.h:115:15: style: 'operator=' should either return reference to 'this' instance or be declared private and left unimplemented. [operatorEqShouldBeLeftUnimplemented] voms-2.1.0-rc2/src/server/VOMSServer.h:44:3: style: Struct 'voms_init_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] voms-2.1.0-rc2/src/server/VOMSServer.h:52:3: style: Struct 'voms_execution_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] voms-2.1.0-rc2/src/server/VOMSServer.h:69:38: performance: Function parameter 'message' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/server/VOMSServer.h:87:26: performance: Function parameter 'ac' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/server/VOMSServer.h:92:28: performance: Function parameter 'data' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/socklib/Client.cpp:140:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/socklib/Client.cpp:163:10: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/socklib/Client.cpp:164:10: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/socklib/Client.cpp:183:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:85:10: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:86:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:87:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:90:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:93:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd-rest.cc:119:23: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/socklib/io.cc:227:18: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/socklib/Server.cpp:664:31: style: Redundant condition: timeout!=-1. 'timeout==-1 || (timeout!=-1 && curtime-starttimeyy_c_buf_p' is reassigned a value before the old one has been used. [redundantAssignment] namespaces.l:103:17: note: yyg->yy_c_buf_p is assigned namespaces.l:104:1: note: yyg->yy_c_buf_p is overwritten lex.namespaces.c:2219:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lex.namespaces.c:1319:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.namespaces.c:2219:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.namespaces.c:2246:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lex.namespaces.c:1549:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.namespaces.c:2246:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.namespaces.c:2755:56: style:inconclusive: Function 'namespaces_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lex.namespaces.c:367:55: note: Function 'namespaces_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.namespaces.c:2755:56: note: Function 'namespaces_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.namespaces.c:2770:56: style:inconclusive: Function 'namespaces_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lex.namespaces.c:368:54: note: Function 'namespaces_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.namespaces.c:2770:56: note: Function 'namespaces_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.namespaces.c:2770:70: style:inconclusive: Function 'namespaces_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lex.namespaces.c:368:64: note: Function 'namespaces_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.namespaces.c:2770:70: note: Function 'namespaces_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.namespaces.c:2979:32: style:inconclusive: Function 'namespacesset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] lex.namespaces.c:1505:31: note: Function 'namespacesset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.namespaces.c:2979:32: note: Function 'namespacesset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.namespaces.c:3013:34: style:inconclusive: Function 'namespaceslex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] lex.namespaces.c:1490:35: note: Function 'namespaceslex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.namespaces.c:3013:34: note: Function 'namespaceslex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.namespaces.c:3042:44: style:inconclusive: Function 'namespaceslex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] lex.namespaces.c:1492:45: note: Function 'namespaceslex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. lex.namespaces.c:3042:44: note: Function 'namespaceslex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. lex.namespaces.c:3042:70: style:inconclusive: Function 'namespaceslex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] lex.namespaces.c:1492:68: note: Function 'namespaceslex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.namespaces.c:3042:70: note: Function 'namespaceslex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.namespaces.c:2770:56: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/src/server/vomsd.cc:1454:17: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] voms-2.1.0-rc2/src/server/vomsd.cc:1060:6: style: Condition 'result' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/src/server/vomsd.cc:1028:7: note: Assuming that condition '!result' is not redundant voms-2.1.0-rc2/src/server/vomsd.cc:1060:6: note: Condition 'result' is always true voms-2.1.0-rc2/src/server/vomsd.cc:1182:10: style: Condition 'result' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/src/server/vomsd.cc:1028:7: note: Assuming that condition '!result' is not redundant voms-2.1.0-rc2/src/server/vomsd.cc:1182:10: note: Condition 'result' is always true voms-2.1.0-rc2/src/server/vomsd.cc:1501:7: error: Memory pointed to by 'string' is freed twice. [doubleFree] voms-2.1.0-rc2/src/server/vomsd.cc:1496:7: note: Memory pointed to by 'string' is freed twice. voms-2.1.0-rc2/src/server/vomsd.cc:1501:7: note: Memory pointed to by 'string' is freed twice. voms-2.1.0-rc2/src/server/vomsd.cc:1508:5: error: Memory pointed to by 'string' is freed twice. [doubleFree] voms-2.1.0-rc2/src/server/vomsd.cc:1496:7: note: Memory pointed to by 'string' is freed twice. voms-2.1.0-rc2/src/server/vomsd.cc:1508:5: note: Memory pointed to by 'string' is freed twice. voms-2.1.0-rc2/src/server/vomsd.cc:1455:16: error: Pointer addition with NULL pointer. [nullPointerArithmetic] voms-2.1.0-rc2/src/server/vomsd.cc:1454:19: note: Assignment '(*role)='\0'', assigned value is 0 voms-2.1.0-rc2/src/server/vomsd.cc:1455:16: note: Null pointer addition voms-2.1.0-rc2/src/server/vomsd.cc:545:21: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd.cc:587:38: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd.cc:678:16: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd.cc:681:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd.cc:684:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/server/vomsd.cc:673:9: style: The scope of the variable 'pid' can be reduced. [variableScope] voms-2.1.0-rc2/src/server/vomsd.cc:1080:40: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:958:44: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1080:40: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1111:33: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:958:44: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1111:33: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1176:46: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:958:44: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1176:46: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1183:46: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:1176:46: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1183:46: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1196:48: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:1176:46: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1196:48: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1215:48: style: Local variable 'end' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/server/vomsd.cc:1176:46: note: Shadowed declaration voms-2.1.0-rc2/src/server/vomsd.cc:1215:48: note: Shadow variable voms-2.1.0-rc2/src/server/vomsd.cc:1517:61: performance: Function parameter 'list' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/server/vomsd.cc:1138:39: error: Using iterator to local container 'fqans' that may be invalid. [invalidContainer] voms-2.1.0-rc2/src/server/vomsd.cc:1129:56: note: Iterator to container is created here. voms-2.1.0-rc2/src/server/vomsd.cc:1132:9: note: Assuming condition is true. voms-2.1.0-rc2/src/server/vomsd.cc:1135:17: note: After calling 'erase', iterators or references to the container's data may be invalid . voms-2.1.0-rc2/src/server/vomsd.cc:928:28: note: Variable created here. voms-2.1.0-rc2/src/server/vomsd.cc:1138:39: note: Using iterator to local container 'fqans' that may be invalid. voms-2.1.0-rc2/src/server/vomsd.cc:1579:16: error: Memory is allocated but not initialized: hostname [uninitdata] voms-2.1.0-rc2/src/server/vomsd.cc:654:19: style: Variable 'msg' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/server/vomsd.cc:897:15: style: Unused variable: tmp [unusedVariable] voms-2.1.0-rc2/src/sslutils/proxycertinfo.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If ASN1_SEQUENCE_END is a macro then please configure it. [unknownMacro] voms-2.1.0-rc2/src/sslutils/proxy.c:119:10: style: The if condition is the same as the previous if condition [duplicateCondition] voms-2.1.0-rc2/src/sslutils/proxy.c:111:10: note: First condition voms-2.1.0-rc2/src/sslutils/proxy.c:119:10: note: Second condition voms-2.1.0-rc2/src/sslutils/proxy.c:871:13: style: Variable 'value' is assigned a value that is never used. [unreadVariable] namespaces.c:733:47: warning: Either the condition 'yytype<10' is redundant or the array 'yytname[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] namespaces.c:730:14: note: Assuming that condition 'yytype<10' is not redundant namespaces.c:733:47: note: Array index out of bounds namespaces.c:1325:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] namespaces.c:1322:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 namespaces.c:1323:11: note: Assuming that condition 'yyn<=0' is not redundant namespaces.c:1325:15: note: Condition 'yyn==0' is always true namespaces.c:1502:45: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] namespaces.y:66:82: style: Same expression on both sides of '-'. [duplicateExpression] namespaces.y:73:82: style: Same expression on both sides of '-'. [duplicateExpression] namespaces.y:85:82: style: Same expression on both sides of '-'. [duplicateExpression] namespaces.y:101:82: style: Same expression on both sides of '-'. [duplicateExpression] namespaces.y:115:48: style: Same expression on both sides of '-'. [duplicateExpression] namespaces.c:752:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] lex.signing.c:4087:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] lex.signing.c:3171:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lex.signing.c:2252:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.signing.c:3171:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.signing.c:3198:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lex.signing.c:2494:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.signing.c:3198:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.signing.c:3707:53: style:inconclusive: Function 'signing_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lex.signing.c:367:52: note: Function 'signing_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.signing.c:3707:53: note: Function 'signing_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.signing.c:3722:53: style:inconclusive: Function 'signing_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lex.signing.c:368:51: note: Function 'signing_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.signing.c:3722:53: note: Function 'signing_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.signing.c:3722:67: style:inconclusive: Function 'signing_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lex.signing.c:368:61: note: Function 'signing_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.signing.c:3722:67: note: Function 'signing_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.signing.c:3931:29: style:inconclusive: Function 'signingset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] lex.signing.c:2450:28: note: Function 'signingset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.signing.c:3931:29: note: Function 'signingset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.signing.c:3965:31: style:inconclusive: Function 'signinglex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] lex.signing.c:2435:32: note: Function 'signinglex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.signing.c:3965:31: note: Function 'signinglex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.signing.c:3994:41: style:inconclusive: Function 'signinglex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] lex.signing.c:2437:42: note: Function 'signinglex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. lex.signing.c:3994:41: note: Function 'signinglex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. lex.signing.c:3994:67: style:inconclusive: Function 'signinglex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] lex.signing.c:2437:65: note: Function 'signinglex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.signing.c:3994:67: note: Function 'signinglex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. lex.signing.c:3722:53: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/src/utils/voms_proxy_destroy.cc:180:8: style: The scope of the variable 'delblock' can be reduced. [variableScope] lex.yy.c:997:27: warning: Possible null pointer dereference: b [nullPointer] lex.yy.c:994:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 lex.yy.c:997:27: note: Null pointer dereference lex.yy.c:999:9: warning: Possible null pointer dereference: b [nullPointer] lex.yy.c:994:24: note: Assignment 'b=(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL', assigned value is 0 lex.yy.c:999:9: note: Null pointer dereference lex.yy.c:1366:2: warning: Possible null pointer dereference: b [nullPointer] lex.yy.c:1255:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lex.yy.c:1366:2: note: Null pointer dereference lex.yy.c:1367:2: warning: Possible null pointer dereference: b [nullPointer] lex.yy.c:1255:17: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 lex.yy.c:1367:2: note: Null pointer dereference lex.yy.c:1031:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] lex.yy.c:1031:3: note: c is initialized lex.yy.c:1031:3: note: c is overwritten lex.yy.c:1107:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] lex.yy.c:351:54: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.yy.c:1107:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. lex.yy.c:1130:49: style:inconclusive: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. [funcArgNamesDifferent] lex.yy.c:550:38: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.yy.c:1130:49: note: Function 'yyunput' argument 2 names different: declaration 'buf_ptr' definition 'yy_bp'. lex.yy.c:1551:48: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] lex.yy.c:301:47: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.yy.c:1551:48: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. lex.yy.c:1564:48: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] lex.yy.c:302:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.yy.c:1564:48: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. lex.yy.c:1564:62: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] lex.yy.c:302:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.yy.c:1564:62: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. lex.yy.c:1696:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. [funcArgNamesDifferent] lex.yy.c:516:23: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.yy.c:1696:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition 'bdebug'. lex.yy.c:1564:48: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/src/sslutils/sslutils.c:468:9: warning: Return value of function clock() is not used. [ignoredReturnValue] signing_policy.c:752:47: warning: Either the condition 'yytype<13' is redundant or the array 'yytname[21]' is accessed at index 21, which is out of bounds. [arrayIndexOutOfBoundsCond] signing_policy.c:749:14: note: Assuming that condition 'yytype<13' is not redundant signing_policy.c:752:47: note: Array index out of bounds signing_policy.c:1344:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] signing_policy.c:1341:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 signing_policy.c:1342:11: note: Assuming that condition 'yyn<=0' is not redundant signing_policy.c:1344:15: note: Condition 'yyn==0' is always true signing_policy.c:1576:45: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] signing_policy.y:72:85: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:79:85: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:88:61: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:110:31: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:119:52: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:128:38: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:140:49: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:170:50: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.y:190:50: style: Same expression on both sides of '-'. [duplicateExpression] signing_policy.c:771:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/src/utils/voms_verify.cc:75:10: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_verify.cc:76:10: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_verify.cc:87:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_verify.cc:95:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_verify.cc:170:17: style: Variable 'cert_fp' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:310:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:473:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:751:13: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:755:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:297:7: style: Local variable 'bits' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:132:20: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:297:7: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:504:11: style: Local variable 'cert' shadows outer argument [shadowArgument] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:489:25: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:504:11: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:509:13: style: Local variable 'totbits' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:496:7: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:509:13: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:510:16: style: Local variable 'leftcert' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:493:10: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:510:16: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:517:21: style: Local variable 'type' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:113:20: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:517:21: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:638:15: style: Local variable 'tmp' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:632:11: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:638:15: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:639:15: style: Local variable 'cert' shadows outer argument [shadowArgument] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:489:25: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:639:15: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:714:43: style: Local variable 'vend' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:650:37: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:714:43: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:741:15: style: Local variable 'keyusage' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:142:20: note: Shadowed declaration voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:741:15: note: Shadow variable voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:469:22: performance: Function parameter 'data' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/src/utils/voms_proxy_info.cc:714:43: style: Variable 'vend' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/sslutils/sslutils.c:1943:38: style: Condition 'error_string!=NULL' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/src/sslutils/sslutils.c:1925:39: note: Assignment 'error_string=NULL', assigned value is 0 voms-2.1.0-rc2/src/sslutils/sslutils.c:1943:38: note: Condition 'error_string!=NULL' is always false voms-2.1.0-rc2/src/sslutils/sslutils.c:1958:38: style: Condition 'error_string!=NULL' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/src/sslutils/sslutils.c:1925:39: note: Assignment 'error_string=NULL', assigned value is 0 voms-2.1.0-rc2/src/sslutils/sslutils.c:1958:38: note: Condition 'error_string!=NULL' is always false voms-2.1.0-rc2/src/sslutils/sslutils.c:3654:28: style: Condition '*dnstring=='\0'' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/src/sslutils/sslutils.c:3690:28: style: Condition '*dnstring=='\0'' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/src/sslutils/sslutils.c:3698:20: style: Variable '*currentvalue' is reassigned a value before the old one has been used. [redundantAssignment] voms-2.1.0-rc2/src/sslutils/sslutils.c:3687:24: note: *currentvalue is assigned voms-2.1.0-rc2/src/sslutils/sslutils.c:3698:20: note: *currentvalue is overwritten voms-2.1.0-rc2/src/sslutils/sslutils.c:3698:20: style: Variable '*currentvalue' is reassigned a value before the old one has been used. [redundantAssignment] voms-2.1.0-rc2/src/sslutils/sslutils.c:3691:24: note: *currentvalue is assigned voms-2.1.0-rc2/src/sslutils/sslutils.c:3698:20: note: *currentvalue is overwritten voms-2.1.0-rc2/testsuite/voms/voms/server.c:122:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'BIO *'. [invalidPrintfArgType_sint] voms-2.1.0-rc2/testsuite/voms/voms/server.c:135:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/basictest.c:21:23: style: Variable 'vd' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/voms/server2.c:122:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'BIO *'. [invalidPrintfArgType_sint] voms-2.1.0-rc2/testsuite/voms/voms/server2.c:132:15: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata.c:196:19: style: Variable 'k' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata2.c:196:19: style: Variable 'k' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/ddtest.c:29:17: style: Variable 'total' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/ddtest.c:30:17: style: Variable 'count' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata3.c:71:14: style: Condition '!cp' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata3.c:71:29: style: Condition 'cp' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata3.c:74:13: style: Condition '!cp' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/delete.c:28:23: style: Variable 'or' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata3.c:56:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/copydata3.c:172:17: style: Variable 'k' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/destroy.c:23:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/freetarget.c:47:21: style: Variable 'index' is assigned a value that is never used. [unreadVariable] vomsparser.c:714:47: warning: Either the condition 'yytype<10' is redundant or the array 'yytname[17]' is accessed at index 17, which is out of bounds. [arrayIndexOutOfBoundsCond] vomsparser.c:711:14: note: Assuming that condition 'yytype<10' is not redundant vomsparser.c:714:47: note: Array index out of bounds vomsparser.c:1300:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] vomsparser.c:1297:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 vomsparser.c:1298:11: note: Assuming that condition 'yyn<=0' is not redundant vomsparser.c:1300:15: note: Condition 'yyn==0' is always true vomsparser.c:1548:45: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:57:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:53:34: warning: Either the condition 'voms' is redundant or there is possible null pointer dereference: voms. [nullPointerRedundantCheck] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:56:13: note: Assuming that condition 'voms' is not redundant voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:53:34: note: Null pointer dereference voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:54:34: warning: Either the condition 'voms' is redundant or there is possible null pointer dereference: voms. [nullPointerRedundantCheck] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:56:13: note: Assuming that condition 'voms' is not redundant voms-2.1.0-rc2/testsuite/voms/vomsapi-c/lifetime.c:54:34: note: Null pointer dereference vomsfake.y:55:57: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:66:57: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:85:35: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:121:66: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:131:66: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:142:37: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:153:84: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:157:43: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:159:19: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:186:34: style: Same expression on both sides of '-'. [duplicateExpression] vomsfake.y:193:34: style: Same expression on both sides of '-'. [duplicateExpression] vomsparser.c:733:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/printtargets.c:25:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/utils/vomsfake.cc:731:22: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.cc:731:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.cc:734:22: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.cc:734:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.cc:746:20: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.cc:746:28: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] voms-2.1.0-rc2/src/utils/vomsfake.h:142:17: performance:inconclusive: Technically the member function 'Fake::Print' can be static (but you may consider moving to unnamed namespace). [functionStatic] voms-2.1.0-rc2/src/utils/vomsfake.cc:1072:21: note: Technically the member function 'Fake::Print' can be static (but you may consider moving to unnamed namespace). voms-2.1.0-rc2/src/utils/vomsfake.h:142:17: note: Technically the member function 'Fake::Print' can be static (but you may consider moving to unnamed namespace). voms-2.1.0-rc2/src/utils/vomsfake.cc:570:9: style: Condition 'qualpoint' is always true [knownConditionTrueFalse] voms-2.1.0-rc2/src/utils/vomsfake.cc:942:23: style: Condition 'hostcert.empty()' is always false [knownConditionTrueFalse] voms-2.1.0-rc2/src/utils/vomsfake.cc:939:23: note: Assuming that condition 'hostcert.empty()' is not redundant voms-2.1.0-rc2/src/utils/vomsfake.cc:942:23: note: Condition 'hostcert.empty()' is always false voms-2.1.0-rc2/src/utils/vomsfake.cc:578:22: warning: Either the condition 'qualpoint' is redundant or there is possible null pointer dereference: --qualpoint. [nullPointerRedundantCheck] voms-2.1.0-rc2/src/utils/vomsfake.cc:570:9: note: Assuming that condition 'qualpoint' is not redundant voms-2.1.0-rc2/src/utils/vomsfake.cc:575:15: note: qualpoint is incremented', new value is 1 voms-2.1.0-rc2/src/utils/vomsfake.cc:578:22: note: Null pointer dereference voms-2.1.0-rc2/testsuite/voms/vomsapi-c/proxyfromfile.c:24:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/utils/vomsfake.cc:379:17: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:382:15: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:383:20: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:385:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:386:23: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:387:19: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:392:21: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:394:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:397:19: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:404:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:418:45: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:421:28: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:435:13: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:516:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:597:29: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:620:27: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:698:29: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:704:32: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:800:54: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:839:19: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:862:14: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1102:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1106:24: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1111:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1114:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1115:26: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/src/utils/vomsfake.cc:1255:31: style: C-style pointer casting [cstyleCast] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/readfromproxy.c:24:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/src/utils/vomsfake.cc:677:7: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] voms-2.1.0-rc2/src/utils/vomsfake.cc:585:36: style:inconclusive: Function 'CreateProxy' argument 1 names different: declaration 'filedata' definition 'data'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/utils/vomsfake.h:120:32: note: Function 'CreateProxy' argument 1 names different: declaration 'filedata' definition 'data'. voms-2.1.0-rc2/src/utils/vomsfake.cc:585:36: note: Function 'CreateProxy' argument 1 names different: declaration 'filedata' definition 'data'. voms-2.1.0-rc2/src/utils/vomsfake.cc:750:28: style:inconclusive: Function 'MakeACs' argument 1 names different: declaration 'list' definition 'volist'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/utils/vomsfake.h:122:24: note: Function 'MakeACs' argument 1 names different: declaration 'list' definition 'volist'. voms-2.1.0-rc2/src/utils/vomsfake.cc:750:28: note: Function 'MakeACs' argument 1 names different: declaration 'list' definition 'volist'. voms-2.1.0-rc2/src/utils/vomsfake.cc:925:34: style:inconclusive: Function 'exitError' argument 1 names different: declaration 'message' definition 'string'. [funcArgNamesDifferent] voms-2.1.0-rc2/src/utils/vomsfake.h:141:30: note: Function 'exitError' argument 1 names different: declaration 'message' definition 'string'. voms-2.1.0-rc2/src/utils/vomsfake.cc:925:34: note: Function 'exitError' argument 1 names different: declaration 'message' definition 'string'. voms-2.1.0-rc2/src/utils/vomsfake.cc:796:20: style: Local variable 'i' shadows outer variable [shadowVariable] voms-2.1.0-rc2/src/utils/vomsfake.cc:761:12: note: Shadowed declaration voms-2.1.0-rc2/src/utils/vomsfake.cc:796:20: note: Shadow variable voms-2.1.0-rc2/src/utils/vomsfake.cc:585:36: performance: Function parameter 'data' should be passed by const reference. [passedByValue] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/retrieve.c:78:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/expimp.c:201:23: style: Variable 'k' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/target.c:46:21: style: Variable 'index' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/retrieveext.c:32:11: style: Variable 'nid' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/vertime.c:78:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/retrieveext.c:33:13: style: Variable 'index' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/defaultdata.cc:28:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/defaultdata.cc:31:15: style: Variable 'total' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/defaultdata.cc:32:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/defaultdata.cc:35:33: style: Variable 'vomsarray' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/retrievefromctx.cc:24:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/verifier.cc:27:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-c/parsetest.c:30:17: style: Variable 'count' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/duplication.cc:28:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/duplication.cc:33:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/parsertest.cc:28:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] voms-2.1.0-rc2/testsuite/voms/vomsapi-cpp/parsertest.cc:32:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] diff: head lex.namespaces.c:2770:56: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] 2.8 lex.namespaces.c:2770:56: style: Parameter 'yybytes' can be declared with const [constParameter] head lex.signing.c:3722:53: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] 2.8 lex.signing.c:3722:53: style: Parameter 'yybytes' can be declared with const [constParameter] head lex.yy.c:1564:48: style: Parameter 'yybytes' can be declared as pointer to const [constParameter] 2.8 lex.yy.c:1564:48: style: Parameter 'yybytes' can be declared with const [constParameter] head namespaces.c:752:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] 2.8 namespaces.c:752:19: style: Parameter 'yytop' can be declared with const [constParameter] head signing_policy.c:771:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] 2.8 signing_policy.c:771:19: style: Parameter 'yytop' can be declared with const [constParameter] head voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:918:63: style: Parameter 'vd' can be declared as pointer to const [constParameter] 2.8 voms-2.1.0-rc2/src/api/ccapi/cinterface.cc:918:63: style: Parameter 'vd' can be declared with const [constParameter] head voms-2.1.0-rc2/src/api/ccapi/voms_api.h:218:3: style: Struct 'vomsdata' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head voms-2.1.0-rc2/src/client/vomsclient.h:49:3: style: Class 'VOMSException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head voms-2.1.0-rc2/src/socklib/Server.cpp:88:45: style: Parameter 'beginning' can be declared as pointer to const [constParameter] 2.8 voms-2.1.0-rc2/src/socklib/Server.cpp:88:45: style: Parameter 'beginning' can be declared with const [constParameter] head vomsparser.c:733:19: style: Parameter 'yytop' can be declared as pointer to const [constParameter] 2.8 vomsparser.c:733:19: style: Parameter 'yytop' can be declared with const [constParameter] DONE