2025-05-08 23:34 ftp://ftp.de.debian.org/debian/pool/main/w/wordgrinder/wordgrinder_0.8.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=lua --library=zlib --library=motif --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 101 101 elapsed-time: 1.2 1.1 head-timing-info: old-timing-info: head results: wordgrinder-0.8/src/c/arch/unix/cursesw/dpy.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/cursesw/dpy.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_ITALIC [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/cursesw/dpy.c:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/cursesw/dpy.c:194:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_MAX [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/glyphcache.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/glyphcache.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/glyphcache.c:118:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_BRIGHT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/glyphcache.c:36:33: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:281:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_F1 [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:241:17: style: Variable 'backp' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:320:22: style: Variable 'xce' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:25:11: style: struct member 'gg::c' is never used. [unusedStructMember] wordgrinder-0.8/src/c/arch/unix/x11/x11.c:26:11: style: struct member 'gg::attr' is never used. [unusedStructMember] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:75:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_INPUT_HANDLE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_UNDERLINE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:161:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnicodeChar [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SHIFT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:260:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_TIMEOUT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:335:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_F1 [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:193:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:257:16: style: Local variable 'buffer' shadows outer variable [shadowVariable] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:21:19: note: Shadowed declaration wordgrinder-0.8/src/c/arch/win32/console/dpy.c:257:16: note: Shadow variable wordgrinder-0.8/src/c/arch/win32/console/dpy.c:295:14: style: Local variable 'buffer' shadows outer variable [shadowVariable] wordgrinder-0.8/src/c/arch/win32/console/dpy.c:21:19: note: Shadowed declaration wordgrinder-0.8/src/c/arch/win32/console/dpy.c:295:14: note: Shadow variable wordgrinder-0.8/src/c/arch/win32/console/realmain.c:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_CURRENT_USER [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:82:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPBYTE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:96:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BINARY [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:123:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BINARY [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:134:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LPBYTE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:149:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BINARY [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_CONTROL [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:176:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_LMENU [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:248:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_SOLID [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:372:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CF_INITTOLOGFONTSTRUCT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:392:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_ANYCOLOR [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:597:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPIF_UPDATEINIFILE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:626:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RECT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:690:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIIM_FTYPE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:719:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HWND_TOP [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:763:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MONITOR_DEFAULTTONEAREST [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:783:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_STYLE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:797:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_OWNDC [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:943:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_F1 [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:167:32: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:643:3: error: Common realloc mistake: 'frontbuffer' nulled but not freed upon failure [memleakOnRealloc] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:644:3: error: Common realloc mistake: 'backbuffer' nulled but not freed upon failure [memleakOnRealloc] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:321:19: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/win32/gdi/dpy.c:844:17: style: Variable 'back' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:95:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANOSE_COUNT [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:319:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_BOLD [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:341:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_DIM [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:465:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DPY_REVERSE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:53:18: style: Parameter 'fontex' can be declared as pointer to const. However it seems that 'font_counter_cb' is a callback function, if 'fontex' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:214:52: note: You might need to cast the function pointer here wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:53:18: note: Parameter 'fontex' can be declared as pointer to const wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:54:20: style: Parameter 'metrics' can be declared as pointer to const. However it seems that 'font_counter_cb' is a callback function, if 'metrics' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:214:52: note: You might need to cast the function pointer here wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:54:20: note: Parameter 'metrics' can be declared as pointer to const wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:92:8: style: Variable 'panosebytes' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:119:18: style: Parameter 'fontex' can be declared as pointer to const. However it seems that 'font_reader_cb' is a callback function, if 'fontex' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:231:52: note: You might need to cast the function pointer here wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:119:18: note: Parameter 'fontex' can be declared as pointer to const wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:315:13: style: Variable 'range' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/arch/win32/gdi/glyphcache.c:108:8: style: Variable 'buffer' is not assigned a value. [unassignedVariable] wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTACH_PARENT_PROCESS [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:87:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:88:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:39:25: style:inconclusive: Function 'dpy_queuekey' argument 1 names different: declaration 'key' definition 'c'. [funcArgNamesDifferent] wordgrinder-0.8/src/c/arch/win32/gdi/gdi.h:41:32: note: Function 'dpy_queuekey' argument 1 names different: declaration 'key' definition 'c'. wordgrinder-0.8/src/c/arch/win32/gdi/realmain.c:39:25: note: Function 'dpy_queuekey' argument 1 names different: declaration 'key' definition 'c'. wordgrinder-0.8/src/c/filesystem.c:17:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/filesystem.c:161:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chdir_cb [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/filesystem.c:98:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] wordgrinder-0.8/src/c/filesystem.c:98:19: style: Variable 'de' can be declared as pointer to const [constVariablePointer] wordgrinder-0.8/src/c/lua.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/lua.c:32:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_GLOBALSINDEX [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/lua.c:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/lua.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/main.c:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/screen.c:242:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initscreen_cb [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/screen.c:23:37: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:32:38: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:38:31: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:45:34: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:51:39: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:57:37: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:63:33: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:69:36: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:75:36: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:81:36: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:124:37: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/screen.c:130:37: style: Parameter 'L' can be declared as pointer to const [constParameterPointer] wordgrinder-0.8/src/c/utils.c:270:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable readu8_cb [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/utils.c:214:39: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:183:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:183:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:188:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:190:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:214:39: note: Null pointer subtraction wordgrinder-0.8/src/c/utils.c:260:39: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:226:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:226:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:231:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:233:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:260:39: note: Null pointer subtraction wordgrinder-0.8/src/c/utils.c:37:27: style:inconclusive: Function 'readu8' argument 1 names different: declaration 'ptr' definition 'srcp'. [funcArgNamesDifferent] wordgrinder-0.8/src/c/globals.h:100:34: note: Function 'readu8' argument 1 names different: declaration 'ptr' definition 'srcp'. wordgrinder-0.8/src/c/utils.c:37:27: note: Function 'readu8' argument 1 names different: declaration 'ptr' definition 'srcp'. wordgrinder-0.8/src/c/utils.c:64:21: style:inconclusive: Function 'writeu8' argument 1 names different: declaration 'ptr' definition 'destp'. [funcArgNamesDifferent] wordgrinder-0.8/src/c/globals.h:101:28: note: Function 'writeu8' argument 1 names different: declaration 'ptr' definition 'destp'. wordgrinder-0.8/src/c/utils.c:64:21: note: Function 'writeu8' argument 1 names different: declaration 'ptr' definition 'destp'. wordgrinder-0.8/src/c/utils.c:64:34: style:inconclusive: Function 'writeu8' argument 2 names different: declaration 'value' definition 'ch'. [funcArgNamesDifferent] wordgrinder-0.8/src/c/globals.h:101:39: note: Function 'writeu8' argument 2 names different: declaration 'value' definition 'ch'. wordgrinder-0.8/src/c/utils.c:64:34: note: Function 'writeu8' argument 2 names different: declaration 'value' definition 'ch'. wordgrinder-0.8/src/c/word.c:471:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parseword_cb [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/word.c:119:24: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] wordgrinder-0.8/src/c/zip.c:119:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNZ_OK [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/zip.c:148:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] wordgrinder-0.8/src/c/zip.c:205:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compress_cb [valueFlowBailoutIncompleteVar] diff: 2.17.0 wordgrinder-0.8/src/c/utils.c:214:39: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:183:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:183:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:188:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:190:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:214:39: note: Null pointer subtraction head wordgrinder-0.8/src/c/utils.c:214:39: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:183:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:183:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:188:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:190:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:214:39: note: Null pointer subtraction 2.17.0 wordgrinder-0.8/src/c/utils.c:260:39: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:226:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:226:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:231:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:233:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:260:39: note: Null pointer subtraction head wordgrinder-0.8/src/c/utils.c:260:39: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] wordgrinder-0.8/src/c/utils.c:226:35: note: Assuming allocation function fails wordgrinder-0.8/src/c/utils.c:226:35: note: Assignment 'outputbuffer=malloc(outputbuffersize)', assigned value is 0 wordgrinder-0.8/src/c/utils.c:231:14: note: Assignment 'out=outputbuffer', assigned value is 0 wordgrinder-0.8/src/c/utils.c:233:12: note: Assuming condition is false wordgrinder-0.8/src/c/utils.c:260:39: note: Null pointer subtraction DONE