2025-07-08 11:19 ftp://ftp.de.debian.org/debian/pool/main/g/goaccess/goaccess_1.9.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --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 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 428 424 elapsed-time: 38.0 38.7 head-timing-info: old-timing-info: head results: goaccess-1.9.3/src/bin2c.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/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.9.3/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.9.3/src/bin2c.c:23:9: style: Variable 'ident' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/browsers.c:365:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/browsers.c:409:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/browsers.c:575:34: style:inconclusive: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. [funcArgNamesDifferent] goaccess-1.9.3/src/browsers.h:43:40: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.9.3/src/browsers.c:575:34: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.9.3/src/browsers.c:450:20: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/browsers.c:463:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/browsers.c:463:33: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/color.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:438:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:473:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:618:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:659:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:775:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:801:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/color.c:679:39: style: Condition 'parse_module_color(color,val)==1' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/color.c:679:26: note: Calling function 'parse_module_color' returns 0 goaccess-1.9.3/src/color.c:679:39: note: Condition 'parse_module_color(color,val)==1' is always false goaccess-1.9.3/src/color.c:308:3: warning: If memory allocation fails, then there is a possible null pointer dereference: color [nullPointerOutOfMemory] goaccess-1.9.3/src/color.c:307:28: note: Assuming allocation function fails goaccess-1.9.3/src/color.c:307:28: note: Assignment 'color=xcalloc(1,sizeof(struct GColors))', assigned value is 0 goaccess-1.9.3/src/color.c:308:3: note: Null pointer dereference goaccess-1.9.3/src/color.c:319:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pair [nullPointerOutOfMemory] goaccess-1.9.3/src/color.c:316:30: note: Assuming allocation function fails goaccess-1.9.3/src/color.c:316:30: note: Assignment 'pair=xcalloc(1,sizeof(struct GColorPair))', assigned value is 0 goaccess-1.9.3/src/color.c:319:3: note: Null pointer dereference goaccess-1.9.3/src/color.c:497:19: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.3/src/color.c:495:18: note: Assuming allocation function fails goaccess-1.9.3/src/color.c:495:18: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.9.3/src/color.c:497:19: note: Null pointer dereference goaccess-1.9.3/src/color.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.3/src/color.c:525:24: note: Assuming allocation function fails goaccess-1.9.3/src/color.c:525:24: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.9.3/src/color.c:527:16: note: Null pointer dereference goaccess-1.9.3/src/color.c:763:17: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.3/src/color.c:761:19: note: Assuming allocation function fails goaccess-1.9.3/src/color.c:761:19: note: Assignment 'line=strdup(colors[i])', assigned value is 0 goaccess-1.9.3/src/color.c:763:17: note: Null pointer dereference goaccess-1.9.3/src/color.c:492:22: style: Variable 'start' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:525:34: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:549:12: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:550:12: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:566:15: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:567:15: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:583:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:595:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/color.c:596:12: style: Variable 'item' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/commons.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/commons.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/commons.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/commons.c:235:11: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.3/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.3/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.3/src/commons.c:235:11: note: Null pointer dereference goaccess-1.9.3/src/commons.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.3/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.3/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.3/src/commons.c:237:3: note: Null pointer dereference goaccess-1.9.3/src/commons.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.3/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.3/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.3/src/commons.c:238:3: note: Null pointer dereference goaccess-1.9.3/src/commons.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.3/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.3/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.3/src/commons.c:239:3: note: Null pointer dereference goaccess-1.9.3/src/commons.c:501:17: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] goaccess-1.9.3/src/commons.c:489:23: note: Assuming allocation function fails goaccess-1.9.3/src/commons.c:489:23: note: Assignment 'str=xstrdup("")', assigned value is 0 goaccess-1.9.3/src/commons.c:492:17: note: Assuming condition is false goaccess-1.9.3/src/commons.c:501:17: note: Null pointer dereference goaccess-1.9.3/src/csv.c:125:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/csv.c:231:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/csv.c:300:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/csv.c:233:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:238:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:242:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:252:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:256:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:260:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:264:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:268:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:272:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:280:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.3/src/csv.c:105:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/error.c:144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESETHAND [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/error.c:153:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/error.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/error.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/error.c:59:27: style:inconclusive: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] goaccess-1.9.3/src/error.h:86:32: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.9.3/src/error.c:59:27: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.9.3/src/error.c:151:35: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:832:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:861:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:1156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:1236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:1311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdashboard.c:74:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.9.3/src/gdashboard.c:73:25: note: Assuming allocation function fails goaccess-1.9.3/src/gdashboard.c:73:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.9.3/src/gdashboard.c:74:11: note: Null pointer dereference goaccess-1.9.3/src/gdashboard.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.9.3/src/gdashboard.c:73:25: note: Assuming allocation function fails goaccess-1.9.3/src/gdashboard.c:73:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.9.3/src/gdashboard.c:75:3: note: Null pointer dereference goaccess-1.9.3/src/gdashboard.c:533:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.3/src/gdashboard.c:528:15: note: Assuming allocation function fails goaccess-1.9.3/src/gdashboard.c:528:15: note: Assignment 's=xmalloc(snprintf(NULL,0,"%s: %d/%d","Total",total,ht_size)+1)', assigned value is 0 goaccess-1.9.3/src/gdashboard.c:533:49: note: Null pointer dereference goaccess-1.9.3/src/gdashboard.c:200:39: style:inconclusive: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:126:44: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:200:39: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1105:53: style:inconclusive: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:128:61: note: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1105:53: note: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1135:32: style:inconclusive: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:132:38: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1135:32: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1228:41: style:inconclusive: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:124:47: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1228:41: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1304:48: style:inconclusive: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:125:54: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1304:48: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1411:70: style:inconclusive: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.3/src/gdashboard.h:130:78: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:1411:70: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.3/src/gdashboard.c:134:33: style: Parameter 'dash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:283:46: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:298:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:313:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:328:56: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:343:45: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:358:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:378:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:398:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:418:49: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:438:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:458:47: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:494:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:521:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:539:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1019:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1019:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1063:62: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1196:50: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1232:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gdashboard.c:1411:29: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1411:70: style: Parameter 'gscroll' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdashboard.c:1107:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/gdashboard.c:1110:21: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/gdns.c:212:30: debug: Function::addArguments found argument 'ptr_data' with varid 0. [varid0] goaccess-1.9.3/src/gdns.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NAMEREQD [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdns.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdns.c:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdns.c:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gdns.c:234:25: style: Condition 'active_gdns' is always true [knownConditionTrueFalse] goaccess-1.9.3/src/gdns.c:75:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdns.c:83:26: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdns.c:91:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdns.c:175:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gdns.c:198:21: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/geoip1.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_MEMORY_CACHE [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip1.c:178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip1.c:454:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/geoip1.c:487:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/geoip1.c:506:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/geoip1.c:539:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/geoip1.c:558:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/geoip2.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_MODE_MMAP [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip2.c:129:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable database_type [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip2.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip2.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip2.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/geoip2.c:250:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:251:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:253:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:256:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:273:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:274:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:276:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:353:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] goaccess-1.9.3/src/geoip2.c:325:18: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gholder.c:205:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gholder.c:228:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gholder.c:513:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/gholder.c:413:14: style: Expression is always true because 'else if' condition is opposite to previous condition at line 411. [multiCondition] goaccess-1.9.3/src/gholder.c:411:7: note: first condition goaccess-1.9.3/src/gholder.c:413:14: note: else if condition is opposite to first condition goaccess-1.9.3/src/gholder.c:110:11: warning: If memory allocation fails, then there is a possible null pointer dereference: holder [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:109:29: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:109:29: note: Assignment 'holder=xmalloc(size*sizeof(struct GHolder))', assigned value is 0 goaccess-1.9.3/src/gholder.c:110:11: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:131:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.3/src/gholder.c:131:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:132:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.3/src/gholder.c:132:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.3/src/gholder.c:133:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.3/src/gholder.c:145:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:146:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.3/src/gholder.c:146:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:147:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.3/src/gholder.c:147:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.3/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.3/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.3/src/gholder.c:148:3: note: Null pointer dereference goaccess-1.9.3/src/gholder.c:242:34: style: Parameter 'holder' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gholder.c:316:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gholder.c:502:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/khash.h:444:27: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.3/src/gkhash.c:1040:22: note: Assuming allocation function fails goaccess-1.9.3/src/gkhash.c:1040:22: note: Assignment 'dupkey=xstrdup(key)', assigned value is 0 goaccess-1.9.3/src/gkhash.c:1041:9: note: Calling function 'kh_put_su64', 2nd argument 'dupkey' value is 0 goaccess-1.9.3/src/gkhash.h:73:1: note: Calling function '__ac_X31_hash_string', 1st argument 'key' value is 0 goaccess-1.9.3/src/khash.h:444:27: note: Null pointer dereference goaccess-1.9.3/src/gkhash.c:596:9: style: Variable 'db' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkhash.c:1253:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkhash.c:1255:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkhash.c:1273:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkhash.c:1275:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkhash.c:1313:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkhash.c:1333:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkhash.c:1542:56: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkhash.c:1542:67: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkmhash.c:322:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:324:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:394:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gkmhash.c:765:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:778:20: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:794:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:940:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:962:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1009:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1160:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1188:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1210:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1221:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1235:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1253:20: style: Variable 'kmap' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1255:20: style: Variable 'rmap' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:1292:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/gkmhash.c:270:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/gmenu.c:48:11: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:48:11: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:49:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:50:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:51:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:52:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:53:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:54:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:56:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:57:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:58:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:58:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:59:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:3: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:60:31: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:31: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:60:40: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:40: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:60:49: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:49: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:60:58: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:58: note: Null pointer dereference goaccess-1.9.3/src/gmenu.c:67:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gmenu.c:89:56: style: Variable 'checked' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/websocket.h:92:0: error: #error Platform not supported! [preprocessorErrorDirective] goaccess-1.9.3/src/websocket.h:92:4: error: #error Platform not supported! [preprocessorErrorDirective] goaccess-1.9.3/src/gslist.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.9.3/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.9.3/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.9.3/src/gslist.c:46:3: note: Null pointer dereference goaccess-1.9.3/src/gslist.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.9.3/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.9.3/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.9.3/src/gslist.c:47:3: note: Null pointer dereference goaccess-1.9.3/src/gslist.c:166:22: style:inconclusive: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. [funcArgNamesDifferent] goaccess-1.9.3/src/gslist.h:53:27: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.9.3/src/gslist.c:166:22: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.9.3/src/gslist.c:131:44: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:1391:89: style: Condition '(logitem->status/100)=='4'' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/gstorage.c:1391:51: note: Assuming that condition '(logitem->status/100)!=4' is not redundant goaccess-1.9.3/src/gstorage.c:1391:89: note: Condition '(logitem->status/100)=='4'' is always false goaccess-1.9.3/src/gstorage.c:481:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:480:27: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:480:27: note: Assignment 'ptr=xmalloc(sizeof(uint32_t))', assigned value is 0 goaccess-1.9.3/src/gstorage.c:481:4: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:492:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:491:27: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:491:27: note: Assignment 'ptr=xmalloc(sizeof(uint64_t))', assigned value is 0 goaccess-1.9.3/src/gstorage.c:492:4: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:779:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:777:17: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:777:17: note: Assignment 'key=xcalloc(s1+s2+s3+nul,sizeof(char))', assigned value is 0 goaccess-1.9.3/src/gstorage.c:779:11: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:810:11: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:810:11: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:812:5: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:812:5: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:848:48: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:847:18: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:847:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:848:48: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:850:54: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:847:18: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:847:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:850:54: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:860:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.3/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:860:11: note: Null pointer dereference goaccess-1.9.3/src/gstorage.c:813:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:813:13: note: Null pointer addition goaccess-1.9.3/src/gstorage.c:861:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:861:15: note: Null pointer addition goaccess-1.9.3/src/gstorage.c:561:38: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:630:24: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:660: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.9.3/src/gstorage.c:377:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:660:40: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:670:43: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:677: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.9.3/src/gstorage.c:378:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:677:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:684:40: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:691: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.9.3/src/gstorage.c:379:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:691:39: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:699: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.9.3/src/gstorage.c:380:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:699:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:707: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.9.3/src/gstorage.c:381:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:707:38: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:715: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.9.3/src/gstorage.c:382:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:715:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:723: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.9.3/src/gstorage.c:383:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:723:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:729: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.9.3/src/gstorage.c:210:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:729:42: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:736: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.9.3/src/gstorage.c:211:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:736:44: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:743: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.9.3/src/gstorage.c:199:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:743:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:755:31: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:954: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.9.3/src/gstorage.c:324:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:954:43: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:970: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.9.3/src/gstorage.c:337:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:970:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:986: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.9.3/src/gstorage.c:350:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:986:50: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1002: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.9.3/src/gstorage.c:189:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1002:42: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1041: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.9.3/src/gstorage.c:215:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1041:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1064: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.9.3/src/gstorage.c:202:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1064:40: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1113: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.9.3/src/gstorage.c:363:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1113:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1202: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.9.3/src/gstorage.c:228:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1202:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1218: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.9.3/src/gstorage.c:241:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1218:46: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1234: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.9.3/src/gstorage.c:254:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1234:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1319: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.9.3/src/gstorage.c:298:5: note: You might need to cast the function pointer here goaccess-1.9.3/src/gstorage.c:1319:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.3/src/gstorage.c:1341:51: style: Parameter 'ftime' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:1388:25: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/gstorage.c:844:34: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/options.c:408:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/options.c:738:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/options.c:784:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/options.c:738:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/options.c:737:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.9.3/src/options.c:738:12: note: Condition '-1==o' is always false goaccess-1.9.3/src/options.c:784:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/options.c:783:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.9.3/src/options.c:784:12: note: Condition '-1==o' is always false goaccess-1.9.3/src/output.c:1270:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/output.c:1287:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/output.c:1254:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.3/src/output.c:1252:18: note: Assuming allocation function fails goaccess-1.9.3/src/output.c:1252:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.3/src/output.c:1254:3: note: Null pointer dereference goaccess-1.9.3/src/output.c:1254:36: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] goaccess-1.9.3/src/output.c:1253:19: note: Assuming allocation function fails goaccess-1.9.3/src/output.c:1253:19: note: Assignment 'fname=xstrdup(basename(path))', assigned value is 0 goaccess-1.9.3/src/output.c:1254:36: note: Null pointer dereference goaccess-1.9.3/src/output.c:1256:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.3/src/output.c:1252:18: note: Assuming allocation function fails goaccess-1.9.3/src/output.c:1252:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.3/src/output.c:1256:43: note: Null pointer dereference goaccess-1.9.3/src/output.c:1257:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.3/src/output.c:1252:18: note: Assuming allocation function fails goaccess-1.9.3/src/output.c:1252:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.3/src/output.c:1257:23: note: Null pointer dereference goaccess-1.9.3/src/output.c:362:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/output.c:373:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/output.c:387:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/pdjson.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:498:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:708:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/pdjson.c:389:12: style: Condition '0x80<=u' is always true [knownConditionTrueFalse] goaccess-1.9.3/src/pdjson.c:386:9: note: Assuming that condition 'u<0x80' is not redundant goaccess-1.9.3/src/pdjson.c:389:12: note: Condition '0x80<=u' is always true goaccess-1.9.3/src/pdjson.c:956:45: style:inconclusive: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. [funcArgNamesDifferent] goaccess-1.9.3/src/pdjson.h:45:68: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.9.3/src/pdjson.c:956:45: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.9.3/src/pdjson.c:674:18: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.9.3/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.9.3/src/pdjson.c:674:18: note: Shadow variable goaccess-1.9.3/src/pdjson.c:689:20: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.9.3/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.9.3/src/pdjson.c:689:20: note: Shadow variable goaccess-1.9.3/src/pdjson.c:857:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] goaccess-1.9.3/src/pdjson.c:851:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/pdjson.c:861:31: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/pdjson.c:871:30: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/pdjson.c:951:56: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/persistence.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/persistence.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/persistence.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/persistence.c:272:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/persistence.c:964:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/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.9.3/src/persistence.c:1091:11: note: Assuming that condition 'len<0' is not redundant goaccess-1.9.3/src/persistence.c:1093:25: note: Assignment 'persisted_dates_len=len', assigned value is 0 goaccess-1.9.3/src/persistence.c:1094:30: note: Invalid argument goaccess-1.9.3/src/persistence.c:343:38: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/persistence.c:440:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/persistence.c:941:20: style: Variable 'db_props' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/persistence.c:286:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:317:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:379:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:443:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:481:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:543:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:573:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:657:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:715:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:773:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/persistence.c:832:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/settings.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/settings.c:278:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/settings.c:880:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/settings.c:843:70: style: Condition 'ctx!=JSON_ARRAY' is always true [knownConditionTrueFalse] goaccess-1.9.3/src/settings.c:845:13: style: Condition '!key' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/settings.c:575:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] goaccess-1.9.3/src/settings.c:572:17: note: Assuming allocation function fails goaccess-1.9.3/src/settings.c:572:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.3/src/settings.c:573:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.3/src/settings.c:575:11: note: Null pointer dereference goaccess-1.9.3/src/settings.c:714:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/settings.c:711:17: note: Assuming allocation function fails goaccess-1.9.3/src/settings.c:711:17: note: Assignment 'buf=xcalloc(flen,sizeof(char))', assigned value is 0 goaccess-1.9.3/src/settings.c:714:27: note: Null pointer addition goaccess-1.9.3/src/settings.c:780:26: style:inconclusive: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. [funcArgNamesDifferent] goaccess-1.9.3/src/settings.h:238:30: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.9.3/src/settings.c:780:26: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.9.3/src/settings.c:900:34: style:inconclusive: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.3/src/settings.h:240:39: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:900:34: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:927:34: style:inconclusive: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.3/src/settings.h:243:39: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:927:34: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:971:33: style:inconclusive: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.3/src/settings.h:241:38: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:971:33: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.3/src/settings.c:683:12: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:54:13: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] goaccess-1.9.3/src/sha1.c:159:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:159:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:159:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:159:17: style: Variable 'd' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:159:21: style: Variable 'e' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:221:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/sha1.c:221:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/tpl.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:411:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:621:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:641:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:739:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:847:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pidx [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:864:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:888:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:894:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_fxlens [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1059:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1185:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1259:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1630:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1693:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1779:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1878:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1910:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:1949:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:2118:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:2264:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:2409:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:2479:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/tpl.c:2137:39: style: Checking if unsigned expression '((struct tpl_atyp*)(n->data))->num' is less than zero. [unsignedLessThanZero] goaccess-1.9.3/src/tpl.c:1907:46: style:inconclusive: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. [funcArgNamesDifferent] goaccess-1.9.3/src/tpl.c:185:58: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.9.3/src/tpl.c:1907:46: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.9.3/src/tpl.c:294:13: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:336:41: style: Variable 'struct_next' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1147:8: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1149:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1191:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1237:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1254:56: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1256:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1256:29: style: Variable 'mapfmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1352:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1378:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:2013:15: style: Variable 'caddr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/tpl.c:1293:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/tpl.c:1606:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/tpl.c:2359:16: style: Unused variable: sz [unusedVariable] goaccess-1.9.3/src/tpl.c:2360:23: style: Unused variable: data [unusedVariable] goaccess-1.9.3/src/ui.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:176:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_END [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:394:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:527:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:589:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:698:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _a [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:739:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:858:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:937:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1014:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_END [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1069:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1083:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1090:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1103:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1317:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1551:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1571:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1647:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:1884:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/ui.c:768:16: style: Expression is always true because 'else if' condition is opposite to previous condition at line 766. [multiCondition] goaccess-1.9.3/src/ui.c:766:11: note: first condition goaccess-1.9.3/src/ui.c:768:16: note: else if condition is opposite to first condition goaccess-1.9.3/src/ui.c:573:50: style: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false [knownConditionTrueFalse] goaccess-1.9.3/src/ui.c:573:50: note: Calling function 'get_start_end_parsing_dates' returns 0 goaccess-1.9.3/src/ui.c:573:50: note: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false goaccess-1.9.3/src/ui.c:402:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: lbl [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:396:23: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:396:23: note: Assignment 'lbl=xmalloc(snprintf(NULL,0,"[Active Panel: %1$s]",module)+1)', assigned value is 0 goaccess-1.9.3/src/ui.c:402:43: note: Null pointer dereference goaccess-1.9.3/src/ui.c:705:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:704:19: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:704:19: note: Assignment 'tmp=xstrdup(s)', assigned value is 0 goaccess-1.9.3/src/ui.c:705:5: note: Null pointer dereference goaccess-1.9.3/src/ui.c:827:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:826:19: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:826:19: note: Assignment 'tmp=xstrdup(&s[pos>0?pos:0])', assigned value is 0 goaccess-1.9.3/src/ui.c:827:5: note: Null pointer dereference goaccess-1.9.3/src/ui.c:828:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:826:19: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:826:19: note: Assignment 'tmp=xstrdup(&s[pos>0?pos:0])', assigned value is 0 goaccess-1.9.3/src/ui.c:828:22: note: Null pointer dereference goaccess-1.9.3/src/ui.c:1102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.3/src/ui.c:1102:3: note: Null pointer dereference goaccess-1.9.3/src/ui.c:1103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.3/src/ui.c:1103:3: note: Null pointer dereference goaccess-1.9.3/src/ui.c:1104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.3/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.3/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.3/src/ui.c:1104:3: note: Null pointer dereference goaccess-1.9.3/src/ui.c:780:17: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] goaccess-1.9.3/src/ui.c:569:30: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:907:47: style: Parameter 'agents' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:925:42: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:1193:20: style: Parameter 'date_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:1193:39: style: Parameter 'log_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:1193:57: style: Parameter 'time_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/ui.c:850:14: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/ui.c:1004:19: style: Variable 'tdiff' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/ui.c:1004:29: style: Variable 'psec' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/util.c:273:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:381:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:535:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:583:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:680:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:764:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:803:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:967:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:991:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:1003:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/util.c:207:18: style: Redundant condition: The condition '*wc' is redundant since '*wc == '*'' is sufficient. [redundantCondition] goaccess-1.9.3/src/util.c:140:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:139:23: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:139:23: note: Assignment 'new=xmalloc(strlen(str)+1)', assigned value is 0 goaccess-1.9.3/src/util.c:140:11: note: Null pointer dereference goaccess-1.9.3/src/util.c:251:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:250:22: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:250:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.9.3/src/util.c:251:12: note: Null pointer dereference goaccess-1.9.3/src/util.c:252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:250:22: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:250:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.9.3/src/util.c:252:3: note: Null pointer dereference goaccess-1.9.3/src/util.c:295:5: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:294:20: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:294:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.3/src/util.c:295:5: note: Null pointer dereference goaccess-1.9.3/src/util.c:421:25: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:419:21: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:419:21: note: Assignment 'start=xstrdup(conf.ignore_ips[i])', assigned value is 0 goaccess-1.9.3/src/util.c:421:25: note: Null pointer dereference goaccess-1.9.3/src/util.c:522:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:521:18: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:521:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.9.3/src/util.c:522:13: note: Null pointer dereference goaccess-1.9.3/src/util.c:537:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:536:18: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:536:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.9.3/src/util.c:537:13: note: Null pointer dereference goaccess-1.9.3/src/util.c:899:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:897:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:897:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.9.3/src/util.c:899:15: note: Null pointer dereference goaccess-1.9.3/src/util.c:901:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:897:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:897:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.9.3/src/util.c:901:15: note: Null pointer dereference goaccess-1.9.3/src/util.c:922:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:920:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:920:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.9.3/src/util.c:922:15: note: Null pointer dereference goaccess-1.9.3/src/util.c:924:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:920:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:920:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.9.3/src/util.c:924:15: note: Null pointer dereference goaccess-1.9.3/src/util.c:1028:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:1027:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:1027:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.9.3/src/util.c:1028:11: note: Null pointer dereference goaccess-1.9.3/src/util.c:1029:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.9.3/src/util.c:1027:24: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:1027:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.9.3/src/util.c:1029:3: note: Null pointer dereference goaccess-1.9.3/src/util.c:297:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/util.c:294:20: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:294:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.3/src/util.c:297:29: note: Null pointer addition goaccess-1.9.3/src/util.c:739:37: style: Checking if unsigned expression 'strftime(res,size,to,&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.9.3/src/util.c:204:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/util.c:411:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/util.c:513:9: style: Variable 'user_home' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/util.c:655:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.9.3/src/util.c:986:16: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.3/src/util.c:656:25: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/util.c:662:18: style: Variable 'seconds' is assigned a value that is never used. [unreadVariable] goaccess-1.9.3/src/win/mmap.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_READONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/win/mmap.c:132:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/win/mmap.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/xmalloc.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/xmalloc.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/xmalloc.c:81:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.3/src/khash.h:444:27: warning: Null pointer dereference: s [ctunullpointer] goaccess-1.9.3/src/gkhash.c:757:20: note: Assuming allocation function fails goaccess-1.9.3/src/gkhash.c:757:20: note: Assignment 'dupkey=xstrdup(key)', assigned value is 0 goaccess-1.9.3/src/gkhash.c:758:7: note: Calling function kh_put_si32, 2nd argument is null goaccess-1.9.3/src/gkhash.h:61:1: note: Calling function __ac_X31_hash_string, 1st argument is null goaccess-1.9.3/src/khash.h:444:27: note: Dereferencing argument s that is null diff: head goaccess-1.9.3/src/gmenu.c:60:31: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:31: note: Null pointer dereference head goaccess-1.9.3/src/gmenu.c:60:40: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:40: note: Null pointer dereference head goaccess-1.9.3/src/gmenu.c:60:49: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:49: note: Null pointer dereference head goaccess-1.9.3/src/gmenu.c:60:58: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.3/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.3/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.3/src/gmenu.c:60:58: note: Null pointer dereference 2.17.0 goaccess-1.9.3/src/gstorage.c:813:13: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:813:13: note: Null pointer addition head goaccess-1.9.3/src/gstorage.c:813:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:813:13: note: Null pointer addition 2.17.0 goaccess-1.9.3/src/gstorage.c:861:15: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:861:15: note: Null pointer addition head goaccess-1.9.3/src/gstorage.c:861:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.3/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.3/src/gstorage.c:861:15: note: Null pointer addition 2.17.0 goaccess-1.9.3/src/settings.c:714:27: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/settings.c:711:17: note: Assuming allocation function fails goaccess-1.9.3/src/settings.c:711:17: note: Assignment 'buf=xcalloc(flen,sizeof(char))', assigned value is 0 goaccess-1.9.3/src/settings.c:714:27: note: Null pointer addition head goaccess-1.9.3/src/settings.c:714:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/settings.c:711:17: note: Assuming allocation function fails goaccess-1.9.3/src/settings.c:711:17: note: Assignment 'buf=xcalloc(flen,sizeof(char))', assigned value is 0 goaccess-1.9.3/src/settings.c:714:27: note: Null pointer addition 2.17.0 goaccess-1.9.3/src/util.c:297:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/util.c:294:20: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:294:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.3/src/util.c:297:29: note: Null pointer addition head goaccess-1.9.3/src/util.c:297:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.3/src/util.c:294:20: note: Assuming allocation function fails goaccess-1.9.3/src/util.c:294:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.3/src/util.c:297:29: note: Null pointer addition head goaccess-1.9.3/src/websocket.h:92:4: error: #error Platform not supported! [preprocessorErrorDirective] 2.17.0 goaccess-1.9.3/src/xmalloc.c:60:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.3/src/xmalloc.c:58:17: note: Assuming allocation function fails goaccess-1.9.3/src/xmalloc.c:58:17: note: Assignment 'ptr=xmalloc(len)', assigned value is 0 goaccess-1.9.3/src/xmalloc.c:60:12: note: Null pointer dereference DONE