2026-05-14 21:08 ftp://ftp.de.debian.org/debian/pool/main/g/goaccess/goaccess_1.10.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j10 platform: Linux-7.0.2-2-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 7a7c28c (2026-05-14 15:45:19 +0200) count: 793 788 elapsed-time: 4.2 4.5 head-timing-info: old-timing-info: head results: goaccess-1.10.1/src/bin2c.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/bin2c.c:119:3: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] goaccess-1.10.1/src/bin2c.c:137:3: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] goaccess-1.10.1/src/bin2c.c:23:9: style: Variable 'ident' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/bitmap.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/error.c:144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESETHAND [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/error.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/error.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/error.c:59:27: style:inconclusive: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] goaccess-1.10.1/src/error.h:86:32: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.10.1/src/error.c:59:27: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.10.1/src/commons.c:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/commons.c:157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/commons.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/error.c:151:35: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/bitmap.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.10.1/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.10.1/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.10.1/src/bitmap.c:119:3: note: Null pointer dereference goaccess-1.10.1/src/bitmap.c:120:11: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.10.1/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.10.1/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.10.1/src/bitmap.c:120:11: note: Null pointer dereference goaccess-1.10.1/src/bitmap.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.10.1/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.10.1/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.10.1/src/bitmap.c:121:3: note: Null pointer dereference goaccess-1.10.1/src/bitmap.c:60:25: style:inconclusive: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. [funcArgNamesDifferent] goaccess-1.10.1/src/bitmap.h:73:34: note: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. goaccess-1.10.1/src/bitmap.c:60:25: note: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. goaccess-1.10.1/src/bitmap.c:77:25: style: Parameter 'words' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/color.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:473:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:508:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:653:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:694:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:810:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:836:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/browsers.c:411:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/browsers.c:455:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/commons.c:248:11: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.10.1/src/commons.c:247:29: note: Assuming allocation function fails goaccess-1.10.1/src/commons.c:247:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.10.1/src/commons.c:248:11: note: Null pointer dereference goaccess-1.10.1/src/commons.c:250:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.10.1/src/commons.c:247:29: note: Assuming allocation function fails goaccess-1.10.1/src/commons.c:247:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.10.1/src/commons.c:250:3: note: Null pointer dereference goaccess-1.10.1/src/commons.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.10.1/src/commons.c:247:29: note: Assuming allocation function fails goaccess-1.10.1/src/commons.c:247:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.10.1/src/commons.c:251:3: note: Null pointer dereference goaccess-1.10.1/src/commons.c:252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.10.1/src/commons.c:247:29: note: Assuming allocation function fails goaccess-1.10.1/src/commons.c:247:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.10.1/src/commons.c:252:3: note: Null pointer dereference goaccess-1.10.1/src/geoip1.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_MEMORY_CACHE [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/commons.c:514:17: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] goaccess-1.10.1/src/commons.c:502:23: note: Assuming allocation function fails goaccess-1.10.1/src/commons.c:502:23: note: Assignment 'str=xstrdup("")', assigned value is 0 goaccess-1.10.1/src/commons.c:505:17: note: Assuming condition is false goaccess-1.10.1/src/commons.c:514:17: note: Null pointer dereference goaccess-1.10.1/src/geoip1.c:178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/color.c:714:39: style: Condition 'parse_module_color(color,val)==1' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/color.c:714:26: note: Calling function 'parse_module_color' returns 0 goaccess-1.10.1/src/color.c:714:39: note: Condition 'parse_module_color(color,val)==1' is always false goaccess-1.10.1/src/color.c:343:3: warning: If memory allocation fails, then there is a possible null pointer dereference: color [nullPointerOutOfMemory] goaccess-1.10.1/src/color.c:342:28: note: Assuming allocation function fails goaccess-1.10.1/src/color.c:342:28: note: Assignment 'color=xcalloc(1,sizeof(struct GColors))', assigned value is 0 goaccess-1.10.1/src/color.c:343:3: note: Null pointer dereference goaccess-1.10.1/src/color.c:354:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pair [nullPointerOutOfMemory] goaccess-1.10.1/src/color.c:351:30: note: Assuming allocation function fails goaccess-1.10.1/src/color.c:351:30: note: Assignment 'pair=xcalloc(1,sizeof(struct GColorPair))', assigned value is 0 goaccess-1.10.1/src/color.c:354:3: note: Null pointer dereference goaccess-1.10.1/src/color.c:532:19: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/color.c:530:18: note: Assuming allocation function fails goaccess-1.10.1/src/color.c:530:18: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.10.1/src/color.c:532:19: note: Null pointer dereference goaccess-1.10.1/src/color.c:562:16: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/color.c:560:24: note: Assuming allocation function fails goaccess-1.10.1/src/color.c:560:24: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.10.1/src/color.c:562:16: note: Null pointer dereference goaccess-1.10.1/src/color.c:798:17: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/color.c:796:19: note: Assuming allocation function fails goaccess-1.10.1/src/color.c:796:19: note: Assignment 'line=strdup(colors[i])', assigned value is 0 goaccess-1.10.1/src/color.c:798:17: note: Null pointer dereference goaccess-1.10.1/src/color.c:527:22: style: Variable 'start' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:560:34: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:584:12: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:585:12: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:601:15: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:602:15: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:618:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:630:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/color.c:631:12: style: Variable 'item' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gchart.c:370:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metrics [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gchart.c:418:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metrics [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gchart.c:469:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip2.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_MODE_MMAP [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip2.c:129:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable database_type [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip2.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip2.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip2.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/geoip1.c:454:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/geoip1.c:487:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/geoip1.c:506:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/geoip1.c:539:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/geoip1.c:558:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/browsers.c:621:34: style:inconclusive: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. [funcArgNamesDifferent] goaccess-1.10.1/src/browsers.h:43:40: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.10.1/src/browsers.c:621:34: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.10.1/src/browsers.c:496:20: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/browsers.c:509:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/browsers.c:509:33: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdns.c:212:30: debug: Function::addArguments found argument 'ptr_data' with varid 0. [varid0] goaccess-1.10.1/src/geoip2.c:250:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:251:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:253:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:256:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:273:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:274:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:276:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:353:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.10.1/src/geoip2.c:325:18: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/base64.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] goaccess-1.10.1/src/base64.c:142:26: note: Assuming allocation function fails goaccess-1.10.1/src/base64.c:142:9: note: Assignment 'out=(char*)xmalloc(decoded_len+1)', assigned value is 0 goaccess-1.10.1/src/base64.c:160:3: note: Null pointer dereference goaccess-1.10.1/src/base64.c:96:19: style: Variable 'triple' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gmenu.c:48:11: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:48:11: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:49:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:50:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:51:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:52:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:53:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:54:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:56:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:57:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:58:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:58:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:59:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:60:3: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:60:31: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:60:31: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:60:40: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:60:40: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:60:49: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:60:49: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:60:58: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.10.1/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.10.1/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.10.1/src/gmenu.c:60:58: note: Null pointer dereference goaccess-1.10.1/src/gmenu.c:67:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gmenu.c:89:56: style: Variable 'checked' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gslist.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.10.1/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.10.1/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.10.1/src/gslist.c:46:3: note: Null pointer dereference goaccess-1.10.1/src/gslist.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.10.1/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.10.1/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.10.1/src/gslist.c:47:3: note: Null pointer dereference goaccess-1.10.1/src/gslist.c:84:63: style:inconclusive: Function 'list_find' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gslist.c:152:66: style:inconclusive: Function 'list_foreach' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gslist.c:166:22: style:inconclusive: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. [funcArgNamesDifferent] goaccess-1.10.1/src/gslist.h:53:27: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.10.1/src/gslist.c:166:22: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.10.1/src/gslist.c:95:21: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gslist.c:131:44: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gslist.c:166:22: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gchart.c:417:5: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] goaccess-1.10.1/src/gchart.c:413:19: note: Assuming allocation function fails goaccess-1.10.1/src/gchart.c:413:19: note: Assignment 'items=xcalloc(count,sizeof(struct ChartItem))', assigned value is 0 goaccess-1.10.1/src/gchart.c:417:5: note: Null pointer dereference goaccess-1.10.1/src/gchart.c:72:7: style: Redundant initialization for 'v'. The initialized value is overwritten before it is read. [redundantInitialization] goaccess-1.10.1/src/gchart.c:68:14: note: v is initialized goaccess-1.10.1/src/gchart.c:72:7: note: v is overwritten goaccess-1.10.1/src/gchart.c:73:7: style: Redundant initialization for 's'. The initialized value is overwritten before it is read. [redundantInitialization] goaccess-1.10.1/src/gchart.c:69:17: note: s is initialized goaccess-1.10.1/src/gchart.c:73:7: note: s is overwritten goaccess-1.10.1/src/gchart.c:84:5: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] goaccess-1.10.1/src/gchart.c:68:14: note: v is assigned 'bytes' here. goaccess-1.10.1/src/gchart.c:84:5: note: Variable 'v' is assigned an expression that holds the same value. goaccess-1.10.1/src/gchart.c:696:64: style:inconclusive: Function 'draw_panel_chart' argument 3 names different: declaration 'opts' definition 'user_opts'. [funcArgNamesDifferent] goaccess-1.10.1/src/gchart.h:87:72: note: Function 'draw_panel_chart' argument 3 names different: declaration 'opts' definition 'user_opts'. goaccess-1.10.1/src/gchart.c:696:64: note: Function 'draw_panel_chart' argument 3 names different: declaration 'opts' definition 'user_opts'. goaccess-1.10.1/src/gchart.c:169:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gchart.c:218:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gchart.c:660:49: style: Parameter 'items' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gchart.c:99:14: style: Variable 'v' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gchart.c:569:22: style: Variable 'subsz' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gchart.c:697:30: style: Variable 'v' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gwsocket.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:165:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:234:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:404:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:419:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:430:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:449:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:484:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:523:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gwsocket.c:56:11: warning: If memory allocation fails, then there is a possible null pointer dereference: reader [nullPointerOutOfMemory] goaccess-1.10.1/src/gwsocket.c:55:31: note: Assuming allocation function fails goaccess-1.10.1/src/gwsocket.c:55:31: note: Assignment 'reader=xmalloc(sizeof(struct GWSReader))', assigned value is 0 goaccess-1.10.1/src/gwsocket.c:56:11: note: Null pointer dereference goaccess-1.10.1/src/gwsocket.c:67:11: warning: If memory allocation fails, then there is a possible null pointer dereference: writer [nullPointerOutOfMemory] goaccess-1.10.1/src/gwsocket.c:66:31: note: Assuming allocation function fails goaccess-1.10.1/src/gwsocket.c:66:31: note: Assignment 'writer=xmalloc(sizeof(struct GWSWriter))', assigned value is 0 goaccess-1.10.1/src/gwsocket.c:67:11: note: Null pointer dereference goaccess-1.10.1/src/gwsocket.c:202:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.10.1/src/gwsocket.c:201:21: note: Assuming allocation function fails goaccess-1.10.1/src/gwsocket.c:201:21: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.10.1/src/gwsocket.c:202:6: note: Null pointer dereference goaccess-1.10.1/src/gwsocket.c:534:24: style: Redundant pointer operation on 'thread' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/gwsocket.c:540:24: style: Redundant pointer operation on 'thread' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/gwsocket.c:78:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gwsocket.c:122:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gwsocket.c:144:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gwsocket.c:198:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gwsocket.c:234:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gdns.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NAMEREQD [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdns.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdns.c:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdns.c:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/csv.c:306:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:68:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:144:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:309:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:566:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:643:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:840:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:859:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/dialogs.c:939:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdashboard.c:1212:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdashboard.c:1428:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdashboard.c:1499:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gkhash.c:1020:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gkhash.c:1113:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gkhash.c:1205:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gkhash.c:1303:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gholder.c:212:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gholder.c:235:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gholder.c:551:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/json.c:164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/json.c:183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/json.c:1181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:275:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:300:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:419:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:469:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:630:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:661:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:940:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1034:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1089:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1194:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1246:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1534:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1566:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1575:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1644:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1669:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1685:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1714:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/goaccess.c:1805:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdns.c:234:25: style: Condition 'active_gdns' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/csv.c:239:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:244:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:248:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:258:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:262:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:266:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:270:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:274:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:278:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/csv.c:286:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/gdns.c:75:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdns.c:83:26: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdns.c:91:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdns.c:175:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdns.c:198:21: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/csv.c:105:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/options.c:663:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/options.c:1037:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/options.c:1083:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/output.c:1287:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/output.c:1305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/output.c:1271:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/output.c:1269:18: note: Assuming allocation function fails goaccess-1.10.1/src/output.c:1269:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.10.1/src/output.c:1271:3: note: Null pointer dereference goaccess-1.10.1/src/output.c:1271:36: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] goaccess-1.10.1/src/output.c:1270:19: note: Assuming allocation function fails goaccess-1.10.1/src/output.c:1270:19: note: Assignment 'fname=xstrdup(basename(path))', assigned value is 0 goaccess-1.10.1/src/output.c:1271:36: note: Null pointer dereference goaccess-1.10.1/src/output.c:1273:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/output.c:1269:18: note: Assuming allocation function fails goaccess-1.10.1/src/output.c:1269:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.10.1/src/output.c:1273:43: note: Null pointer dereference goaccess-1.10.1/src/output.c:1274:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/output.c:1269:18: note: Assuming allocation function fails goaccess-1.10.1/src/output.c:1269:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.10.1/src/output.c:1274:23: note: Null pointer dereference goaccess-1.10.1/src/options.c:1037:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/options.c:1036:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.10.1/src/options.c:1037:12: note: Condition '-1==o' is always false goaccess-1.10.1/src/options.c:1083:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/options.c:1082:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.10.1/src/options.c:1083:12: note: Condition '-1==o' is always false goaccess-1.10.1/src/output.c:362:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/output.c:373:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/khash.h:444:27: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.10.1/src/gkhash.c:1040:22: note: Assuming allocation function fails goaccess-1.10.1/src/gkhash.c:1040:22: note: Assignment 'dupkey=xstrdup(key)', assigned value is 0 goaccess-1.10.1/src/gkhash.c:1041:9: note: Calling function 'kh_put_su64', 2nd argument 'dupkey' value is 0 goaccess-1.10.1/src/gkhash.h:73:1: note: Calling function '__ac_X31_hash_string', 1st argument 'key' value is 0 goaccess-1.10.1/src/khash.h:444:27: note: Null pointer dereference goaccess-1.10.1/src/output.c:387:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gkhash.c:691:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dates [nullPointerOutOfMemory] goaccess-1.10.1/src/gkhash.c:687:19: note: Assuming allocation function fails goaccess-1.10.1/src/gkhash.c:687:19: note: Assignment 'dates=xcalloc(size,sizeof(uint32_t))', assigned value is 0 goaccess-1.10.1/src/gkhash.c:691:10: note: Null pointer dereference goaccess-1.10.1/src/gkhash.c:777:80: style:inconclusive: Function 'ins_si32_inc' argument 4 names different: declaration '' definition 'seqs'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gkhash.c:778:27: style:inconclusive: Function 'ins_si32_inc' argument 5 names different: declaration '' definition 'seqk'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gkhash.c:805:80: style:inconclusive: Function 'ins_ii32_inc' argument 4 names different: declaration '' definition 'seqs'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gkhash.c:806:27: style:inconclusive: Function 'ins_ii32_inc' argument 5 names different: declaration '' definition 'seqk'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/gkhash.c:596:9: style: Variable 'db' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkhash.c:1253:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkhash.c:1255:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkhash.c:1273:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkhash.c:1275:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkhash.c:1313:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkhash.c:1333:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkhash.c:1542:56: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkhash.c:1542:67: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/pdjson.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/pdjson.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/pdjson.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/pdjson.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/pdjson.c:498:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/pdjson.c:708:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gkmhash.c:322:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:324:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:394:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gkmhash.c:765:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:778:20: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:794:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:940:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:962:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1009:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1160:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1188:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1210:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1221:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1235:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1253:20: style: Variable 'kmap' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1255:20: style: Variable 'rmap' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:1292:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gkmhash.c:270:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/dialogs.c:115:47: style: Parameter 'agents' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/dialogs.c:133:42: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/dialogs.c:531:20: style: Parameter 'date_format' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/dialogs.c:531:39: style: Parameter 'log_format' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/dialogs.c:531:57: style: Parameter 'time_format' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/dialogs.c:60:14: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/pdjson.c:389:12: style: Condition '0x80<=u' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/pdjson.c:386:9: note: Assuming that condition 'u<0x80' is not redundant goaccess-1.10.1/src/pdjson.c:389:12: note: Condition '0x80<=u' is always true goaccess-1.10.1/src/pdjson.c:941:67: style:inconclusive: Function 'json_open_user' argument 3 names different: declaration '' definition 'peek'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/pdjson.c:941:79: style:inconclusive: Function 'json_open_user' argument 4 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/pdjson.c:956:45: style:inconclusive: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. [funcArgNamesDifferent] goaccess-1.10.1/src/pdjson.h:45:68: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.10.1/src/pdjson.c:956:45: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.10.1/src/pdjson.c:674:18: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed function goaccess-1.10.1/src/pdjson.c:674:18: note: Shadow local variable goaccess-1.10.1/src/pdjson.c:689:20: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed function goaccess-1.10.1/src/pdjson.c:689:20: note: Shadow local variable goaccess-1.10.1/src/pdjson.c:857:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] goaccess-1.10.1/src/pdjson.c:851:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/pdjson.c:861:31: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/pdjson.c:871:30: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/pdjson.c:951:56: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:136:22: style:inconclusive: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. [funcArgNamesDifferent] goaccess-1.10.1/src/json.h:51:27: note: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. goaccess-1.10.1/src/json.c:136:22: note: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. goaccess-1.10.1/src/json.c:1049:85: style:inconclusive: Function 'print_json_data' argument 4 names different: declaration '' definition 'panel'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/json.c:444:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:568:31: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:585:35: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:602:29: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:622:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:630:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:638:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:646:33: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:655:35: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:805:41: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/json.c:911:48: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gholder.c:449:14: style: Condition 'hostname' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/gholder.c:455:14: style: Condition 'hostname' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/gholder.c:114:11: warning: If memory allocation fails, then there is a possible null pointer dereference: holder [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:113:29: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:113:29: note: Assignment 'holder=xmalloc(size*sizeof(struct GHolder))', assigned value is 0 goaccess-1.10.1/src/gholder.c:114:11: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:134:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:134:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.10.1/src/gholder.c:135:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:134:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:134:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.10.1/src/gholder.c:136:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:134:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:134:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.10.1/src/gholder.c:137:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:149:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:147:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:147:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.10.1/src/gholder.c:149:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:150:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:147:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:147:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.10.1/src/gholder.c:150:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:151:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:147:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:147:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.10.1/src/gholder.c:151:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:152:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:147:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:147:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.10.1/src/gholder.c:152:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:153:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.10.1/src/gholder.c:147:32: note: Assuming allocation function fails goaccess-1.10.1/src/gholder.c:147:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.10.1/src/gholder.c:153:3: note: Null pointer dereference goaccess-1.10.1/src/gholder.c:249:34: style: Parameter 'holder' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gholder.c:352:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gholder.c:540:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/tpl.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:411:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:621:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:641:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:739:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:847:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pidx [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:864:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:888:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:894:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_fxlens [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1059:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1185:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1259:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1630:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1693:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1779:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1878:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1910:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:1949:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:2118:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:2264:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:2409:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/tpl.c:2479:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:282:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:390:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:544:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:592:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:689:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:773:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:812:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:1023:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:1035:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:1260:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:859:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:976:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:1658:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:1967:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:2218:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:2465:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:2490:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:2536:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/parser.c:2596:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/persistence.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/persistence.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/persistence.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/persistence.c:964:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdashboard.c:76:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.10.1/src/gdashboard.c:75:25: note: Assuming allocation function fails goaccess-1.10.1/src/gdashboard.c:75:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.10.1/src/gdashboard.c:76:11: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:77:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.10.1/src/gdashboard.c:75:25: note: Assuming allocation function fails goaccess-1.10.1/src/gdashboard.c:75:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.10.1/src/gdashboard.c:77:3: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:187:39: style:inconclusive: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.10.1/src/gdashboard.h:160:44: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:187:39: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1191:32: style:inconclusive: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.10.1/src/gdashboard.h:166:38: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1191:32: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1420:41: style:inconclusive: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.10.1/src/gdashboard.h:158:47: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1420:41: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1492:48: style:inconclusive: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.10.1/src/gdashboard.h:159:54: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1492:48: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1727:70: style:inconclusive: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.10.1/src/gdashboard.h:164:78: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/gdashboard.c:1727:70: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.10.1/src/util.c:216:18: style: Redundant condition: The condition '*wc' is redundant since '*wc == '*'' is sufficient. [redundantCondition] goaccess-1.10.1/src/gdashboard.c:133:33: style: Parameter 'dash' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:275:46: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:289:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:303:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:317:56: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:149:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:148:23: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:148:23: note: Assignment 'new=xmalloc(strlen(str)+1)', assigned value is 0 goaccess-1.10.1/src/util.c:149:11: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:331:50: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:260:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:259:22: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:259:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.10.1/src/util.c:260:12: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:344:45: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:304:5: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:303:20: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:303:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.10.1/src/util.c:304:5: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:359:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:430:25: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:428:21: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:428:21: note: Assignment 'start=xstrdup(conf.ignore_ips[i])', assigned value is 0 goaccess-1.10.1/src/util.c:430:25: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:377:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:531:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:530:18: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:530:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.10.1/src/util.c:531:13: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:395:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:546:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:545:18: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:545:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.10.1/src/util.c:546:13: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:413:49: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:908:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:906:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:906:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.10.1/src/util.c:908:15: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:431:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:910:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:906:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:906:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.10.1/src/util.c:910:15: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:449:47: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:931:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:929:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:929:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.10.1/src/util.c:931:15: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:483:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:933:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:929:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:929:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.10.1/src/util.c:933:15: note: Null pointer dereference goaccess-1.10.1/src/gdashboard.c:510:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:1060:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:1059:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:1059:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.10.1/src/util.c:1060:11: note: Null pointer dereference goaccess-1.10.1/src/util.c:1061:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:1059:24: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:1059:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.10.1/src/util.c:1061:3: note: Null pointer dereference goaccess-1.10.1/src/util.c:1248:9: warning: If memory allocation fails, then there is a possible null pointer dereference: q++ [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:1224:18: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:1224:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.10.1/src/util.c:1225:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.10.1/src/util.c:1248:9: note: Null pointer dereference goaccess-1.10.1/src/util.c:306:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/util.c:303:20: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:303:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.10.1/src/util.c:306:29: note: Null pointer addition goaccess-1.10.1/src/util.c:1248:9: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/util.c:1224:18: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:1224:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.10.1/src/util.c:1225:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.10.1/src/util.c:1248:9: note: Null pointer addition goaccess-1.10.1/src/util.c:748:37: style: Checking if unsigned expression 'strftime(res,size,to,&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.10.1/src/gdashboard.c:532:38: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:935:14: style: Variable 'node_exp' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1002:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:1002:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:1059:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:213:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:1060:41: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:420:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1104:98: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:522:9: style: Variable 'user_home' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1141:62: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:664:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1276:17: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/util.c:987:19: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:1303:23: style: Variable 'nested' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/util.c:1018:16: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gdashboard.c:1371:50: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/util.c:1089:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1372:13: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/util.c:1259:23: style: Variable 'dir_path' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1391:17: style: Variable 'nested' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1424:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1602:8: style: Variable 'didx' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1605:13: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/gdashboard.c:1664:8: style: Variable 'idx' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/settings.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:665:25: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/settings.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/util.c:671:18: style: Variable 'seconds' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/settings.c:881:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/gdashboard.c:1167:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gdashboard.c:1169:21: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/win/mmap.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_READONLY [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/win/mmap.c:132:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/win/mmap.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:979:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:988:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:1006:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:1272:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:1286:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:1337:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:1357:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2195:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2233:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2311:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2333:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2348:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2359:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2375:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2439:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2455:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2481:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2619:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2742:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2785:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2843:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/websocket.c:2970:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/wsauth.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/wsauth.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/wsauth.c:147:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/wsauth.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:172:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_END [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:200:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:378:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:504:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:564:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:709:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:884:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:980:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:1038:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:1051:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:1058:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/ui.c:1098:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/wsauth.c:135:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] goaccess-1.10.1/src/wsauth.c:173:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.10.1/src/wsauth.c:174:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.10.1/src/wsauth.c:175:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.10.1/src/wsauth.c:325:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.10.1/src/wsauth.c:326:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.10.1/src/wsauth.c:61:5: error: Memory leak: secret [memleak] goaccess-1.10.1/src/wsauth.c:135:14: style: Variable 'jwt_now_tm' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:157:28: style: Variable 'header_part' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:157:49: style: Variable 'payload_part' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:157:71: style: Variable 'signature_part' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:159:18: style: Variable 'hmac_result' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:310:9: style: Variable 'payload_part' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:377:18: style: Variable 'hmac_result' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/wsauth.c:225:22: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/xmalloc.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/xmalloc.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/xmalloc.c:81:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.10.1/src/sha1.c:54:13: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] goaccess-1.10.1/src/sha1.c:159:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:159:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:159:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:159:17: style: Variable 'd' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:159:21: style: Variable 'e' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:221:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/sha1.c:221:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:1008:13: style: Condition 'newfd==-1' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/websocket.c:1412:30: style: Condition 'client->sockqueue!=NULL' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/websocket.c:2510:31: style: Condition 'pipeout->fifoqueue!=NULL' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/websocket.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:250:30: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:250:30: note: Assignment 'client=xcalloc(1,sizeof(struct WSClient))', assigned value is 0 goaccess-1.10.1/src/websocket.c:251:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:260:11: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:259:32: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:259:32: note: Assignment 'headers=xcalloc(1,sizeof(struct WSHeaders))', assigned value is 0 goaccess-1.10.1/src/websocket.c:260:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:259:32: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:259:32: note: Assignment 'headers=xcalloc(1,sizeof(struct WSHeaders))', assigned value is 0 goaccess-1.10.1/src/websocket.c:261:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:270:11: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:269:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:269:28: note: Assignment 'frame=xcalloc(1,sizeof(struct WSFrame))', assigned value is 0 goaccess-1.10.1/src/websocket.c:270:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:269:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:269:28: note: Assignment 'frame=xcalloc(1,sizeof(struct WSFrame))', assigned value is 0 goaccess-1.10.1/src/websocket.c:271:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:288:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipeout [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:287:32: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:287:32: note: Assignment 'pipeout=xcalloc(1,sizeof(struct WSPipeOut))', assigned value is 0 goaccess-1.10.1/src/websocket.c:288:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:297:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipein [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:296:30: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:296:30: note: Assignment 'pipein=xcalloc(1,sizeof(struct WSPipeIn))', assigned value is 0 goaccess-1.10.1/src/websocket.c:297:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1072:14: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1071:23: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1071:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1072:14: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1177:7: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.10.1/src/websocket.c:1177:7: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1177:26: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.10.1/src/websocket.c:1177:26: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1180:16: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.10.1/src/websocket.c:1177:23: note: Assuming condition is false goaccess-1.10.1/src/websocket.c:1180:16: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1240:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1240:13: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1241:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1241:5: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1266:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1267:11: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1267:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1268:3: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1461:11: warning: If memory allocation fails, then there is a possible null pointer dereference: frm [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1460:17: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1460:17: note: Assignment 'frm=xcalloc(hsize+sz,sizeof(unsigned char))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1461:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1565:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1560:21: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1560:21: note: Assignment 's=xmalloc(klen+mlen+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1565:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1771:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1834:17: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1834:17: note: Assignment 'buf=xcalloc(len,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1838:22: note: Calling function 'ws_unmask_payload', 1st argument 'buf' value is 0 goaccess-1.10.1/src/websocket.c:1771:5: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1835:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1834:17: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1834:17: note: Assignment 'buf=xcalloc(len,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1835:11: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2434:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *queue [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2433:22: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2433:22: note: Assignment '(*queue)=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2434:4: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2584:16: warning: If memory allocation fails, then there is a possible null pointer dereference: close_list [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2573:24: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2573:24: note: Assignment 'close_list=xcalloc(n,sizeof(uint32_t))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2584:16: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2705:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2704:21: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2704:21: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2705:6: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2752:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2751:19: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2751:19: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2752:4: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2866:17: warning: If memory allocation fails, then there is a possible null pointer dereference: cfdstate [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2865:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2865:28: note: Assignment 'cfdstate=xmalloc(nfdstate*sizeof(*cfdstate))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2866:17: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:2869:15: warning: If memory allocation fails, then there is a possible null pointer dereference: cfdstate [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:2865:28: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:2865:28: note: Assignment 'cfdstate=xmalloc(nfdstate*sizeof(*cfdstate))', assigned value is 0 goaccess-1.10.1/src/websocket.c:2869:15: note: Null pointer dereference goaccess-1.10.1/src/websocket.c:1566:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/websocket.c:1560:21: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1560:21: note: Assignment 's=xmalloc(klen+mlen+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1566:13: note: Null pointer addition goaccess-1.10.1/src/websocket.c:987:22: style:inconclusive: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. [funcArgNamesDifferent] goaccess-1.10.1/src/websocket.h:319:27: note: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. goaccess-1.10.1/src/websocket.c:987:22: note: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. goaccess-1.10.1/src/websocket.c:180:24: style: Variable 'efd' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:374:13: style: Variable 'client' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:1056:9: style: Variable 'req' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:1056:39: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:1085:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1085:63: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1112:35: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1136:29: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1312:30: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1586:57: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:1750:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:1766:66: style: Parameter 'mask' can be declared as const array [constParameter] goaccess-1.10.1/src/websocket.c:2096:34: style: Parameter 'frm' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:2228:25: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:2296:21: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:2447:47: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:2545:13: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:2595:74: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/websocket.c:2838:42: style: Variable 'efd' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/websocket.c:1228:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:2161:13: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:2568:39: style: Variable 'listener' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:2676:13: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:2694:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/websocket.c:2837:26: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/tpl.c:2137:39: style: Checking if unsigned expression '((struct tpl_atyp*)(n->data))->num' is less than zero. [unsignedLessThanZero] goaccess-1.10.1/src/tpl.c:1351:30: style:inconclusive: Function 'tpl_needs_endian_swap' argument 1 names different: declaration '' definition 'd'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/tpl.c:1907:46: style:inconclusive: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. [funcArgNamesDifferent] goaccess-1.10.1/src/tpl.c:185:58: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.10.1/src/tpl.c:1907:46: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.10.1/src/tpl.c:2470:77: style:inconclusive: Function 'tpl_gather_nonblocking' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/tpl.c:2588:84: style:inconclusive: Function 'tpl_gather_mem' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] goaccess-1.10.1/src/tpl.c:294:13: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:336:13: style: Variable 'peek' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:336:41: style: Variable 'struct_next' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:842:13: style: Variable 'pidx' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:906:9: style: Variable 'datav' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1147:8: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1149:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1191:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1237:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1254:56: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1256:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1256:29: style: Variable 'mapfmt' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1352:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1373:47: style: Variable 'datapeek_c' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1378:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1700:9: style: Variable 'dv' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:2013:15: style: Variable 'caddr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/tpl.c:1293:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/tpl.c:1606:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/tpl.c:2359:16: style: Unused variable: sz [unusedVariable] goaccess-1.10.1/src/tpl.c:2360:23: style: Unused variable: data [unusedVariable] goaccess-1.10.1/src/goaccess.c:248:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] goaccess-1.10.1/src/goaccess.c:1557:42: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.10.1/src/goaccess.c:1558:44: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.10.1/src/goaccess.c:1559:45: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.10.1/src/goaccess.c:512:36: style: Condition 'scrll>=offset+exp_size' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/goaccess.c:512:15: note: Assuming that condition 'scrll>=exp_size' is not redundant goaccess-1.10.1/src/goaccess.c:512:36: note: Condition 'scrll>=offset+exp_size' is always true goaccess-1.10.1/src/goaccess.c:1752:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.10.1/src/goaccess.c:1751:18: note: Assuming allocation function fails goaccess-1.10.1/src/goaccess.c:1751:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.10.1/src/goaccess.c:1752:13: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:1470:89: style: Condition '(logitem->status/100)==4' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/gstorage.c:1470:51: note: Assuming that condition '(logitem->status/100)!=4' is not redundant goaccess-1.10.1/src/gstorage.c:1470:89: note: Condition '(logitem->status/100)==4' is always true goaccess-1.10.1/src/goaccess.c:1557:40: style: Redundant initialization for 'term'. The initialized value is overwritten before it is read. [redundantInitialization] goaccess-1.10.1/src/goaccess.c:1555:20: note: term is initialized goaccess-1.10.1/src/goaccess.c:1557:40: note: term is overwritten goaccess-1.10.1/src/goaccess.c:1422:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] goaccess-1.10.1/src/gstorage.c:535:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:534:27: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:534:27: note: Assignment 'ptr=xmalloc(sizeof(uint32_t))', assigned value is 0 goaccess-1.10.1/src/gstorage.c:535:4: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:546:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:545:27: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:545:27: note: Assignment 'ptr=xmalloc(sizeof(uint64_t))', assigned value is 0 goaccess-1.10.1/src/gstorage.c:546:4: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:841:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:839:17: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:839:17: note: Assignment 'key=xcalloc(s1+s2+s3+nul,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/gstorage.c:841:11: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:872:11: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:871:15: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:871:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:872:11: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:874:5: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:871:15: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:871:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:874:5: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:910:48: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:909:18: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:909:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:910:48: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:912:54: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:909:18: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:909:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:912:54: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:922:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.10.1/src/gstorage.c:921:17: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:921:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:922:11: note: Null pointer dereference goaccess-1.10.1/src/gstorage.c:875:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/gstorage.c:871:15: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:871:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:875:13: note: Null pointer addition goaccess-1.10.1/src/gstorage.c:923:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/gstorage.c:921:17: note: Assuming allocation function fails goaccess-1.10.1/src/gstorage.c:921:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.10.1/src/gstorage.c:923:15: note: Null pointer addition goaccess-1.10.1/src/goaccess.c:1532:9: style: Variable 'loc_ctype' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/goaccess.c:506:13: style: Variable 'scrll' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gstorage.c:615:38: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:692:24: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:722:40: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_data' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:431:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:722:40: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:732:43: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:739:43: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_rootmap' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:432:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:739:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:746:40: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:753:39: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_hit' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:433:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:753:39: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:761:43: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_visitor' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:434:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:761:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:769:38: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_bw' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:435:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:769:38: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:777:41: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_cumts' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:436:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:777:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:785:41: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_maxts' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:437:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:785:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:791:42: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_method' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:264:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:791:42: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:798:44: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_protocol' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:265:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:798:44: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:805:41: style: Parameter 'kdata' can be declared as pointer to const. However it seems that 'insert_agent' is a callback function, if 'kdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:253:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:805:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:817:31: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:1016:43: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_vhost_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:378:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1016:43: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1032:49: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_remote_user_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:391:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1032:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1048:50: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_cache_status_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:404:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1048:50: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1064:42: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_host_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:243:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1064:42: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1104:45: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_browser_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:269:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1104:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1127:40: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_os_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:256:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1127:40: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1176:47: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_mime_type_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:417:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1176:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1265:45: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_referer_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:282:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1265:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1281:46: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_ref_site_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:295:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1281:46: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1297:47: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_keyphrase_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:308:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1297:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1398:49: style: Parameter 'logitem' can be declared as pointer to const. However it seems that 'gen_status_code_key' is a callback function, if 'logitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/gstorage.c:352:5: note: You might need to cast the function pointer here goaccess-1.10.1/src/gstorage.c:1398:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.10.1/src/gstorage.c:1420:51: style: Parameter 'ftime' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/gstorage.c:1467:25: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/goaccess.c:1077:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/goaccess.c:1077:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/goaccess.c:1183:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/goaccess.c:1240:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gstorage.c:616:15: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/gstorage.c:906:34: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/settings.c:844:70: style: Condition 'ctx!=JSON_ARRAY' is always true [knownConditionTrueFalse] goaccess-1.10.1/src/settings.c:846:13: style: Condition '!key' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/settings.c:576:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] goaccess-1.10.1/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.10.1/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.10.1/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.10.1/src/settings.c:576:11: note: Null pointer dereference goaccess-1.10.1/src/settings.c:577:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pr++ [nullPointerOutOfMemory] goaccess-1.10.1/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.10.1/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.10.1/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.10.1/src/settings.c:577:14: note: Null pointer dereference goaccess-1.10.1/src/settings.c:577:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.10.1/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.10.1/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.10.1/src/settings.c:577:14: note: Null pointer addition goaccess-1.10.1/src/settings.c:715:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/settings.c:712:17: note: Assuming allocation function fails goaccess-1.10.1/src/settings.c:712:17: note: Assignment 'buf=xcalloc(flen,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/settings.c:715:27: note: Null pointer addition goaccess-1.10.1/src/persistence.c:1094:30: warning: Either the condition 'len<0' is redundant or xcalloc() argument nr 1 can have invalid value. The value is 0 but the valid values are '1:'. [invalidFunctionArg] goaccess-1.10.1/src/persistence.c:1091:11: note: Assuming that condition 'len<0' is not redundant goaccess-1.10.1/src/persistence.c:1093:25: note: Assignment 'persisted_dates_len=len', assigned value is 0 goaccess-1.10.1/src/persistence.c:1094:30: note: Invalid argument goaccess-1.10.1/src/settings.c:781:26: style:inconclusive: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. [funcArgNamesDifferent] goaccess-1.10.1/src/settings.h:244:30: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.10.1/src/settings.c:781:26: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.10.1/src/settings.c:901:34: style:inconclusive: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.10.1/src/settings.h:246:39: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:901:34: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:928:34: style:inconclusive: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.10.1/src/settings.h:249:39: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:928:34: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:972:33: style:inconclusive: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.10.1/src/settings.h:247:38: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:972:33: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.10.1/src/settings.c:684:12: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:343:38: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/persistence.c:440:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/persistence.c:941:20: style: Variable 'db_props' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/persistence.c:286:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:317:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:379:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:443:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:481:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:543:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:573:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:657:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:715:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:773:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/persistence.c:832:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/ui.c:738:16: style: Expression is always true because 'else if' condition is opposite to previous condition at line 736. [multiCondition] goaccess-1.10.1/src/ui.c:736:11: note: first condition goaccess-1.10.1/src/ui.c:738:16: note: else if condition is opposite to first condition goaccess-1.10.1/src/parser.c:1591:16: warning: Identical condition '*str=='\0'', second condition is always false [identicalConditionAfterEarlyExit] goaccess-1.10.1/src/parser.c:1585:14: note: If condition '*str=='\0'' is true, the function will return/exit goaccess-1.10.1/src/parser.c:1591:16: note: Testing identical condition '*str=='\0'' goaccess-1.10.1/src/ui.c:549:50: style: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false [knownConditionTrueFalse] goaccess-1.10.1/src/ui.c:549:50: note: Calling function 'get_start_end_parsing_dates' returns 0 goaccess-1.10.1/src/ui.c:549:50: note: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false goaccess-1.10.1/src/parser.c:2187:20: style: Redundant condition: job->test. '!job->test || (job->test && local_cnttest || local_cnt0?pos:0])', assigned value is 0 goaccess-1.10.1/src/ui.c:796:5: note: Null pointer dereference goaccess-1.10.1/src/ui.c:797:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.10.1/src/ui.c:795:19: note: Assuming allocation function fails goaccess-1.10.1/src/ui.c:795:19: note: Assignment 'tmp=xstrdup(&s[pos>0?pos:0])', assigned value is 0 goaccess-1.10.1/src/ui.c:797:22: note: Null pointer dereference goaccess-1.10.1/src/parser.c:832:20: warning: snprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/parser.c:833:5: warning: sprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] goaccess-1.10.1/src/ui.c:1097:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.10.1/src/ui.c:1096:21: note: Assuming allocation function fails goaccess-1.10.1/src/ui.c:1096:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.10.1/src/ui.c:1097:3: note: Null pointer dereference goaccess-1.10.1/src/ui.c:1098:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.10.1/src/ui.c:1096:21: note: Assuming allocation function fails goaccess-1.10.1/src/ui.c:1096:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.10.1/src/ui.c:1098:3: note: Null pointer dereference goaccess-1.10.1/src/ui.c:1099:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.10.1/src/ui.c:1096:21: note: Assuming allocation function fails goaccess-1.10.1/src/ui.c:1096:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.10.1/src/ui.c:1099:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:80:11: warning: If memory allocation fails, then there is a possible null pointer dereference: raw_data [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:79:32: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:79:32: note: Assignment 'raw_data=xmalloc(sizeof(*raw_data))', assigned value is 0 goaccess-1.10.1/src/parser.c:80:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:116:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:115:24: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:115:24: note: Assignment 'logs=xmalloc(sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:116:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:118:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:115:24: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:115:24: note: Assignment 'logs=xmalloc(sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:118:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:115:24: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:115:24: note: Assignment 'logs=xmalloc(sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:119:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:120:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:115:24: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:115:24: note: Assignment 'logs=xmalloc(sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:120:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:151:45: warning: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:148:16: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:148:16: note: Assignment 'fn=xstrdup(filename)', assigned value is 0 goaccess-1.10.1/src/parser.c:151:45: note: Null pointer dereference goaccess-1.10.1/src/parser.c:198:5: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:197:20: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:197:20: note: Assignment 'logs=xcalloc(1,sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:198:5: note: Null pointer dereference goaccess-1.10.1/src/parser.c:199:5: warning: If memory allocation fails, then there is a possible null pointer dereference: logs [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:197:20: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:197:20: note: Assignment 'logs=xcalloc(1,sizeof(*logs))', assigned value is 0 goaccess-1.10.1/src/parser.c:199:5: note: Null pointer dereference goaccess-1.10.1/src/parser.c:199:29: warning: If memory allocation fails, then there is a possible null pointer dereference: logs->glog [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:198:26: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:198:26: note: Assignment 'logs->glog=xcalloc(1,sizeof(*glog))', assigned value is 0 goaccess-1.10.1/src/parser.c:199:29: note: Null pointer dereference goaccess-1.10.1/src/parser.c:255:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:255:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:257:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:257:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:258:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:258:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:259:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:259:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:260:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:260:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:261:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:262:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:262:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:263:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:264:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:264:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:265:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:265:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:266:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:267:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:268:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:269:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:269:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:270:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:270:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:271:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:272:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:272:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:273:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:274:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:274:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:275:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:275:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:276:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:276:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:277:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:277:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:278:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:278:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:279:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:279:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:280:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:281:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:282:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:283:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:286:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:286:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:287:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:287:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:288:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:288:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:289:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:289:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:291:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:291:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:292:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:292:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:293:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:254:21: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:254:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.10.1/src/parser.c:293:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:456:24: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:455:16: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:455:16: note: Assignment 'url=strdup(referer)', assigned value is 0 goaccess-1.10.1/src/parser.c:456:24: note: Null pointer dereference goaccess-1.10.1/src/parser.c:594:14: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:593:23: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:593:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:594:14: note: Null pointer dereference goaccess-1.10.1/src/parser.c:700:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:699:15: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:699:15: note: Assignment 'p=xmalloc(len)', assigned value is 0 goaccess-1.10.1/src/parser.c:700:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:701:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:699:15: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:699:15: note: Assignment 'p=xmalloc(len)', assigned value is 0 goaccess-1.10.1/src/parser.c:701:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:889:11: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:888:18: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:888:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:889:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:901:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:888:18: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:888:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:898:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.10.1/src/parser.c:901:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:903:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:888:18: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:888:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:898:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.10.1/src/parser.c:903:13: note: Null pointer dereference goaccess-1.10.1/src/parser.c:905:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:888:18: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:888:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:898:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.10.1/src/parser.c:905:10: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1449:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:1448:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1448:17: note: Assignment 'ret=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:1449:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1450:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:1448:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1448:17: note: Assignment 'ret=xmalloc(len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:1450:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1809:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:1807:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1807:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/parser.c:1809:11: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1811:3: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:1807:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1807:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/parser.c:1811:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1814:3: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:1807:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1807:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/parser.c:1814:3: note: Null pointer dereference goaccess-1.10.1/src/parser.c:2091:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_req [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:2086:29: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:2086:29: note: Assignment 'new_req=xmalloc(vhost_len+req_len+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:2091:5: note: Null pointer dereference goaccess-1.10.1/src/parser.c:2644:5: warning: If memory allocation fails, then there is a possible null pointer dereference: errors [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:2641:20: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:2641:20: note: Assignment 'errors=xcalloc(glog->log_erridx,sizeof(char*))', assigned value is 0 goaccess-1.10.1/src/parser.c:2644:5: note: Null pointer dereference goaccess-1.10.1/src/parser.c:1812:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/parser.c:1807:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1807:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/parser.c:1812:15: note: Null pointer addition goaccess-1.10.1/src/parser.c:1815:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/parser.c:1807:17: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:1807:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.10.1/src/parser.c:1815:15: note: Null pointer addition goaccess-1.10.1/src/ui.c:750:17: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] goaccess-1.10.1/src/ui.c:545:30: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/ui.c:855:47: style: Parameter 'snap' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/ui.c:909:43: style: Parameter 'snap' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/ui.c:961:46: style: Parameter 'snap' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:781:59: style: Checking if unsigned expression 'strftime(buf,10+1,conf.date_num_format,&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.10.1/src/parser.c:797:49: style: Checking if unsigned expression 'strftime(buf,8+1,"%H:%M:%S",&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.10.1/src/parser.c:739:24: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:995:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1012:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1028:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1046:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1055:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1064:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1080:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1101:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1118:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1135:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1152:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1169:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1179:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1195:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1214:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1240:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1265:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1289:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1315:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1336:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1359:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1382:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1393:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1406:17: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:1526:35: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.10.1/src/parser.c:187:9: style: Variable 'glog' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:252:22: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:394:19: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:449:23: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:573:9: style: Variable 'req' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:573:53: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:871:9: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:971:9: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:1623:19: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1637:22: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1650:9: style: Variable 'glog' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:1756:19: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1798:33: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1827:27: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1933:45: style: Parameter 'key' can be declared as pointer to const. However it seems that 'parse_json_specifier' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/parser.c:1954:43: note: You might need to cast the function pointer here goaccess-1.10.1/src/parser.c:1933:45: note: Parameter 'key' can be declared as pointer to const goaccess-1.10.1/src/parser.c:1933:56: style: Parameter 'str' can be declared as pointer to const. However it seems that 'parse_json_specifier' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.10.1/src/parser.c:1954:43: note: You might need to cast the function pointer here goaccess-1.10.1/src/parser.c:1933:56: note: Parameter 'str' can be declared as pointer to const goaccess-1.10.1/src/parser.c:1953:45: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:1999:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.10.1/src/parser.c:2013:47: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.10.1/src/parser.c:133:14: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:188:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:207:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:1464:27: style: Variable 'len' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2014:15: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2126:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2272:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2274:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2351:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2353:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.10.1/src/parser.c:2377:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] diff: 2.20.0 goaccess-1.10.1/src/gdashboard.c:523:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.10.1/src/gdashboard.c:518:15: note: Assuming allocation function fails goaccess-1.10.1/src/gdashboard.c:518:15: note: Assignment 's=xmalloc(snprintf(NULL,0,"%s: %"PRIu32"/%"PRIu32,"Total",total,ht_size)+1)', assigned value is 0 goaccess-1.10.1/src/gdashboard.c:523:49: note: Null pointer dereference head goaccess-1.10.1/src/gdashboard.c:532:38: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] head goaccess-1.10.1/src/gkhash.c:777:80: style:inconclusive: Function 'ins_si32_inc' argument 4 names different: declaration '' definition 'seqs'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/gkhash.c:778:27: style:inconclusive: Function 'ins_si32_inc' argument 5 names different: declaration '' definition 'seqk'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/gkhash.c:805:80: style:inconclusive: Function 'ins_ii32_inc' argument 4 names different: declaration '' definition 'seqs'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/gkhash.c:806:27: style:inconclusive: Function 'ins_ii32_inc' argument 5 names different: declaration '' definition 'seqk'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/gslist.c:152:66: style:inconclusive: Function 'list_foreach' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/gslist.c:84:63: style:inconclusive: Function 'list_find' argument 3 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/json.c:1049:85: style:inconclusive: Function 'print_json_data' argument 4 names different: declaration '' definition 'panel'. [funcArgNamesDifferentUnnamed] 2.20.0 goaccess-1.10.1/src/parser.c:1591:16: style: Condition '*str=='\0'' is always false [knownConditionTrueFalse] head goaccess-1.10.1/src/parser.c:1591:16: warning: Identical condition '*str=='\0'', second condition is always false [identicalConditionAfterEarlyExit] goaccess-1.10.1/src/parser.c:1585:14: note: If condition '*str=='\0'' is true, the function will return/exit goaccess-1.10.1/src/parser.c:1591:16: note: Testing identical condition '*str=='\0'' 2.20.0 goaccess-1.10.1/src/parser.c:595:5: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.10.1/src/parser.c:593:23: note: Assuming allocation function fails goaccess-1.10.1/src/parser.c:593:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.10.1/src/parser.c:595:5: note: Null pointer dereference 2.20.0 goaccess-1.10.1/src/pdjson.c:674:18: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.10.1/src/pdjson.c:674:18: note: Shadow variable head goaccess-1.10.1/src/pdjson.c:674:18: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed function goaccess-1.10.1/src/pdjson.c:674:18: note: Shadow local variable 2.20.0 goaccess-1.10.1/src/pdjson.c:689:20: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.10.1/src/pdjson.c:689:20: note: Shadow variable head goaccess-1.10.1/src/pdjson.c:689:20: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.10.1/src/pdjson.c:625:1: note: Shadowed function goaccess-1.10.1/src/pdjson.c:689:20: note: Shadow local variable head goaccess-1.10.1/src/pdjson.c:941:67: style:inconclusive: Function 'json_open_user' argument 3 names different: declaration '' definition 'peek'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/pdjson.c:941:79: style:inconclusive: Function 'json_open_user' argument 4 names different: declaration '' definition 'user'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/tpl.c:1351:30: style:inconclusive: Function 'tpl_needs_endian_swap' argument 1 names different: declaration '' definition 'd'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/tpl.c:2470:77: style:inconclusive: Function 'tpl_gather_nonblocking' argument 4 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head goaccess-1.10.1/src/tpl.c:2588:84: style:inconclusive: Function 'tpl_gather_mem' argument 5 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] 2.20.0 goaccess-1.10.1/src/ui.c:383:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: lbl [nullPointerOutOfMemory] goaccess-1.10.1/src/ui.c:379:23: note: Assuming allocation function fails goaccess-1.10.1/src/ui.c:379:23: note: Assignment 'lbl=xmalloc(snprintf(NULL,0,"[Active Panel: %1$s]",module)+1)', assigned value is 0 goaccess-1.10.1/src/ui.c:383:43: note: Null pointer dereference 2.20.0 goaccess-1.10.1/src/util.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.10.1/src/util.c:259:22: note: Assuming allocation function fails goaccess-1.10.1/src/util.c:259:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.10.1/src/util.c:261:3: note: Null pointer dereference 2.20.0 goaccess-1.10.1/src/websocket.c:1073:5: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.10.1/src/websocket.c:1071:23: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1071:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.10.1/src/websocket.c:1073:5: note: Null pointer dereference 2.20.0 goaccess-1.10.1/src/websocket.c:1463:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.10.1/src/websocket.c:1460:17: note: Assuming allocation function fails goaccess-1.10.1/src/websocket.c:1460:17: note: Assignment 'frm=xcalloc(hsize+sz,sizeof(unsigned char))', assigned value is 0 goaccess-1.10.1/src/websocket.c:1463:17: note: Null pointer addition 2.20.0 goaccess-1.10.1/src/websocket.c:2884:20: error:inconclusive: Pointer addition with NULL pointer. [nullPointerArithmetic] goaccess-1.10.1/src/websocket.c:2838:29: note: Assignment 'cfdstate=NULL', assigned value is 0 goaccess-1.10.1/src/websocket.c:2884:20: note: Null pointer addition 2.20.0 goaccess-1.10.1/src/wsauth.c:348:3: error: Common realloc mistake: 'payload_json' nulled but not freed upon failure [memleakOnRealloc] DONE