2026-05-01 15:18 ftp://ftp.de.debian.org/debian/pool/main/d/djview4/djview4_4.12.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=motif --library=gtk --library=nspr --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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 133 122 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: djview4-4.12.3/mac/mdimporter_src/main.c:146:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFAllocatorDefault [valueFlowBailoutIncompleteVar] djview4-4.12.3/mac/mdimporter_src/main.c:216:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kMDImporterTypeID [valueFlowBailoutIncompleteVar] djview4-4.12.3/mac/qlgenerator_src/main.c:108:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QLGeneratorInterfaceStruct [valueFlowBailoutIncompleteVar] djview4-4.12.3/mac/qlgenerator_src/main.c:153:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kCFAllocatorDefault [valueFlowBailoutIncompleteVar] djview4-4.12.3/mac/qlgenerator_src/main.c:217:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kQLGeneratorTypeID [valueFlowBailoutIncompleteVar] djview4-4.12.3/mac/mdimporter_src/main.c:103:12: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/mdimporter_src/main.c:102:58: note: Assuming allocation function fails djview4-4.12.3/mac/mdimporter_src/main.c:102:22: note: Assignment 'theNewInstance=(struct MetadataImporterPluginType*)malloc(sizeof(struct MetadataImporterPluginType))', assigned value is 0 djview4-4.12.3/mac/mdimporter_src/main.c:103:12: note: Null pointer dereference djview4-4.12.3/mac/mdimporter_src/main.c:106:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/mdimporter_src/main.c:102:58: note: Assuming allocation function fails djview4-4.12.3/mac/mdimporter_src/main.c:102:22: note: Assignment 'theNewInstance=(struct MetadataImporterPluginType*)malloc(sizeof(struct MetadataImporterPluginType))', assigned value is 0 djview4-4.12.3/mac/mdimporter_src/main.c:106:5: note: Null pointer dereference djview4-4.12.3/mac/mdimporter_src/main.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/mdimporter_src/main.c:102:58: note: Assuming allocation function fails djview4-4.12.3/mac/mdimporter_src/main.c:102:22: note: Assignment 'theNewInstance=(struct MetadataImporterPluginType*)malloc(sizeof(struct MetadataImporterPluginType))', assigned value is 0 djview4-4.12.3/mac/mdimporter_src/main.c:109:5: note: Null pointer dereference djview4-4.12.3/mac/mdimporter_src/main.c:113:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/mdimporter_src/main.c:102:58: note: Assuming allocation function fails djview4-4.12.3/mac/mdimporter_src/main.c:102:22: note: Assignment 'theNewInstance=(struct MetadataImporterPluginType*)malloc(sizeof(struct MetadataImporterPluginType))', assigned value is 0 djview4-4.12.3/mac/mdimporter_src/main.c:113:5: note: Null pointer dereference djview4-4.12.3/mac/qlgenerator_src/main.c:105:12: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/qlgenerator_src/main.c:104:60: note: Assuming allocation function fails djview4-4.12.3/mac/qlgenerator_src/main.c:104:22: note: Assignment 'theNewInstance=(struct QuickLookGeneratorPluginType*)malloc(sizeof(struct QuickLookGeneratorPluginType))', assigned value is 0 djview4-4.12.3/mac/qlgenerator_src/main.c:105:12: note: Null pointer dereference djview4-4.12.3/mac/qlgenerator_src/main.c:108:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/qlgenerator_src/main.c:104:60: note: Assuming allocation function fails djview4-4.12.3/mac/qlgenerator_src/main.c:104:22: note: Assignment 'theNewInstance=(struct QuickLookGeneratorPluginType*)malloc(sizeof(struct QuickLookGeneratorPluginType))', assigned value is 0 djview4-4.12.3/mac/qlgenerator_src/main.c:108:5: note: Null pointer dereference djview4-4.12.3/mac/qlgenerator_src/main.c:109:12: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/qlgenerator_src/main.c:104:60: note: Assuming allocation function fails djview4-4.12.3/mac/qlgenerator_src/main.c:104:22: note: Assignment 'theNewInstance=(struct QuickLookGeneratorPluginType*)malloc(sizeof(struct QuickLookGeneratorPluginType))', assigned value is 0 djview4-4.12.3/mac/qlgenerator_src/main.c:109:12: note: Null pointer dereference djview4-4.12.3/mac/qlgenerator_src/main.c:112:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/qlgenerator_src/main.c:104:60: note: Assuming allocation function fails djview4-4.12.3/mac/qlgenerator_src/main.c:104:22: note: Assignment 'theNewInstance=(struct QuickLookGeneratorPluginType*)malloc(sizeof(struct QuickLookGeneratorPluginType))', assigned value is 0 djview4-4.12.3/mac/qlgenerator_src/main.c:112:5: note: Null pointer dereference djview4-4.12.3/mac/qlgenerator_src/main.c:116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: theNewInstance [nullPointerOutOfMemory] djview4-4.12.3/mac/qlgenerator_src/main.c:104:60: note: Assuming allocation function fails djview4-4.12.3/mac/qlgenerator_src/main.c:104:22: note: Assignment 'theNewInstance=(struct QuickLookGeneratorPluginType*)malloc(sizeof(struct QuickLookGeneratorPluginType))', assigned value is 0 djview4-4.12.3/mac/qlgenerator_src/main.c:116:5: note: Null pointer dereference djview4-4.12.3/npdjvu/npdjvu.cpp:871:43: error: There is an unknown macro here somewhere. Configuration is required. If DJVIEW_VERSION_STR is a macro then please configure it. [unknownMacro] djview4-4.12.3/npdjvu/qtbrowserplugin_x11.cpp:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_x11.cpp:107:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Desktop [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtnpapi.h:391:5: warning: Member variable 'NPVariant::value' is not initialized in the constructor. [uninitMemberVar] djview4-4.12.3/npdjvu/qtnpapi.h:341:5: style: Struct 'NPClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] djview4-4.12.3/npdjvu/qtbrowserplugin_x11.cpp:56:47: style: Parameter 'This' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/npdjvu/qtbrowserplugin_x11.cpp:78:44: style: Parameter 'This' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_unknown [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:207:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Desktop [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:224:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_STYLE [valueFlowBailoutIncompleteVar] djview4-4.12.3/src/qdjview.h:74:3: error: #error "DDJVUAPI_VERSION>=18 is required !" [preprocessorErrorDirective] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:219:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Leave [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:250:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullEvent [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:411:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qApp [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:435:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Desktop [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:471:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kWindowContentRgn [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtnpapi.cpp:362:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Double [valueFlowBailoutIncompleteVar] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:119:16: style: C-style pointer casting [cstyleCast] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:120:10: style: The scope of the variable 'processed' can be reduced. [variableScope] djview4-4.12.3/npdjvu/qtbrowserplugin.h:30:47: style:inconclusive: Function 'qtns_initialize' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtbrowserplugin.h:31:44: style:inconclusive: Function 'qtns_destroy' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtbrowserplugin_win.cpp:120:20: style: Variable 'processed' is assigned a value that is never used. [unreadVariable] djview4-4.12.3/npdjvu/qtnpapi.cpp:465:12: warning: Struct 'NPClass' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] djview4-4.12.3/npdjvu/qtnpapi.cpp:465:12: warning: Struct 'NPClass' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] djview4-4.12.3/npdjvu/qtnpapi.cpp:399:5: warning: Either the condition 'npobj' is redundant or there is possible null pointer dereference: npobj. [nullPointerRedundantCheck] djview4-4.12.3/npdjvu/qtnpapi.cpp:397:7: note: Assuming that condition 'npobj' is not redundant djview4-4.12.3/npdjvu/qtnpapi.cpp:399:5: note: Null pointer dereference djview4-4.12.3/npdjvu/qtnpapi.cpp:335:31: style: C-style pointer casting [cstyleCast] djview4-4.12.3/npdjvu/qtnpapi.cpp:336:12: style: C-style pointer casting [cstyleCast] djview4-4.12.3/npdjvu/qtnpapi.h:397:49: style:inconclusive: Function 'fromQVariant' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtnpapi.cpp:445:32: style:inconclusive: Function 'NPClass' argument 1 names different: declaration 'qtnp' definition 'This'. [funcArgNamesDifferent] djview4-4.12.3/npdjvu/qtnpapi.h:341:27: note: Function 'NPClass' argument 1 names different: declaration 'qtnp' definition 'This'. djview4-4.12.3/npdjvu/qtnpapi.cpp:445:32: note: Function 'NPClass' argument 1 names different: declaration 'qtnp' definition 'This'. djview4-4.12.3/src/qdjvu.cpp:57:3: error: #error "DDJVUAPI_VERSION>=17 is required !" [preprocessorErrorDirective] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:53:5: style: Class 'QMacBrowserRoot' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:561:17: style: C-style pointer casting [cstyleCast] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:245:42: style:inconclusive: Function 'qtns_event' argument 1 names different: declaration '' definition 'This'. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:245:57: style:inconclusive: Function 'qtns_event' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:465:86: style:inconclusive: Function 'qtns_setGeometry' argument 3 names different: declaration '' definition 'clipRect'. [funcArgNamesDifferentUnnamed] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:288:22: style: Local variable 'widget' shadows outer variable [shadowVariable] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:283:24: note: Shadowed declaration djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:288:22: note: Shadow variable djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:361:26: style: Local variable 'widget' shadows outer variable [shadowVariable] djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:283:24: note: Shadowed declaration djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:361:26: note: Shadow variable djview4-4.12.3/src/qdjvunet.cpp:415:19: warning: Member variable 'QDjVuNetDocument::p' is not initialized in the constructor. [uninitMemberVar] djview4-4.12.3/src/qdjvunet.cpp:419:19: warning: Member variable 'QDjVuNetDocument::p' is not initialized in the constructor. [uninitMemberVar] djview4-4.12.3/src/qdjvunet.h:35:3: style: Class 'QDjVuNetDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] djview4-4.12.3/src/qdjvunet.h:36:3: style: Class 'QDjVuNetDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] djview4-4.12.3/src/qdjvunet.h:39:29: style:inconclusive: Function 'setProxy' argument 1 names different: declaration 'proxyurl' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/src/qdjvunet.h:41:30: style:inconclusive: Function 'newstream' argument 1 names different: declaration 'streamid' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/src/qdjvunet.h:41:48: style:inconclusive: Function 'newstream' argument 2 names different: declaration 'name' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/src/qdjvunet.h:41:59: style:inconclusive: Function 'newstream' argument 3 names different: declaration 'url' definition ''. [funcArgNamesDifferentUnnamed] djview4-4.12.3/src/qdjvuwidget.cpp:69:3: error: #error "DDJVUAPI_VERSION>=17 is required !" [preprocessorErrorDirective] djview4-4.12.3/nsdejavu/nsdejavu.c:256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:293:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:1185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:1258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:1493:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllocNone [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:1909:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2083:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2266:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_GENERIC_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2314:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_FULL [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2390:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_INSTANCE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_INSTANCE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2481:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_FULL [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2507:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_INSTANCE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2568:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_INSTANCE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2604:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPRES_DONE [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2642:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_GENERIC_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2723:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_NO_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2734:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NP_VERSION_MAJOR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2744:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2761:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2771:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2780:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2790:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2808:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2848:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:2971:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPERR_INVALID_FUNCTABLE_ERROR [valueFlowBailoutIncompleteVar] djview4-4.12.3/nsdejavu/nsdejavu.c:482:11: style: Condition 'd' is always true [knownConditionTrueFalse] djview4-4.12.3/nsdejavu/nsdejavu.c:712:12: style: Condition 'env=GetPluginPath()' is always true [knownConditionTrueFalse] djview4-4.12.3/nsdejavu/nsdejavu.c:776:12: style: Condition 'env=(const char*)GetPluginPath()' is always true [knownConditionTrueFalse] djview4-4.12.3/nsdejavu/nsdejavu.c:1893:7: style: Condition '!path' is always false [knownConditionTrueFalse] djview4-4.12.3/nsdejavu/nsdejavu.c:469:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assignment 'b=malloc(sizeof(struct strpool_data)+n)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:468:26: note: d is assigned '(struct strpool_data*)b' here. djview4-4.12.3/nsdejavu/nsdejavu.c:469:3: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:470:3: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assignment 'b=malloc(sizeof(struct strpool_data)+n)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:468:26: note: d is assigned '(struct strpool_data*)b' here. djview4-4.12.3/nsdejavu/nsdejavu.c:470:3: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:472:10: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:467:19: note: Assignment 'b=malloc(sizeof(struct strpool_data)+n)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:468:26: note: d is assigned '(struct strpool_data*)b' here. djview4-4.12.3/nsdejavu/nsdejavu.c:472:10: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:1870:14: warning: If memory allocation fails, then there is a possible null pointer dereference: env [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assignment 'env=malloc(strlen(var)+2)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:1870:14: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:1871:14: warning: If memory allocation fails, then there is a possible null pointer dereference: env [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assignment 'env=malloc(strlen(var)+2)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:1871:14: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:2393:3: warning: Either the condition 'inst' is redundant or there is possible null pointer dereference: inst. [nullPointerRedundantCheck] djview4-4.12.3/nsdejavu/nsdejavu.c:2409:15: note: Assuming that condition 'inst' is not redundant djview4-4.12.3/nsdejavu/nsdejavu.c:2393:3: note: Null pointer dereference djview4-4.12.3/nsdejavu/nsdejavu.c:2521:35: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] djview4-4.12.3/nsdejavu/nsdejavu.c:1613:20: style:inconclusive: Function 'IsConnectionOK' argument 1 names different: declaration '' definition 'handshake'. [funcArgNamesDifferentUnnamed] djview4-4.12.3/nsdejavu/nsdejavu.c:822:12: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/nsdejavu/nsdejavu.c:872:17: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/nsdejavu/nsdejavu.c:875:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:886:17: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/nsdejavu/nsdejavu.c:1102:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:1141:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:1523:31: style: Variable 'r1' can be declared as const array [constVariable] djview4-4.12.3/nsdejavu/nsdejavu.c:1525:31: style: Variable 'r2' can be declared as const array [constVariable] djview4-4.12.3/nsdejavu/nsdejavu.c:1669:13: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:1728:9: style: Variable 'displ_str' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2055:25: style: Parameter 'npobj' can be declared as pointer to const. However it seems that 'np_invalidate' is a callback function, if 'npobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2247:31: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2055:25: note: Parameter 'npobj' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2060:24: style: Parameter 'npobj' can be declared as pointer to const. However it seems that 'np_hasmethod' is a callback function, if 'npobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2248:3: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2060:24: note: Parameter 'npobj' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2074:13: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2163:28: style: Parameter 'npobj' can be declared as pointer to const. However it seems that 'np_invokedefault' is a callback function, if 'npobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2248:28: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2163:28: note: Parameter 'npobj' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2164:46: style: Parameter 'result' can be declared as pointer to const. However it seems that 'np_invokedefault' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2248:28: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2164:46: note: Parameter 'result' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2170:26: style: Parameter 'npobj' can be declared as pointer to const. However it seems that 'np_hasproperty' is a callback function, if 'npobj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2249:3: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2170:26: note: Parameter 'npobj' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2331:19: style: Variable 'data' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2434:13: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2475:13: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2502:13: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2526:39: style: Parameter 'np_stream' can be declared as pointer to const. However it seems that 'NPP_WriteReady' is a callback function, if 'np_stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2994:52: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2526:39: note: Parameter 'np_stream' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2532:34: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'NPP_Write' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2995:42: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2532:34: note: Parameter 'stream' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2532:71: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'NPP_Write' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2995:42: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2532:71: note: Parameter 'buffer' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2564:42: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'NPP_DestroyStream' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2992:58: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2564:42: note: Parameter 'stream' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2588:41: style: Parameter 'stream' can be declared as pointer to const. However it seems that 'NPP_StreamAsFile' is a callback function, if 'stream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] djview4-4.12.3/nsdejavu/nsdejavu.c:2993:50: note: You might need to cast the function pointer here djview4-4.12.3/nsdejavu/nsdejavu.c:2588:41: note: Parameter 'stream' can be declared as pointer to const djview4-4.12.3/nsdejavu/nsdejavu.c:2593:36: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2671:19: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2967:32: style: Parameter 'moz_funcs' can be declared as pointer to const [constParameterPointer] djview4-4.12.3/nsdejavu/nsdejavu.c:2181:12: style: Variable 'id' is assigned a value that is never used. [unreadVariable] djview4-4.12.3/nsdejavu/nsdejavu.c:2506:15: style: Variable 'inst' is assigned a value that is never used. [unreadVariable] djview4-4.12.3/nsdejavu/nsdejavu.c:503:11: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] diff: head djview4-4.12.3/npdjvu/qtbrowserplugin.h:30:47: style:inconclusive: Function 'qtns_initialize' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/npdjvu/qtbrowserplugin.h:31:44: style:inconclusive: Function 'qtns_destroy' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:245:42: style:inconclusive: Function 'qtns_event' argument 1 names different: declaration '' definition 'This'. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:245:57: style:inconclusive: Function 'qtns_event' argument 2 names different: declaration '' definition 'event'. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/npdjvu/qtbrowserplugin_mac.cpp:465:86: style:inconclusive: Function 'qtns_setGeometry' argument 3 names different: declaration '' definition 'clipRect'. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/npdjvu/qtnpapi.h:397:49: style:inconclusive: Function 'fromQVariant' argument 1 names different: declaration 'This' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/nsdejavu/nsdejavu.c:1613:20: style:inconclusive: Function 'IsConnectionOK' argument 1 names different: declaration '' definition 'handshake'. [funcArgNamesDifferentUnnamed] 2.20.0 djview4-4.12.3/nsdejavu/nsdejavu.c:1872:14: warning: If memory allocation fails, then there is a possible null pointer dereference: env [nullPointerOutOfMemory] djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assuming allocation function fails djview4-4.12.3/nsdejavu/nsdejavu.c:1869:25: note: Assignment 'env=malloc(strlen(var)+2)', assigned value is 0 djview4-4.12.3/nsdejavu/nsdejavu.c:1872:14: note: Null pointer dereference head djview4-4.12.3/nsdejavu/nsdejavu.c:875:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] head djview4-4.12.3/src/qdjvunet.h:39:29: style:inconclusive: Function 'setProxy' argument 1 names different: declaration 'proxyurl' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/src/qdjvunet.h:41:30: style:inconclusive: Function 'newstream' argument 1 names different: declaration 'streamid' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/src/qdjvunet.h:41:48: style:inconclusive: Function 'newstream' argument 2 names different: declaration 'name' definition ''. [funcArgNamesDifferentUnnamed] head djview4-4.12.3/src/qdjvunet.h:41:59: style:inconclusive: Function 'newstream' argument 3 names different: declaration 'url' definition ''. [funcArgNamesDifferentUnnamed] DONE