2026-02-12 22:40 ftp://ftp.de.debian.org/debian/pool/main/g/goaccess/goaccess_1.9.4.orig.tar.xz 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-100-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: 052538e (2026-02-12 14:46:48 +0100) count: 754 740 elapsed-time: 45.2 47.0 head-timing-info: old-timing-info: head results: goaccess-1.9.4/src/base64.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] goaccess-1.9.4/src/base64.c:142:26: note: Assuming allocation function fails goaccess-1.9.4/src/base64.c:142:9: note: Assignment 'out=(char*)xmalloc(decoded_len+1)', assigned value is 0 goaccess-1.9.4/src/base64.c:160:3: note: Null pointer dereference goaccess-1.9.4/src/base64.c:96:19: style: Variable 'triple' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/bin2c.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/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.4/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.4/src/bin2c.c:23:9: style: Variable 'ident' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/bitmap.c:138:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/bitmap.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.9.4/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.9.4/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.9.4/src/bitmap.c:119:3: note: Null pointer dereference goaccess-1.9.4/src/bitmap.c:120:11: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.9.4/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.9.4/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.9.4/src/bitmap.c:120:11: note: Null pointer dereference goaccess-1.9.4/src/bitmap.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: bm [nullPointerOutOfMemory] goaccess-1.9.4/src/bitmap.c:116:24: note: Assuming allocation function fails goaccess-1.9.4/src/bitmap.c:116:24: note: Assignment 'bm=xcalloc(1,sizeof(struct bitmap))', assigned value is 0 goaccess-1.9.4/src/bitmap.c:121:3: note: Null pointer dereference goaccess-1.9.4/src/bitmap.c:60:25: style:inconclusive: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. [funcArgNamesDifferent] goaccess-1.9.4/src/bitmap.h:73:34: note: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. goaccess-1.9.4/src/bitmap.c:60:25: note: Function 'bitmap_sizeof' argument 1 names different: declaration 'nbits' definition 'i'. goaccess-1.9.4/src/bitmap.c:77:25: style: Parameter 'words' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/browsers.c:356:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/browsers.c:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/browsers.c:566:34: style:inconclusive: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. [funcArgNamesDifferent] goaccess-1.9.4/src/browsers.h:43:40: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.9.4/src/browsers.c:566:34: note: Function 'verify_browser' argument 2 names different: declaration 'browser_type' definition 'type'. goaccess-1.9.4/src/browsers.c:441:20: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/browsers.c:454:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/browsers.c:454:33: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/color.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_WHITE [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:438:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:473:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:618:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:659:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:775:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:801:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/color.c:679:39: style: Condition 'parse_module_color(color,val)==1' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/color.c:679:26: note: Calling function 'parse_module_color' returns 0 goaccess-1.9.4/src/color.c:679:39: note: Condition 'parse_module_color(color,val)==1' is always false goaccess-1.9.4/src/color.c:308:3: warning: If memory allocation fails, then there is a possible null pointer dereference: color [nullPointerOutOfMemory] goaccess-1.9.4/src/color.c:307:28: note: Assuming allocation function fails goaccess-1.9.4/src/color.c:307:28: note: Assignment 'color=xcalloc(1,sizeof(struct GColors))', assigned value is 0 goaccess-1.9.4/src/color.c:308:3: note: Null pointer dereference goaccess-1.9.4/src/color.c:319:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pair [nullPointerOutOfMemory] goaccess-1.9.4/src/color.c:316:30: note: Assuming allocation function fails goaccess-1.9.4/src/color.c:316:30: note: Assignment 'pair=xcalloc(1,sizeof(struct GColorPair))', assigned value is 0 goaccess-1.9.4/src/color.c:319:3: note: Null pointer dereference goaccess-1.9.4/src/color.c:497:19: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/color.c:495:18: note: Assuming allocation function fails goaccess-1.9.4/src/color.c:495:18: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.9.4/src/color.c:497:19: note: Null pointer dereference goaccess-1.9.4/src/color.c:527:16: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/color.c:525:24: note: Assuming allocation function fails goaccess-1.9.4/src/color.c:525:24: note: Assignment 'line=xstrdup(value)', assigned value is 0 goaccess-1.9.4/src/color.c:527:16: note: Null pointer dereference goaccess-1.9.4/src/color.c:763:17: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/color.c:761:19: note: Assuming allocation function fails goaccess-1.9.4/src/color.c:761:19: note: Assignment 'line=strdup(colors[i])', assigned value is 0 goaccess-1.9.4/src/color.c:763:17: note: Null pointer dereference goaccess-1.9.4/src/color.c:492:22: style: Variable 'start' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:525:34: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:549:12: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:550:12: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:566:15: style: Variable 'new_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:567:15: style: Variable 'old_color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:583:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:595:12: style: Variable 'color' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/color.c:596:12: style: Variable 'item' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/commons.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/commons.c:144:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/commons.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/commons.c:235:11: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.4/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.4/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.4/src/commons.c:235:11: note: Null pointer dereference goaccess-1.9.4/src/commons.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.4/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.4/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.4/src/commons.c:237:3: note: Null pointer dereference goaccess-1.9.4/src/commons.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.4/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.4/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.4/src/commons.c:238:3: note: Null pointer dereference goaccess-1.9.4/src/commons.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: agents [nullPointerOutOfMemory] goaccess-1.9.4/src/commons.c:234:29: note: Assuming allocation function fails goaccess-1.9.4/src/commons.c:234:29: note: Assignment 'agents=xmalloc(sizeof(struct GAgents))', assigned value is 0 goaccess-1.9.4/src/commons.c:239:3: note: Null pointer dereference goaccess-1.9.4/src/commons.c:501:17: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] goaccess-1.9.4/src/commons.c:489:23: note: Assuming allocation function fails goaccess-1.9.4/src/commons.c:489:23: note: Assignment 'str=xstrdup("")', assigned value is 0 goaccess-1.9.4/src/commons.c:492:17: note: Assuming condition is false goaccess-1.9.4/src/commons.c:501:17: note: Null pointer dereference goaccess-1.9.4/src/csv.c:300:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/csv.c:233:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:238:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:242:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:252:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:256:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:260:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:264:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:268:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:272:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:280:3: warning: fprintf format string requires 2 parameters but 4 are given. [wrongPrintfScanfArgNum] goaccess-1.9.4/src/csv.c:105:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/error.c:144:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESETHAND [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/error.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/error.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/error.c:59:27: style:inconclusive: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. [funcArgNamesDifferent] goaccess-1.9.4/src/error.h:86:32: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.9.4/src/error.c:59:27: note: Function 'dbg_log_open' argument 1 names different: declaration 'file' definition 'path'. goaccess-1.9.4/src/error.c:151:35: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdashboard.c:1156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdashboard.c:1236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdashboard.c:1311:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdashboard.c:74:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.9.4/src/gdashboard.c:73:25: note: Assuming allocation function fails goaccess-1.9.4/src/gdashboard.c:73:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.9.4/src/gdashboard.c:74:11: note: Null pointer dereference goaccess-1.9.4/src/gdashboard.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dash [nullPointerOutOfMemory] goaccess-1.9.4/src/gdashboard.c:73:25: note: Assuming allocation function fails goaccess-1.9.4/src/gdashboard.c:73:25: note: Assignment 'dash=xmalloc(sizeof(struct GDash))', assigned value is 0 goaccess-1.9.4/src/gdashboard.c:75:3: note: Null pointer dereference goaccess-1.9.4/src/gdashboard.c:533:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/gdashboard.c:528:15: note: Assuming allocation function fails goaccess-1.9.4/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.4/src/gdashboard.c:533:49: note: Null pointer dereference goaccess-1.9.4/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.4/src/gdashboard.h:126:44: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:200:39: note: Function 'set_module_from_mouse_event' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1105:53: style:inconclusive: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.4/src/gdashboard.h:128:61: note: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1105:53: note: Function 'display_content' argument 3 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1135:32: style:inconclusive: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.4/src/gdashboard.h:132:38: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1135:32: note: Function 'reset_scroll_offsets' argument 1 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1228:41: style:inconclusive: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.4/src/gdashboard.h:124:47: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1228:41: note: Function 'perform_next_find' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1304:48: style:inconclusive: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.4/src/gdashboard.h:125:54: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1304:48: note: Function 'render_find_dialog' argument 2 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1411:70: style:inconclusive: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. [funcArgNamesDifferent] goaccess-1.9.4/src/gdashboard.h:130:78: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:1411:70: note: Function 'load_data_to_dash' argument 4 names different: declaration 'scroll' definition 'gscroll'. goaccess-1.9.4/src/gdashboard.c:134:33: style: Parameter 'dash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:283:46: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:298:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:313:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:328:56: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:343:45: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:358:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:378:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:398:48: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:418:49: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:438:51: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:458:47: style: Parameter 'idata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:494:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:521:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:539:27: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1019:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1019:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1063:62: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1196:50: style: Parameter 'regex' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1197:13: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gdashboard.c:1232:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gdashboard.c:1411:29: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1411:70: style: Parameter 'gscroll' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdashboard.c:1107:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gdashboard.c:1110:21: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gdns.c:212:30: debug: Function::addArguments found argument 'ptr_data' with varid 0. [varid0] goaccess-1.9.4/src/gdns.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NI_NAMEREQD [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdns.c:186:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdns.c:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdns.c:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gdns.c:234:25: style: Condition 'active_gdns' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/gdns.c:75:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdns.c:83:26: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdns.c:91:25: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdns.c:175:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gdns.c:198:21: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/geoip1.c:84:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEOIP_MEMORY_CACHE [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip1.c:178:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip1.c:454:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/geoip1.c:487:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/geoip1.c:506:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/geoip1.c:539:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/geoip1.c:558:13: style: Variable 'ipv6' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/geoip2.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_MODE_MMAP [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip2.c:129:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable database_type [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip2.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip2.c:295:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/geoip2.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MMDB_SUCCESS [valueFlowBailoutIncompleteVar] goaccess-1.9.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/src/geoip2.c:325:18: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gholder.c:205:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gholder.c:228:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gholder.c:513:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET_ADDRSTRLEN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/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.4/src/gholder.c:411:7: note: first condition goaccess-1.9.4/src/gholder.c:413:14: note: else if condition is opposite to first condition goaccess-1.9.4/src/gholder.c:110:11: warning: If memory allocation fails, then there is a possible null pointer dereference: holder [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:109:29: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:109:29: note: Assignment 'holder=xmalloc(size*sizeof(struct GHolder))', assigned value is 0 goaccess-1.9.4/src/gholder.c:110:11: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:131:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.4/src/gholder.c:131:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:132:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.4/src/gholder.c:132:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_list [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:130:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:130:32: note: Assignment 'sub_list=xmalloc(sizeof(struct GSubList))', assigned value is 0 goaccess-1.9.4/src/gholder.c:133:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.4/src/gholder.c:145:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:146:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.4/src/gholder.c:146:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:147:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.4/src/gholder.c:147:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:148:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sub_item [nullPointerOutOfMemory] goaccess-1.9.4/src/gholder.c:143:32: note: Assuming allocation function fails goaccess-1.9.4/src/gholder.c:143:32: note: Assignment 'sub_item=xmalloc(sizeof(struct GSubItem))', assigned value is 0 goaccess-1.9.4/src/gholder.c:148:3: note: Null pointer dereference goaccess-1.9.4/src/gholder.c:242:34: style: Parameter 'holder' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gholder.c:316:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gholder.c:502:69: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/khash.h:444:27: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/gkhash.c:1040:22: note: Assuming allocation function fails goaccess-1.9.4/src/gkhash.c:1040:22: note: Assignment 'dupkey=xstrdup(key)', assigned value is 0 goaccess-1.9.4/src/gkhash.c:1041:9: note: Calling function 'kh_put_su64', 2nd argument 'dupkey' value is 0 goaccess-1.9.4/src/gkhash.h:73:1: note: Calling function '__ac_X31_hash_string', 1st argument 'key' value is 0 goaccess-1.9.4/src/khash.h:444:27: note: Null pointer dereference goaccess-1.9.4/src/gkhash.c:691:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dates [nullPointerOutOfMemory] goaccess-1.9.4/src/gkhash.c:687:19: note: Assuming allocation function fails goaccess-1.9.4/src/gkhash.c:687:19: note: Assignment 'dates=xcalloc(size,sizeof(uint32_t))', assigned value is 0 goaccess-1.9.4/src/gkhash.c:691:10: note: Null pointer dereference goaccess-1.9.4/src/gkhash.c:596:9: style: Variable 'db' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkhash.c:1253:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkhash.c:1255:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkhash.c:1273:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkhash.c:1275:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkhash.c:1313:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkhash.c:1333:27: style: Parameter 'hash' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkhash.c:1542:56: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkhash.c:1542:67: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkmhash.c:322:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:324:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:394:59: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gkmhash.c:765:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:778:20: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:794:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:940:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:962:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1009:20: style: Variable 'dates' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1160:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1188:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1210:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1221:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1235:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1253:20: style: Variable 'kmap' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1255:20: style: Variable 'rmap' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:1292:20: style: Variable 'hash' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/gkmhash.c:270:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gmenu.c:48:11: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:48:11: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:49:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:50:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:51:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:52:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:53:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:54:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:56:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:57:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:58:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:58:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:59:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:60:3: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:60:31: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:60:31: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:60:40: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:60:40: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:60:49: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:60:49: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:60:58: warning: If memory allocation fails, then there is a possible null pointer dereference: menu [nullPointerOutOfMemory] goaccess-1.9.4/src/gmenu.c:46:25: note: Assuming allocation function fails goaccess-1.9.4/src/gmenu.c:46:25: note: Assignment 'menu=xmalloc(sizeof(struct GMenu))', assigned value is 0 goaccess-1.9.4/src/gmenu.c:60:58: note: Null pointer dereference goaccess-1.9.4/src/gmenu.c:67:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gmenu.c:89:56: style: Variable 'checked' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/goaccess.c:217:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:259:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:284:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:389:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:400:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:448:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:539:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:563:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:809:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:854:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:909:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:979:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1014:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1030:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1334:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1366:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1375:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1444:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1469:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1485:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1514:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:1605:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/goaccess.c:232:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] goaccess-1.9.4/src/goaccess.c:1357:42: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.9.4/src/goaccess.c:1358:44: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.9.4/src/goaccess.c:1359:45: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] goaccess-1.9.4/src/goaccess.c:491:36: style: Condition 'scrll>=offset+exp_size' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/goaccess.c:491:15: note: Assuming that condition 'scrll>=exp_size' is not redundant goaccess-1.9.4/src/goaccess.c:491:36: note: Condition 'scrll>=offset+exp_size' is always true goaccess-1.9.4/src/goaccess.c:1552:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/goaccess.c:1551:18: note: Assuming allocation function fails goaccess-1.9.4/src/goaccess.c:1551:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.9.4/src/goaccess.c:1552:13: note: Null pointer dereference goaccess-1.9.4/src/goaccess.c:1332:9: style: Variable 'loc_ctype' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/goaccess.c:485:13: style: Variable 'scrll' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/goaccess.c:897:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/goaccess.c:897:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/goaccess.c:1003:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/goaccess.c:1024:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gslist.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.9.4/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.9.4/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.9.4/src/gslist.c:46:3: note: Null pointer dereference goaccess-1.9.4/src/gslist.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] goaccess-1.9.4/src/gslist.c:45:27: note: Assuming allocation function fails goaccess-1.9.4/src/gslist.c:45:27: note: Assignment 'node=xmalloc(sizeof(struct GSLList))', assigned value is 0 goaccess-1.9.4/src/gslist.c:47:3: note: Null pointer dereference goaccess-1.9.4/src/gslist.c:166:22: style:inconclusive: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. [funcArgNamesDifferent] goaccess-1.9.4/src/gslist.h:53:27: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.9.4/src/gslist.c:166:22: note: Function 'list_count' argument 1 names different: declaration 'list' definition 'node'. goaccess-1.9.4/src/gslist.c:95:21: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gslist.c:131:44: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gslist.c:166:22: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gstorage.c:1392:89: style: Condition '(logitem->status/100)==4' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/gstorage.c:1392:51: note: Assuming that condition '(logitem->status/100)!=4' is not redundant goaccess-1.9.4/src/gstorage.c:1392:89: note: Condition '(logitem->status/100)==4' is always true goaccess-1.9.4/src/gstorage.c:481:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:480:27: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:480:27: note: Assignment 'ptr=xmalloc(sizeof(uint32_t))', assigned value is 0 goaccess-1.9.4/src/gstorage.c:481:4: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:492:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:491:27: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:491:27: note: Assignment 'ptr=xmalloc(sizeof(uint64_t))', assigned value is 0 goaccess-1.9.4/src/gstorage.c:492:4: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:779:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:777:17: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:777:17: note: Assignment 'key=xcalloc(s1+s2+s3+nul,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/gstorage.c:779:11: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:810:11: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:810:11: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:812:5: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:812:5: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:848:48: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:847:18: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:847:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:848:48: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:850:54: warning: If memory allocation fails, then there is a possible null pointer dereference: tkey [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:847:18: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:847:18: note: Assignment 'tkey=xstrdup(ftime)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:850:54: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:860:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.4/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:860:11: note: Null pointer dereference goaccess-1.9.4/src/gstorage.c:813:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/gstorage.c:809:15: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:809:15: note: Assignment 'r=xmalloc(s1+s2+qm+1)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:813:13: note: Null pointer addition goaccess-1.9.4/src/gstorage.c:861:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/gstorage.c:859:17: note: Assuming allocation function fails goaccess-1.9.4/src/gstorage.c:859:17: note: Assignment 'key=xmalloc(dlen+tlen+1)', assigned value is 0 goaccess-1.9.4/src/gstorage.c:861:15: note: Null pointer addition goaccess-1.9.4/src/gstorage.c:561:38: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gstorage.c:630:24: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/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.4/src/gstorage.c:377:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:660:40: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:670:43: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/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.4/src/gstorage.c:378:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:677:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:684:40: style: Parameter 'kdata' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/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.4/src/gstorage.c:379:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:691:39: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:380:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:699:43: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:381:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:707:38: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:382:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:715:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:383:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:723:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:210:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:729:42: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:211:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:736:44: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:199:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:743:41: note: Parameter 'kdata' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:755:31: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/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.4/src/gstorage.c:324:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:954:43: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:337:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:970:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:350:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:986:50: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/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.4/src/gstorage.c:189:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1002:42: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1042: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.4/src/gstorage.c:215:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1042:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1065: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.4/src/gstorage.c:202:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1065:40: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1114: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.4/src/gstorage.c:363:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1114:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1203: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.4/src/gstorage.c:228:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1203:45: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1219: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.4/src/gstorage.c:241:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1219:46: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1235: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.4/src/gstorage.c:254:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1235:47: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1320: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.4/src/gstorage.c:298:5: note: You might need to cast the function pointer here goaccess-1.9.4/src/gstorage.c:1320:49: note: Parameter 'logitem' can be declared as pointer to const goaccess-1.9.4/src/gstorage.c:1342:51: style: Parameter 'ftime' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gstorage.c:1389:25: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/gstorage.c:844:34: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gwsocket.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:165:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:234:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:404:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:419:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:430:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:449:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:484:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:523:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/gwsocket.c:56:11: warning: If memory allocation fails, then there is a possible null pointer dereference: reader [nullPointerOutOfMemory] goaccess-1.9.4/src/gwsocket.c:55:31: note: Assuming allocation function fails goaccess-1.9.4/src/gwsocket.c:55:31: note: Assignment 'reader=xmalloc(sizeof(struct GWSReader))', assigned value is 0 goaccess-1.9.4/src/gwsocket.c:56:11: note: Null pointer dereference goaccess-1.9.4/src/gwsocket.c:67:11: warning: If memory allocation fails, then there is a possible null pointer dereference: writer [nullPointerOutOfMemory] goaccess-1.9.4/src/gwsocket.c:66:31: note: Assuming allocation function fails goaccess-1.9.4/src/gwsocket.c:66:31: note: Assignment 'writer=xmalloc(sizeof(struct GWSWriter))', assigned value is 0 goaccess-1.9.4/src/gwsocket.c:67:11: note: Null pointer dereference goaccess-1.9.4/src/gwsocket.c:202:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.9.4/src/gwsocket.c:201:21: note: Assuming allocation function fails goaccess-1.9.4/src/gwsocket.c:201:21: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.9.4/src/gwsocket.c:202:6: note: Null pointer dereference goaccess-1.9.4/src/gwsocket.c:534:24: style: Redundant pointer operation on 'thread' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/gwsocket.c:540:24: style: Redundant pointer operation on 'thread' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/gwsocket.c:78:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gwsocket.c:122:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gwsocket.c:144:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gwsocket.c:198:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/gwsocket.c:234:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/json.c:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/json.c:182:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/json.c:1171:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/json.c:135:22: style:inconclusive: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. [funcArgNamesDifferent] goaccess-1.9.4/src/json.h:51:27: note: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. goaccess-1.9.4/src/json.c:135:22: note: Function 'set_json_nlines' argument 1 names different: declaration 'nl' definition 'newline'. goaccess-1.9.4/src/json.c:443:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:567:31: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:584:35: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:601:29: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:621:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:629:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:637:32: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:645:33: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:654:35: style: Parameter 'nmetrics' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:804:41: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/json.c:910:48: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/options.c:663:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/options.c:1034:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/options.c:1080:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/options.c:1034:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/options.c:1033:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.9.4/src/options.c:1034:12: note: Condition '-1==o' is always false goaccess-1.9.4/src/options.c:1080:12: style: Condition '-1==o' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/options.c:1079:73: note: Assuming that condition '(o=getopt_long(argc,argv,short_options,long_opts,&idx))>=0' is not redundant goaccess-1.9.4/src/options.c:1080:12: note: Condition '-1==o' is always false goaccess-1.9.4/src/output.c:1285:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/output.c:1303:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/output.c:1269:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/output.c:1267:18: note: Assuming allocation function fails goaccess-1.9.4/src/output.c:1267:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.4/src/output.c:1269:3: note: Null pointer dereference goaccess-1.9.4/src/output.c:1269:36: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] goaccess-1.9.4/src/output.c:1268:19: note: Assuming allocation function fails goaccess-1.9.4/src/output.c:1268:19: note: Assignment 'fname=xstrdup(basename(path))', assigned value is 0 goaccess-1.9.4/src/output.c:1269:36: note: Null pointer dereference goaccess-1.9.4/src/output.c:1271:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/output.c:1267:18: note: Assuming allocation function fails goaccess-1.9.4/src/output.c:1267:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.4/src/output.c:1271:43: note: Null pointer dereference goaccess-1.9.4/src/output.c:1272:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/output.c:1267:18: note: Assuming allocation function fails goaccess-1.9.4/src/output.c:1267:18: note: Assignment 'path=xstrdup(filename)', assigned value is 0 goaccess-1.9.4/src/output.c:1272:23: note: Null pointer dereference goaccess-1.9.4/src/output.c:361:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/output.c:372:14: style: Variable 'def' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/output.c:386:21: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:208:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:855:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:972:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:1633:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2091:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2314:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2339:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2385:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2431:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/parser.c:2067:20: style: Redundant condition: job->test. '!job->test || (job->test && job->cnttest || job->cntglog [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:198:26: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:198:26: note: Assignment 'logs->glog=xcalloc(1,sizeof(*glog))', assigned value is 0 goaccess-1.9.4/src/parser.c:199:29: note: Null pointer dereference goaccess-1.9.4/src/parser.c:257:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:257:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:259:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:259:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:260:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:260:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:261:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:262:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:262:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:263:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:263:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:264:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:264:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:265:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:265:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:266:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:267:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:267:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:268:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:269:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:269:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:270:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:270:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:271:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:272:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:272:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:273:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:273:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:274:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:274:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:275:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:275:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:276:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:276:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:277:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:277:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:278:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:278:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:279:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:279:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:280:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:280:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:281:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:282:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:282:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:283:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:283:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:284:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:284:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:287:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:287:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:288:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:288:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:289:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:289:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:290:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:290:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:292:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:292:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:293:11: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:293:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:294:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logitem [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:256:21: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:256:21: note: Assignment 'logitem=xmalloc(sizeof(struct GLogItem))', assigned value is 0 goaccess-1.9.4/src/parser.c:294:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:452:24: warning: If memory allocation fails, then there is a possible null pointer dereference: url [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:451:16: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:451:16: note: Assignment 'url=strdup(referer)', assigned value is 0 goaccess-1.9.4/src/parser.c:452:24: note: Null pointer dereference goaccess-1.9.4/src/parser.c:590:14: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:589:23: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:589:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:590:14: note: Null pointer dereference goaccess-1.9.4/src/parser.c:591:5: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:589:23: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:589:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:591:5: note: Null pointer dereference goaccess-1.9.4/src/parser.c:696:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:695:15: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:695:15: note: Assignment 'p=xmalloc(len)', assigned value is 0 goaccess-1.9.4/src/parser.c:696:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:697:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:695:15: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:695:15: note: Assignment 'p=xmalloc(len)', assigned value is 0 goaccess-1.9.4/src/parser.c:697:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:885:11: warning: If memory allocation fails, then there is a possible null pointer dereference: temp [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:885:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:897:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:894:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.9.4/src/parser.c:897:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:899:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:894:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.9.4/src/parser.c:899:13: note: Null pointer dereference goaccess-1.9.4/src/parser.c:901:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:894:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.9.4/src/parser.c:901:10: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1424:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:1423:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1423:17: note: Assignment 'ret=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:1424:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1425:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:1423:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1423:17: note: Assignment 'ret=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:1425:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1777:11: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:1775:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1775:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/parser.c:1777:11: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1779:3: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:1775:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1775:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/parser.c:1779:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1782:3: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:1775:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1775:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/parser.c:1782:3: note: Null pointer dereference goaccess-1.9.4/src/parser.c:2479:5: warning: If memory allocation fails, then there is a possible null pointer dereference: errors [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:2476:20: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:2476:20: note: Assignment 'errors=xcalloc(glog->log_erridx,sizeof(char*))', assigned value is 0 goaccess-1.9.4/src/parser.c:2479:5: note: Null pointer dereference goaccess-1.9.4/src/parser.c:1780:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/parser.c:1775:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1775:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/parser.c:1780:15: note: Null pointer addition goaccess-1.9.4/src/parser.c:1783:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/parser.c:1775:17: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:1775:17: note: Assignment 'key=xcalloc(s1+s2+s3+3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/parser.c:1783:15: note: Null pointer addition goaccess-1.9.4/src/parser.c:2384:22: style: Variable 'fp' is reassigned a value before the old one has been used. [redundantAssignment] goaccess-1.9.4/src/parser.c:2379:8: note: fp is assigned goaccess-1.9.4/src/parser.c:2384:22: note: fp is overwritten goaccess-1.9.4/src/parser.c:777:59: style: Checking if unsigned expression 'strftime(buf,10+1,conf.date_num_format,&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.9.4/src/parser.c:793:49: style: Checking if unsigned expression 'strftime(buf,8+1,"%H:%M:%S",&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.9.4/src/parser.c:735:24: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:991:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1008:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1024:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1042:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1051:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1060:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1076:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1097:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1114:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1131:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1148:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1165:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1175:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1191:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1206:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1232:25: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1257:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1276:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1298:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1315:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1334:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1357:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1368:31: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1381:17: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:1501:35: style: Redundant pointer operation on 'str' - it's already a pointer. [redundantPointerOp] goaccess-1.9.4/src/parser.c:187:9: style: Variable 'glog' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:254:22: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:390:19: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:445:23: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:569:9: style: Variable 'req' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:569:53: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:867:9: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:967:9: style: Variable 'pch' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:1598:19: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1612:22: style: Parameter 'req' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1625:9: style: Variable 'glog' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:1724:19: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1766:33: style: Parameter 'logitem' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1795:27: style: Parameter 'glog' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1901:45: style: Parameter 'key' can be declared as pointer to const. However it seems that 'parse_json_specifier' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.9.4/src/parser.c:1922:43: note: You might need to cast the function pointer here goaccess-1.9.4/src/parser.c:1901:45: note: Parameter 'key' can be declared as pointer to const goaccess-1.9.4/src/parser.c:1901:56: style: Parameter 'str' can be declared as pointer to const. However it seems that 'parse_json_specifier' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] goaccess-1.9.4/src/parser.c:1922:43: note: You might need to cast the function pointer here goaccess-1.9.4/src/parser.c:1901:56: note: Parameter 'str' can be declared as pointer to const goaccess-1.9.4/src/parser.c:1921:45: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/parser.c:1960:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/parser.c:133:14: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:188:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:207:14: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:1439:27: style: Variable 'len' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:2140:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:2142:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:2200:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:2202:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/parser.c:2226:16: style: Variable 'k' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/pdjson.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:305:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:498:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:708:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/pdjson.c:389:12: style: Condition '0x80<=u' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/pdjson.c:386:9: note: Assuming that condition 'u<0x80' is not redundant goaccess-1.9.4/src/pdjson.c:389:12: note: Condition '0x80<=u' is always true goaccess-1.9.4/src/pdjson.c:956:45: style:inconclusive: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. [funcArgNamesDifferent] goaccess-1.9.4/src/pdjson.h:45:68: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.9.4/src/pdjson.c:956:45: note: Function 'json_set_streaming' argument 2 names different: declaration 'mode' definition 'streaming'. goaccess-1.9.4/src/pdjson.c:674:18: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.9.4/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.9.4/src/pdjson.c:674:18: note: Shadow variable goaccess-1.9.4/src/pdjson.c:689:20: style: Local variable 'next' shadows outer function [shadowFunction] goaccess-1.9.4/src/pdjson.c:625:1: note: Shadowed declaration goaccess-1.9.4/src/pdjson.c:689:20: note: Shadow variable goaccess-1.9.4/src/pdjson.c:857:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] goaccess-1.9.4/src/pdjson.c:851:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/pdjson.c:861:31: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/pdjson.c:871:30: style: Parameter 'json' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/pdjson.c:951:56: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/persistence.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/persistence.c:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/persistence.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/persistence.c:964:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/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.4/src/persistence.c:1091:11: note: Assuming that condition 'len<0' is not redundant goaccess-1.9.4/src/persistence.c:1093:25: note: Assignment 'persisted_dates_len=len', assigned value is 0 goaccess-1.9.4/src/persistence.c:1094:30: note: Invalid argument goaccess-1.9.4/src/persistence.c:343:38: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/persistence.c:440:20: style: Variable 'mtpr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/persistence.c:941:20: style: Variable 'db_props' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/persistence.c:286:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:317:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:379:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:443:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:481:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:543:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:573:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:657:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:715:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:773:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/persistence.c:832:21: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/settings.c:143:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/settings.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/settings.c:881:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/settings.c:844:70: style: Condition 'ctx!=JSON_ARRAY' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/settings.c:846:13: style: Condition '!key' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/settings.c:576:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pr [nullPointerOutOfMemory] goaccess-1.9.4/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.4/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.4/src/settings.c:576:11: note: Null pointer dereference goaccess-1.9.4/src/settings.c:577:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pr++ [nullPointerOutOfMemory] goaccess-1.9.4/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.4/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.4/src/settings.c:577:14: note: Null pointer dereference goaccess-1.9.4/src/settings.c:577:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.4/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.4/src/settings.c:577:14: note: Null pointer addition goaccess-1.9.4/src/settings.c:715:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/settings.c:712:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:712:17: note: Assignment 'buf=xcalloc(flen,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/settings.c:715:27: note: Null pointer addition goaccess-1.9.4/src/settings.c:781:26: style:inconclusive: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. [funcArgNamesDifferent] goaccess-1.9.4/src/settings.h:243:30: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.9.4/src/settings.c:781:26: note: Function 'parse_json_string' argument 1 names different: declaration 'userdata' definition 'ptr_data'. goaccess-1.9.4/src/settings.c:901:34: style:inconclusive: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.4/src/settings.h:245:39: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:901:34: note: Function 'set_date_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:928:34: style:inconclusive: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.4/src/settings.h:248:39: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:928:34: note: Function 'set_time_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:972:33: style:inconclusive: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. [funcArgNamesDifferent] goaccess-1.9.4/src/settings.h:246:38: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:972:33: note: Function 'set_log_format_str' argument 1 names different: declaration 'optarg' definition 'oarg'. goaccess-1.9.4/src/settings.c:684:12: style: Variable 'buflen' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:54:13: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] goaccess-1.9.4/src/sha1.c:159:5: style: Variable 'a' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:159:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:159:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:159:17: style: Variable 'd' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:159:21: style: Variable 'e' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:221:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/sha1.c:221:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/tpl.c:262:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:411:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:621:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:641:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:739:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:847:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pidx [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:864:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:888:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:894:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_fxlens [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1059:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1185:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sz [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1259:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1630:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1693:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1779:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1878:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1910:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:1949:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:2118:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:2264:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:2409:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:2479:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/tpl.c:2137:39: style: Checking if unsigned expression '((struct tpl_atyp*)(n->data))->num' is less than zero. [unsignedLessThanZero] goaccess-1.9.4/src/tpl.c:1907:46: style:inconclusive: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. [funcArgNamesDifferent] goaccess-1.9.4/src/tpl.c:185:58: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.9.4/src/tpl.c:1907:46: note: Function 'tpl_mmap_file' argument 2 names different: declaration 'map_rec' definition 'mr'. goaccess-1.9.4/src/tpl.c:294:13: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:336:13: style: Variable 'peek' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:336:41: style: Variable 'struct_next' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:906:9: style: Variable 'datav' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1147:8: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1149:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1191:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1237:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1254:56: style: Variable 'fxlens' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1256:20: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1256:29: style: Variable 'mapfmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1352:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1373:47: style: Variable 'datapeek_c' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1378:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1700:9: style: Variable 'dv' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:2013:15: style: Variable 'caddr' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/tpl.c:1293:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/tpl.c:1606:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/tpl.c:2359:16: style: Unused variable: sz [unusedVariable] goaccess-1.9.4/src/tpl.c:2360:23: style: Unused variable: data [unusedVariable] goaccess-1.9.4/src/ui.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:176:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_END [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:394:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:527:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:589:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:739:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:858:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:937:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1014:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_END [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1069:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1083:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1090:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1103:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPN_RUN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1317:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1551:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1571:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1647:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/ui.c:1884:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/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.4/src/ui.c:766:11: note: first condition goaccess-1.9.4/src/ui.c:768:16: note: else if condition is opposite to first condition goaccess-1.9.4/src/ui.c:573:50: style: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/ui.c:573:50: note: Calling function 'get_start_end_parsing_dates' returns 0 goaccess-1.9.4/src/ui.c:573:50: note: Condition 'get_start_end_parsing_dates(&start,&end,"%d/%b/%Y")' is always false goaccess-1.9.4/src/ui.c:402:43: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: lbl [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:396:23: note: Assuming allocation function fails goaccess-1.9.4/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.4/src/ui.c:402:43: note: Null pointer dereference goaccess-1.9.4/src/ui.c:694:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:694:5: note: Null pointer dereference goaccess-1.9.4/src/ui.c:699:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:699:11: note: Null pointer dereference goaccess-1.9.4/src/ui.c:700:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:700:3: note: Null pointer dereference goaccess-1.9.4/src/ui.c:703:15: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:703:15: note: Null pointer dereference goaccess-1.9.4/src/ui.c:705:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:704:19: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:704:19: note: Assignment 'tmp=xstrdup(s)', assigned value is 0 goaccess-1.9.4/src/ui.c:705:5: note: Null pointer dereference goaccess-1.9.4/src/ui.c:827:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:826:19: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:826:19: note: Assignment 'tmp=xstrdup(&s[pos>0?pos:0])', assigned value is 0 goaccess-1.9.4/src/ui.c:827:5: note: Null pointer dereference goaccess-1.9.4/src/ui.c:828:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:826:19: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:826:19: note: Assignment 'tmp=xstrdup(&s[pos>0?pos:0])', assigned value is 0 goaccess-1.9.4/src/ui.c:828:22: note: Null pointer dereference goaccess-1.9.4/src/ui.c:1102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.4/src/ui.c:1102:3: note: Null pointer dereference goaccess-1.9.4/src/ui.c:1103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.4/src/ui.c:1103:3: note: Null pointer dereference goaccess-1.9.4/src/ui.c:1104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: spinner [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:1101:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:1101:21: note: Assignment 'spinner=xcalloc(1,sizeof(struct GSpinner))', assigned value is 0 goaccess-1.9.4/src/ui.c:1104:3: note: Null pointer dereference goaccess-1.9.4/src/ui.c:780:17: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] goaccess-1.9.4/src/ui.c:569:30: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:907:47: style: Parameter 'agents' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:925:42: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:1193:20: style: Parameter 'date_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:1193:39: style: Parameter 'log_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:1193:57: style: Parameter 'time_format' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/ui.c:850:14: style: Variable 'newlen' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/ui.c:1004:19: style: Variable 'tdiff' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/ui.c:1004:29: style: Variable 'psec' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/util.c:276:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:384:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:538:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:586:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:683:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:767:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:806:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:1017:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:1029:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:1254:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/util.c:210:18: style: Redundant condition: The condition '*wc' is redundant since '*wc == '*'' is sufficient. [redundantCondition] goaccess-1.9.4/src/util.c:143:11: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:142:23: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:142:23: note: Assignment 'new=xmalloc(strlen(str)+1)', assigned value is 0 goaccess-1.9.4/src/util.c:143:11: note: Null pointer dereference goaccess-1.9.4/src/util.c:254:12: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:253:22: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:253:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.9.4/src/util.c:254:12: note: Null pointer dereference goaccess-1.9.4/src/util.c:255:3: warning: If memory allocation fails, then there is a possible null pointer dereference: hostname [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:253:22: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:253:22: note: Assignment 'hostname=xmalloc(end-start+1)', assigned value is 0 goaccess-1.9.4/src/util.c:255:3: note: Null pointer dereference goaccess-1.9.4/src/util.c:298:5: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:297:20: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:297:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.4/src/util.c:298:5: note: Null pointer dereference goaccess-1.9.4/src/util.c:424:25: warning: If memory allocation fails, then there is a possible null pointer dereference: start [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:422:21: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:422:21: note: Assignment 'start=xstrdup(conf.ignore_ips[i])', assigned value is 0 goaccess-1.9.4/src/util.c:424:25: note: Null pointer dereference goaccess-1.9.4/src/util.c:525:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:524:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:524:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.9.4/src/util.c:525:13: note: Null pointer dereference goaccess-1.9.4/src/util.c:540:13: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:539:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:539:18: note: Assignment 'path=xmalloc(len)', assigned value is 0 goaccess-1.9.4/src/util.c:540:13: note: Null pointer dereference goaccess-1.9.4/src/util.c:902:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:900:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:900:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.9.4/src/util.c:902:15: note: Null pointer dereference goaccess-1.9.4/src/util.c:904:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:900:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:900:24: note: Assignment 'size=xmalloc(sizeof(char)*12)', assigned value is 0 goaccess-1.9.4/src/util.c:904:15: note: Null pointer dereference goaccess-1.9.4/src/util.c:925:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:923:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:923:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.9.4/src/util.c:925:15: note: Null pointer dereference goaccess-1.9.4/src/util.c:927:15: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:923:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:923:24: note: Assignment 'size=xmalloc(sizeof(char)*11)', assigned value is 0 goaccess-1.9.4/src/util.c:927:15: note: Null pointer dereference goaccess-1.9.4/src/util.c:1054:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:1053:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1053:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1054:11: note: Null pointer dereference goaccess-1.9.4/src/util.c:1055:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dest [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:1053:24: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1053:24: note: Assignment 'dest=xmalloc(n+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1055:3: note: Null pointer dereference goaccess-1.9.4/src/util.c:1242:9: warning: If memory allocation fails, then there is a possible null pointer dereference: q++ [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:1218:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1218:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1219:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.9.4/src/util.c:1242:9: note: Null pointer dereference goaccess-1.9.4/src/util.c:300:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/util.c:297:20: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:297:20: note: Assignment 'copy=xstrdup(str)', assigned value is 0 goaccess-1.9.4/src/util.c:300:29: note: Null pointer addition goaccess-1.9.4/src/util.c:1242:9: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/util.c:1218:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1218:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1219:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.9.4/src/util.c:1242:9: note: Null pointer addition goaccess-1.9.4/src/util.c:742:37: style: Checking if unsigned expression 'strftime(res,size,to,&tm)' is less than zero. [unsignedLessThanZero] goaccess-1.9.4/src/util.c:207:33: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/util.c:414:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/util.c:516:9: style: Variable 'user_home' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/util.c:658:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/util.c:981:19: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/util.c:1012:16: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/util.c:1083:9: style: Variable 'src' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/util.c:1253:23: style: Variable 'dir_path' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/util.c:659:25: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/util.c:665:18: style: Variable 'seconds' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:979:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:988:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1006:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1272:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1286:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1337:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1357:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2195:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2233:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2311:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2333:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2348:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2359:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2375:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2439:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2455:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2481:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2619:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2742:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIPE_BUF [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2785:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2843:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:2968:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/websocket.c:1008:13: style: Condition 'newfd==-1' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/websocket.c:1412:30: style: Condition 'client->sockqueue!=NULL' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/websocket.c:2510:31: style: Condition 'pipeout->fifoqueue!=NULL' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/websocket.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:250:30: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:250:30: note: Assignment 'client=xcalloc(1,sizeof(struct WSClient))', assigned value is 0 goaccess-1.9.4/src/websocket.c:251:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:260:11: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:259:32: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:259:32: note: Assignment 'headers=xcalloc(1,sizeof(struct WSHeaders))', assigned value is 0 goaccess-1.9.4/src/websocket.c:260:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:261:3: warning: If memory allocation fails, then there is a possible null pointer dereference: headers [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:259:32: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:259:32: note: Assignment 'headers=xcalloc(1,sizeof(struct WSHeaders))', assigned value is 0 goaccess-1.9.4/src/websocket.c:261:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:270:11: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:269:28: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:269:28: note: Assignment 'frame=xcalloc(1,sizeof(struct WSFrame))', assigned value is 0 goaccess-1.9.4/src/websocket.c:270:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:271:3: warning: If memory allocation fails, then there is a possible null pointer dereference: frame [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:269:28: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:269:28: note: Assignment 'frame=xcalloc(1,sizeof(struct WSFrame))', assigned value is 0 goaccess-1.9.4/src/websocket.c:271:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:288:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipeout [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:287:32: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:287:32: note: Assignment 'pipeout=xcalloc(1,sizeof(struct WSPipeOut))', assigned value is 0 goaccess-1.9.4/src/websocket.c:288:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:297:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pipein [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:296:30: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:296:30: note: Assignment 'pipein=xcalloc(1,sizeof(struct WSPipeIn))', assigned value is 0 goaccess-1.9.4/src/websocket.c:297:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1072:14: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1071:23: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1071:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1072:14: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1073:5: warning: If memory allocation fails, then there is a possible null pointer dereference: request [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1071:23: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1071:23: note: Assignment 'request=xmalloc(rlen+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1073:5: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1177:7: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.9.4/src/websocket.c:1177:7: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1177:26: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.9.4/src/websocket.c:1177:26: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1180:16: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1243:31: note: Calling function 'ws_set_header_fields', 1st argument 'tmp' value is 0 goaccess-1.9.4/src/websocket.c:1177:23: note: Assuming condition is false goaccess-1.9.4/src/websocket.c:1180:16: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1240:13: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1240:13: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1241:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1241:5: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1266:3: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1266:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1267:11: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1267:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1268:3: warning: If memory allocation fails, then there is a possible null pointer dereference: queue [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1261:28: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1261:28: note: Assignment 'queue=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1268:3: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1461:11: warning: If memory allocation fails, then there is a possible null pointer dereference: frm [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1460:17: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1460:17: note: Assignment 'frm=xcalloc(hsize+sz,sizeof(unsigned char))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1461:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1565:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1560:21: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1560:21: note: Assignment 's=xmalloc(klen+mlen+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1565:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1771:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1834:17: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1834:17: note: Assignment 'buf=xcalloc(len,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1838:22: note: Calling function 'ws_unmask_payload', 1st argument 'buf' value is 0 goaccess-1.9.4/src/websocket.c:1771:5: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1835:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1834:17: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1834:17: note: Assignment 'buf=xcalloc(len,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1835:11: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2434:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *queue [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2433:22: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2433:22: note: Assignment '(*queue)=xcalloc(1,sizeof(struct WSQueue))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2434:4: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2584:16: warning: If memory allocation fails, then there is a possible null pointer dereference: close_list [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2573:24: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2573:24: note: Assignment 'close_list=xcalloc(n,sizeof(uint32_t))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2584:16: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2705:6: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2704:21: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2704:21: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2705:6: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2752:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *pa [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2751:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2751:19: note: Assignment '(*pa)=xcalloc(1,sizeof(struct WSPacket))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2752:4: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2865:15: warning: If memory allocation fails, then there is a possible null pointer dereference: cfdstate [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2864:26: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2864:26: note: Assignment 'cfdstate=xmalloc(nfdstate*sizeof(*cfdstate))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2865:15: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:2868:13: warning: If memory allocation fails, then there is a possible null pointer dereference: cfdstate [nullPointerOutOfMemory] goaccess-1.9.4/src/websocket.c:2864:26: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:2864:26: note: Assignment 'cfdstate=xmalloc(nfdstate*sizeof(*cfdstate))', assigned value is 0 goaccess-1.9.4/src/websocket.c:2868:13: note: Null pointer dereference goaccess-1.9.4/src/websocket.c:1463:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/websocket.c:1460:17: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1460:17: note: Assignment 'frm=xcalloc(hsize+sz,sizeof(unsigned char))', assigned value is 0 goaccess-1.9.4/src/websocket.c:1463:17: note: Null pointer addition goaccess-1.9.4/src/websocket.c:1566:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/websocket.c:1560:21: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1560:21: note: Assignment 's=xmalloc(klen+mlen+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1566:13: note: Null pointer addition goaccess-1.9.4/src/websocket.c:2882:20: error:inconclusive: Pointer addition with NULL pointer. [nullPointerArithmetic] goaccess-1.9.4/src/websocket.c:2838:29: note: Assignment 'cfdstate=NULL', assigned value is 0 goaccess-1.9.4/src/websocket.c:2882:20: note: Null pointer addition goaccess-1.9.4/src/websocket.c:987:22: style:inconclusive: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. [funcArgNamesDifferent] goaccess-1.9.4/src/websocket.h:319:27: note: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. goaccess-1.9.4/src/websocket.c:987:22: note: Function 'set_nonblocking' argument 1 names different: declaration 'listener' definition 'sock'. goaccess-1.9.4/src/websocket.c:180:24: style: Variable 'efd' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:374:13: style: Variable 'client' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:1056:9: style: Variable 'req' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:1056:39: style: Variable 'proto' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:1085:52: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1085:63: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1112:35: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1136:29: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1312:30: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1586:57: style: Parameter 'headers' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:1750:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:1766:66: style: Parameter 'mask' can be declared as const array [constParameter] goaccess-1.9.4/src/websocket.c:2096:34: style: Parameter 'frm' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:2228:25: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:2296:21: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:2447:47: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:2545:13: style: Variable 'packet' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:2595:74: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] goaccess-1.9.4/src/websocket.c:2838:42: style: Variable 'efd' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/websocket.c:1228:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:2161:13: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:2568:39: style: Variable 'listener' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:2676:13: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:2694:7: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/websocket.c:2837:26: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/win/mmap.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_READONLY [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/win/mmap.c:132:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/win/mmap.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/wsauth.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/wsauth.c:110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/wsauth.c:147:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/wsauth.c:226:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/wsauth.c:135:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] goaccess-1.9.4/src/wsauth.c:173:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.9.4/src/wsauth.c:174:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.9.4/src/wsauth.c:175:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.9.4/src/wsauth.c:325:3: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.9.4/src/wsauth.c:326:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] goaccess-1.9.4/src/wsauth.c:61:5: error: Memory leak: secret [memleak] goaccess-1.9.4/src/wsauth.c:348:3: error: Common realloc mistake: 'payload_json' nulled but not freed upon failure [memleakOnRealloc] goaccess-1.9.4/src/wsauth.c:135:14: style: Variable 'jwt_now_tm' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:157:28: style: Variable 'header_part' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:157:49: style: Variable 'payload_part' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:157:71: style: Variable 'signature_part' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:159:18: style: Variable 'hmac_result' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:310:9: style: Variable 'payload_part' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:377:18: style: Variable 'hmac_result' can be declared as pointer to const [constVariablePointer] goaccess-1.9.4/src/wsauth.c:225:22: style: Variable 'ctx' is assigned a value that is never used. [unreadVariable] goaccess-1.9.4/src/xmalloc.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/xmalloc.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/xmalloc.c:81:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] goaccess-1.9.4/src/khash.h:444:27: warning: Null pointer dereference: s [ctunullpointer] goaccess-1.9.4/src/gkhash.c:757:20: note: Assuming allocation function fails goaccess-1.9.4/src/gkhash.c:757:20: note: Assignment 'dupkey=xstrdup(key)', assigned value is 0 goaccess-1.9.4/src/gkhash.c:758:7: note: Calling function kh_put_si32, 2nd argument is null goaccess-1.9.4/src/gkhash.h:61:1: note: Calling function __ac_X31_hash_string, 1st argument is null goaccess-1.9.4/src/khash.h:444:27: note: Dereferencing argument s that is null goaccess-1.9.4/src/websocket.c:1177:7: warning: If memory allocation fails, then there is a possible null pointer dereference: line [ctunullpointerOutOfMemory] goaccess-1.9.4/src/websocket.c:1239:19: note: Assuming allocation function fails goaccess-1.9.4/src/websocket.c:1239:19: note: Assignment 'tmp=xmalloc(len+1)', assigned value is 0 goaccess-1.9.4/src/websocket.c:1243:30: note: Calling function ws_set_header_fields, 1st argument is null goaccess-1.9.4/src/websocket.c:1177:7: note: Dereferencing argument line that is null goaccess-1.9.4/src/websocket.c:2634:11: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [ctunullpointerOutOfMemory] goaccess-1.9.4/src/gwsocket.c:117:14: note: Assuming allocation function fails goaccess-1.9.4/src/gwsocket.c:117:14: note: Assignment 'p=calloc(sizeof(uint32_t)*3,sizeof(char))', assigned value is 0 goaccess-1.9.4/src/gwsocket.c:119:7: note: ptr is assigned 'p' here. goaccess-1.9.4/src/gwsocket.c:120:22: note: Calling function pack_uint32, 1st argument is null goaccess-1.9.4/src/websocket.c:2634:11: note: Dereferencing argument buf that is null goaccess-1.9.4/src/xmalloc.c:57:17: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] goaccess-1.9.4/src/parser.c:148:16: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:148:16: note: Assignment 'fn=xstrdup(filename)', assigned value is 0 goaccess-1.9.4/src/parser.c:151:44: note: Calling function xstrdup, 1st argument is null goaccess-1.9.4/src/xmalloc.c:57:17: note: Dereferencing argument s that is null diff: head goaccess-1.9.4/src/gkhash.c:691:10: warning: If memory allocation fails, then there is a possible null pointer dereference: dates [nullPointerOutOfMemory] goaccess-1.9.4/src/gkhash.c:687:19: note: Assuming allocation function fails goaccess-1.9.4/src/gkhash.c:687:19: note: Assignment 'dates=xcalloc(size,sizeof(uint32_t))', assigned value is 0 goaccess-1.9.4/src/gkhash.c:691:10: note: Null pointer dereference head goaccess-1.9.4/src/goaccess.c:491:36: style: Condition 'scrll>=offset+exp_size' is always true [knownConditionTrueFalse] goaccess-1.9.4/src/goaccess.c:491:15: note: Assuming that condition 'scrll>=exp_size' is not redundant goaccess-1.9.4/src/goaccess.c:491:36: note: Condition 'scrll>=offset+exp_size' is always true head goaccess-1.9.4/src/parser.c:1986:7: style: Condition 'ret' is always false [knownConditionTrueFalse] goaccess-1.9.4/src/parser.c:1977:7: note: Assuming that condition 'ret' is not redundant goaccess-1.9.4/src/parser.c:1986:7: note: Condition 'ret' is always false head goaccess-1.9.4/src/parser.c:2479:5: warning: If memory allocation fails, then there is a possible null pointer dereference: errors [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:2476:20: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:2476:20: note: Assignment 'errors=xcalloc(glog->log_erridx,sizeof(char*))', assigned value is 0 goaccess-1.9.4/src/parser.c:2479:5: note: Null pointer dereference head goaccess-1.9.4/src/parser.c:899:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:894:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.9.4/src/parser.c:899:13: note: Null pointer dereference head goaccess-1.9.4/src/parser.c:901:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] goaccess-1.9.4/src/parser.c:884:18: note: Assuming allocation function fails goaccess-1.9.4/src/parser.c:884:18: note: Assignment 'temp=xmalloc(mime_len+1)', assigned value is 0 goaccess-1.9.4/src/parser.c:894:9: note: Assignment 'ptr=temp', assigned value is 0 goaccess-1.9.4/src/parser.c:901:10: note: Null pointer dereference head goaccess-1.9.4/src/settings.c:577:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.4/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.4/src/settings.c:577:14: note: Null pointer addition head goaccess-1.9.4/src/settings.c:577:14: warning: If memory allocation fails, then there is a possible null pointer dereference: pr++ [nullPointerOutOfMemory] goaccess-1.9.4/src/settings.c:573:17: note: Assuming allocation function fails goaccess-1.9.4/src/settings.c:573:17: note: Assignment 'fmt=xstrdup(format)', assigned value is 0 goaccess-1.9.4/src/settings.c:574:8: note: Assignment 'pr=fmt', assigned value is 0 goaccess-1.9.4/src/settings.c:577:14: note: Null pointer dereference head goaccess-1.9.4/src/ui.c:694:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:694:5: note: Null pointer dereference head goaccess-1.9.4/src/ui.c:699:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:699:11: note: Null pointer dereference head goaccess-1.9.4/src/ui.c:700:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:700:3: note: Null pointer dereference head goaccess-1.9.4/src/ui.c:703:15: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] goaccess-1.9.4/src/ui.c:685:21: note: Assuming allocation function fails goaccess-1.9.4/src/ui.c:685:21: note: Assignment 's=xmalloc(max_width+1)', assigned value is 0 goaccess-1.9.4/src/ui.c:693:7: note: Assuming condition is false goaccess-1.9.4/src/ui.c:703:15: note: Null pointer dereference head goaccess-1.9.4/src/util.c:1242:9: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] goaccess-1.9.4/src/util.c:1218:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1218:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1219:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.9.4/src/util.c:1242:9: note: Null pointer addition head goaccess-1.9.4/src/util.c:1242:9: warning: If memory allocation fails, then there is a possible null pointer dereference: q++ [nullPointerOutOfMemory] goaccess-1.9.4/src/util.c:1218:18: note: Assuming allocation function fails goaccess-1.9.4/src/util.c:1218:18: note: Assignment 'dest=xmalloc(strlen(src)+1)', assigned value is 0 goaccess-1.9.4/src/util.c:1219:7: note: Assignment 'q=dest', assigned value is 0 goaccess-1.9.4/src/util.c:1242:9: note: Null pointer dereference DONE