2025-05-08 11:08 ftp://ftp.de.debian.org/debian/pool/main/t/tintin++/tintin++_2.02.20.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=pcre --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: ebc80c0 (2025-05-07 18:59:31 +0200) count: 933 920 elapsed-time: 115.9 110.1 head-timing-info: old-timing-info: head results: tintin-2.02.20/src/banner.c:40:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/banner.c:54:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/banner.c:68:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/banner.c:82:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/banner.c:403:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/banner.c:40:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/banner.c:54:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/banner.c:68:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/banner.c:82:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/banner.c:339:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/banner.c:403:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/base.c:60:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:60:2: note: Null pointer dereference tintin-2.02.20/src/base.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:61:2: note: Null pointer dereference tintin-2.02.20/src/base.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:63:2: note: Null pointer dereference tintin-2.02.20/src/base.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:64:2: note: Null pointer dereference tintin-2.02.20/src/base.c:66:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:66:2: note: Null pointer dereference tintin-2.02.20/src/base.c:67:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:67:2: note: Null pointer dereference tintin-2.02.20/src/base.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:68:2: note: Null pointer dereference tintin-2.02.20/src/base.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:69:2: note: Null pointer dereference tintin-2.02.20/src/base.c:71:18: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:58:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:58:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:71:18: note: Null pointer dereference tintin-2.02.20/src/base.c:108:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:106:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:106:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:108:2: note: Null pointer dereference tintin-2.02.20/src/base.c:109:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:106:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:106:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:109:2: note: Null pointer dereference tintin-2.02.20/src/base.c:110:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:106:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:106:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:110:2: note: Null pointer dereference tintin-2.02.20/src/base.c:111:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:106:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:106:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:111:2: note: Null pointer dereference tintin-2.02.20/src/base.c:113:18: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/base.c:106:30: note: Assuming allocation function fails tintin-2.02.20/src/base.c:106:30: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/base.c:113:18: note: Null pointer dereference tintin-2.02.20/src/base.c:182:25: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/base.c:259:26: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/buffer.c:1103:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/buffer.c:857:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/buffer.c:295:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] tintin-2.02.20/src/buffer.c:291:49: note: Assuming allocation function fails tintin-2.02.20/src/buffer.c:291:49: note: Assignment 'ses->scroll->buffer[ses->scroll->used]=calloc(1,sizeof(struct buffer_data))', assigned value is 0 tintin-2.02.20/src/buffer.c:293:30: note: Assignment 'buffer=ses->scroll->buffer[ses->scroll->used]', assigned value is 0 tintin-2.02.20/src/buffer.c:295:2: note: Null pointer dereference tintin-2.02.20/src/buffer.c:296:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] tintin-2.02.20/src/buffer.c:291:49: note: Assuming allocation function fails tintin-2.02.20/src/buffer.c:291:49: note: Assignment 'ses->scroll->buffer[ses->scroll->used]=calloc(1,sizeof(struct buffer_data))', assigned value is 0 tintin-2.02.20/src/buffer.c:293:30: note: Assignment 'buffer=ses->scroll->buffer[ses->scroll->used]', assigned value is 0 tintin-2.02.20/src/buffer.c:296:2: note: Null pointer dereference tintin-2.02.20/src/buffer.c:297:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] tintin-2.02.20/src/buffer.c:291:49: note: Assuming allocation function fails tintin-2.02.20/src/buffer.c:291:49: note: Assignment 'ses->scroll->buffer[ses->scroll->used]=calloc(1,sizeof(struct buffer_data))', assigned value is 0 tintin-2.02.20/src/buffer.c:293:30: note: Assignment 'buffer=ses->scroll->buffer[ses->scroll->used]', assigned value is 0 tintin-2.02.20/src/buffer.c:297:2: note: Null pointer dereference tintin-2.02.20/src/buffer.c:664:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tintin-2.02.20/src/buffer.c:153:59: style:inconclusive: Function 'add_line_buffer' argument 3 names different: declaration 'more_output' definition 'prompt'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:1906:66: note: Function 'add_line_buffer' argument 3 names different: declaration 'more_output' definition 'prompt'. tintin-2.02.20/src/buffer.c:153:59: note: Function 'add_line_buffer' argument 3 names different: declaration 'more_output' definition 'prompt'. tintin-2.02.20/src/buffer.c:354:17: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/buffer.c:354:17: note: Shadow variable tintin-2.02.20/src/buffer.c:567:14: style: Variable 'scroll_cut' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:672:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:751:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:800:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:857:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:1047:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:1126:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/buffer.c:1174:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/chat.c:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/chat.c:233:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/chat.c:292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/chat.c:1963:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/chat.c:285:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/chat.c:1176:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tintin-2.02.20/src/chat.c:185:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gtd->chat [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:183:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:183:14: note: Assignment 'gtd->chat=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:185:5: note: Null pointer dereference tintin-2.02.20/src/chat.c:247:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:247:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:249:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:249:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:250:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:250:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:251:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:251:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:252:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:252:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:253:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:253:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:254:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:254:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:255:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:255:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:256:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:256:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:258:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:258:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:260:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:260:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:262:41: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:262:41: note: Null pointer dereference tintin-2.02.20/src/chat.c:262:56: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:262:56: note: Null pointer dereference tintin-2.02.20/src/chat.c:371:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:371:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:372:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:372:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:374:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:374:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:375:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:375:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:376:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:376:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:377:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:377:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:378:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:378:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:379:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:379:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:380:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:380:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:381:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:369:20: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:369:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:381:2: note: Null pointer dereference tintin-2.02.20/src/chat.c:119:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tintin-2.02.20/src/chat.c:955:54: style:inconclusive: Function 'chat_name_change' argument 2 names different: declaration 'txt' definition 'name'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:48:61: note: Function 'chat_name_change' argument 2 names different: declaration 'txt' definition 'name'. tintin-2.02.20/src/chat.c:955:54: note: Function 'chat_name_change' argument 2 names different: declaration 'txt' definition 'name'. tintin-2.02.20/src/chat.c:1866:53: style:inconclusive: Function 'chat_receive_file' argument 2 names different: declaration 'ch' definition 'buddy'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:59:60: note: Function 'chat_receive_file' argument 2 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1866:53: note: Function 'chat_receive_file' argument 2 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1938:35: style:inconclusive: Function 'send_block' argument 1 names different: declaration 'ch' definition 'buddy'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:60:42: note: Function 'send_block' argument 1 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1938:35: note: Function 'send_block' argument 1 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1993:34: style:inconclusive: Function 'receive_block' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:61:42: note: Function 'receive_block' argument 1 names different: declaration 's' definition 'str'. tintin-2.02.20/src/chat.c:1993:34: note: Function 'receive_block' argument 1 names different: declaration 's' definition 'str'. tintin-2.02.20/src/chat.c:1993:57: style:inconclusive: Function 'receive_block' argument 2 names different: declaration 'ch' definition 'buddy'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:61:63: note: Function 'receive_block' argument 2 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1993:57: note: Function 'receive_block' argument 2 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:1993:68: style:inconclusive: Function 'receive_block' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:61:71: note: Function 'receive_block' argument 3 names different: declaration 'size' definition 'len'. tintin-2.02.20/src/chat.c:1993:68: note: Function 'receive_block' argument 3 names different: declaration 'size' definition 'len'. tintin-2.02.20/src/chat.c:2064:36: style:inconclusive: Function 'file_denied' argument 1 names different: declaration 'ch' definition 'buddy'. [funcArgNamesDifferent] tintin-2.02.20/src/chat.c:63:43: note: Function 'file_denied' argument 1 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:2064:36: note: Function 'file_denied' argument 1 names different: declaration 'ch' definition 'buddy'. tintin-2.02.20/src/chat.c:123:1: style: Parameter 'arg1' can be declared as pointer to const. However it seems that 'chat_initialize' is a callback function, if 'arg1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tintin-2.02.20/src/chat.c:102:30: note: You might need to cast the function pointer here tintin-2.02.20/src/chat.c:123:1: note: Parameter 'arg1' can be declared as pointer to const tintin-2.02.20/src/chat.c:1003:52: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1037:51: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1048:48: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1061:45: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1072:48: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1159:48: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1322:1: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1410:1: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1413:50: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/chat.c:1527:1: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:1993:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:2267:43: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:2267:54: style: Parameter 'linelog' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:2445:36: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/chat.c:110:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/chat.c:785:6: style: Variable 'pto' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/class.c:130:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/class.c:130:55: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/class.c:79:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/command.c:118:15: style: The statement 'if (*buffer!=gtd->tintin_char) *buffer=gtd->tintin_char' is logically equivalent to '*buffer=gtd->tintin_char'. [duplicateConditionalAssign] tintin-2.02.20/src/command.c:120:12: note: Assignment '*buffer=gtd->tintin_char' tintin-2.02.20/src/command.c:118:15: note: Condition '*buffer!=gtd->tintin_char' is redundant tintin-2.02.20/src/config.c:36:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:2004:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/cursor.c:1020:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:1199:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:1301:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:1578:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:1971:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:2308:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:2326:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/cursor.c:1524:9: style: Condition '0&>d->ses->input->str_hid' is always false [knownConditionTrueFalse] tintin-2.02.20/src/cursor.c:2575:16: style: Condition 'tab_found==0' is always true [knownConditionTrueFalse] tintin-2.02.20/src/cursor.c:2573:14: note: Assignment 'tab_found=0', assigned value is 0 tintin-2.02.20/src/cursor.c:2575:16: note: Condition 'tab_found==0' is always true tintin-2.02.20/src/cursor.c:95:15: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:95:15: note: Shadow variable tintin-2.02.20/src/cursor.c:300:15: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:300:15: note: Shadow variable tintin-2.02.20/src/cursor.c:351:15: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:351:15: note: Shadow variable tintin-2.02.20/src/cursor.c:368:15: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:368:15: note: Shadow variable tintin-2.02.20/src/cursor.c:670:6: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:670:6: note: Shadow variable tintin-2.02.20/src/cursor.c:1609:6: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:1609:6: note: Shadow variable tintin-2.02.20/src/cursor.c:1670:6: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:1670:6: note: Shadow variable tintin-2.02.20/src/cursor.c:2048:33: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:2048:33: note: Shadow variable tintin-2.02.20/src/cursor.c:2048:42: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:2048:42: note: Shadow variable tintin-2.02.20/src/cursor.c:2131:51: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:2131:51: note: Shadow variable tintin-2.02.20/src/cursor.c:2233:17: style: Local variable 'str_max' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2430:13: note: Shadowed declaration tintin-2.02.20/src/cursor.c:2233:17: note: Shadow variable tintin-2.02.20/src/cursor.c:2449:8: style: Variable 'ptb' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/cursor.c:1020:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:1199:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:1301:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:1578:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:1971:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:2308:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/cursor.c:2326:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/daemon.c:120:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphasort [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/daemon.c:414:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/daemon.c:514:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphasort [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/daemon.c:584:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphasort [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/daemon.c:638:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/daemon.c:176:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tintin-2.02.20/src/daemon.c:374:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tintin-2.02.20/src/data.c:1627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/data.c:41:2: warning: Either the condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is redundant or there is possible null pointer dereference: listhead. [nullPointerRedundantCheck] tintin-2.02.20/src/data.c:36:74: note: Assuming that condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is not redundant tintin-2.02.20/src/data.c:41:2: note: Null pointer dereference tintin-2.02.20/src/data.c:42:2: warning: Either the condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is redundant or there is possible null pointer dereference: listhead. [nullPointerRedundantCheck] tintin-2.02.20/src/data.c:36:74: note: Assuming that condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is not redundant tintin-2.02.20/src/data.c:42:2: note: Null pointer dereference tintin-2.02.20/src/data.c:43:2: warning: Either the condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is redundant or there is possible null pointer dereference: listhead. [nullPointerRedundantCheck] tintin-2.02.20/src/data.c:36:74: note: Assuming that condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is not redundant tintin-2.02.20/src/data.c:43:2: note: Null pointer dereference tintin-2.02.20/src/data.c:44:2: warning: Either the condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is redundant or there is possible null pointer dereference: listhead. [nullPointerRedundantCheck] tintin-2.02.20/src/data.c:36:74: note: Assuming that condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is not redundant tintin-2.02.20/src/data.c:44:2: note: Null pointer dereference tintin-2.02.20/src/data.c:46:2: warning: Either the condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is redundant or there is possible null pointer dereference: listhead. [nullPointerRedundantCheck] tintin-2.02.20/src/data.c:36:74: note: Assuming that condition '(listhead=(struct listroot*)calloc(1,sizeof(struct listroot)))==NULL' is not redundant tintin-2.02.20/src/data.c:46:2: note: Null pointer dereference tintin-2.02.20/src/data.c:85:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:85:4: note: Null pointer dereference tintin-2.02.20/src/data.c:86:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:86:4: note: Null pointer dereference tintin-2.02.20/src/data.c:87:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:87:4: note: Null pointer dereference tintin-2.02.20/src/data.c:88:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:88:4: note: Null pointer dereference tintin-2.02.20/src/data.c:89:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:89:4: note: Null pointer dereference tintin-2.02.20/src/data.c:90:4: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] tintin-2.02.20/src/data.c:83:37: note: Assuming allocation function fails tintin-2.02.20/src/data.c:83:11: note: Assignment 'node=(struct listnode*)calloc(1,sizeof(struct listnode))', assigned value is 0 tintin-2.02.20/src/data.c:90:4: note: Null pointer dereference tintin-2.02.20/src/data.c:804:52: style:inconclusive: Function 'show_node_with_wild' argument 2 names different: declaration 'cptr' definition 'text'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2211:60: note: Function 'show_node_with_wild' argument 2 names different: declaration 'cptr' definition 'text'. tintin-2.02.20/src/data.c:804:52: note: Function 'show_node_with_wild' argument 2 names different: declaration 'cptr' definition 'text'. tintin-2.02.20/src/data.c:908:52: style:inconclusive: Function 'delete_node_with_wild' argument 2 names different: declaration 'index' definition 'type'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2219:60: note: Function 'delete_node_with_wild' argument 2 names different: declaration 'index' definition 'type'. tintin-2.02.20/src/data.c:908:52: note: Function 'delete_node_with_wild' argument 2 names different: declaration 'index' definition 'type'. tintin-2.02.20/src/data.c:908:64: style:inconclusive: Function 'delete_node_with_wild' argument 3 names different: declaration 'string' definition 'text'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2219:73: note: Function 'delete_node_with_wild' argument 3 names different: declaration 'string' definition 'text'. tintin-2.02.20/src/data.c:908:64: note: Function 'delete_node_with_wild' argument 3 names different: declaration 'string' definition 'text'. tintin-2.02.20/src/data.c:1669:10: style: Local variable 'index' shadows outer variable [shadowVariable] tintin-2.02.20/src/data.c:1237:11: note: Shadowed declaration tintin-2.02.20/src/data.c:1669:10: note: Shadow variable tintin-2.02.20/src/data.c:1670:25: style: Local variable 'root' shadows outer variable [shadowVariable] tintin-2.02.20/src/data.c:1238:19: note: Shadowed declaration tintin-2.02.20/src/data.c:1670:25: note: Shadow variable tintin-2.02.20/src/data.c:1682:23: style: Local variable 'index' shadows outer variable [shadowVariable] tintin-2.02.20/src/data.c:1237:11: note: Shadowed declaration tintin-2.02.20/src/data.c:1682:23: note: Shadow variable tintin-2.02.20/src/data.c:490:41: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/data.c:490:53: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/data.c:670:56: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/data.c:730:35: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/data.c:730:47: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/data.c:1031:19: style: Variable 'found' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/data.c:1098:19: style: Variable 'found' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/data.c:1165:19: style: Variable 'found' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/data.c:1237:24: style: Variable 'found' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/data.c:1545:11: style: Variable 'used' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/debug.c:70:22: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/dict.c:272:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tintin-2.02.20/src/dict.c:179:35: style:inconclusive: Function 'cursor_dictionary_tab_add' argument 1 names different: declaration 'stop_after_first' definition 'flag'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2255:42: note: Function 'cursor_dictionary_tab_add' argument 1 names different: declaration 'stop_after_first' definition 'flag'. tintin-2.02.20/src/dict.c:179:35: note: Function 'cursor_dictionary_tab_add' argument 1 names different: declaration 'stop_after_first' definition 'flag'. tintin-2.02.20/src/dict.c:40:8: style: Variable 'pta' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/dict.c:94:39: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/dict.c:121:8: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/dict.c:183:15: style: Variable 'word' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/draw.c:709:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/draw.c:1430:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/draw.c:1596:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/draw.c:2720:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/draw.c:438:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tintin-2.02.20/src/draw.c:826:22: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/draw.c:828:8: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/draw.c:709:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:1430:9: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:1592:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:1596:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:1681:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:1685:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:2345:13: style: Variable 'bot_r' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:2502:10: style: Variable 'bot_row' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:2720:9: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:2761:7: style: Variable 'rows' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/draw.c:2775:7: style: Variable 'cols' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:220:20: style: Variable 'edit' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/edit.c:112:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:148:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:179:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:200:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:204:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/edit.c:224:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/event.c:311:45: style:inconclusive: Function 'mouse_handler' argument 2 names different: declaration 'val1' definition 'flags'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2301:52: note: Function 'mouse_handler' argument 2 names different: declaration 'val1' definition 'flags'. tintin-2.02.20/src/event.c:311:45: note: Function 'mouse_handler' argument 2 names different: declaration 'val1' definition 'flags'. tintin-2.02.20/src/event.c:311:56: style:inconclusive: Function 'mouse_handler' argument 3 names different: declaration 'val2' definition 'row'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2301:62: note: Function 'mouse_handler' argument 3 names different: declaration 'val2' definition 'row'. tintin-2.02.20/src/event.c:311:56: note: Function 'mouse_handler' argument 3 names different: declaration 'val2' definition 'row'. tintin-2.02.20/src/event.c:311:65: style:inconclusive: Function 'mouse_handler' argument 4 names different: declaration 'val3' definition 'col'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2301:72: note: Function 'mouse_handler' argument 4 names different: declaration 'val3' definition 'col'. tintin-2.02.20/src/event.c:311:65: note: Function 'mouse_handler' argument 4 names different: declaration 'val3' definition 'col'. tintin-2.02.20/src/files.c:97:31: style: Checking if unsigned expression 'fread(bufi,1,size,fp)' is less than zero. [unsignedLessThanZero] tintin-2.02.20/src/files.c:498:42: style:inconclusive: Function 'write_node' argument 2 names different: declaration 'mode' definition 'list'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2313:49: note: Function 'write_node' argument 2 names different: declaration 'mode' definition 'list'. tintin-2.02.20/src/files.c:498:42: note: Function 'write_node' argument 2 names different: declaration 'mode' definition 'list'. tintin-2.02.20/src/help.c:229:12: warning: If resource allocation fails, then there is a possible null pointer dereference: logfile [nullPointerOutOfResources] tintin-2.02.20/src/help.c:227:19: note: Assuming allocation function fails tintin-2.02.20/src/help.c:227:19: note: Assignment 'logfile=fopen(buf,"w")', assigned value is 0 tintin-2.02.20/src/help.c:229:12: note: Null pointer dereference tintin-2.02.20/src/history.c:130:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/history.c:149:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/history.c:228:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/history.c:280:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/history.c:90:11: style: Condition 'lastused' is always false [knownConditionTrueFalse] tintin-2.02.20/src/history.c:86:7: note: last is assigned 'root->used' here. tintin-2.02.20/src/history.c:90:11: note: Condition 'lastused' is always false tintin-2.02.20/src/history.c:63:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tintin-2.02.20/src/history.c:69:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/history.c:295:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/history.c:130:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:149:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:182:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:228:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:246:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:280:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/history.c:299:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/input.c:743:25: style: Array index 'len' is used before limits check. [arrayIndexThenCheck] tintin-2.02.20/src/input.c:1052:2: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] tintin-2.02.20/src/input.c:767:8: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/line.c:75:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:97:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:120:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:148:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:170:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:190:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:217:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:237:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:264:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:376:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:403:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:461:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:482:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:508:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:530:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:550:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:611:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:631:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/line.c:75:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:97:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:120:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:148:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:170:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:217:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:237:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:264:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:403:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:461:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:482:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:508:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:530:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:550:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:611:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/line.c:631:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:479:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/list.c:746:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/list.c:771:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/list.c:645:5: warning: If memory allocation fails, then there is a possible null pointer dereference: root_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:638:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:638:24: note: Assignment 'root_buffer=malloc(list->root->used*sizeof(struct listroot*))', assigned value is 0 tintin-2.02.20/src/list.c:645:5: note: Null pointer dereference tintin-2.02.20/src/list.c:646:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:646:5: note: Null pointer dereference tintin-2.02.20/src/list.c:650:13: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:650:13: note: Null pointer dereference tintin-2.02.20/src/list.c:657:28: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:657:28: note: Null pointer dereference tintin-2.02.20/src/list.c:657:55: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:657:55: note: Null pointer dereference tintin-2.02.20/src/list.c:659:35: warning: If memory allocation fails, then there is a possible null pointer dereference: root_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:638:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:638:24: note: Assignment 'root_buffer=malloc(list->root->used*sizeof(struct listroot*))', assigned value is 0 tintin-2.02.20/src/list.c:659:35: note: Null pointer dereference tintin-2.02.20/src/list.c:660:35: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:660:35: note: Null pointer dereference tintin-2.02.20/src/list.c:672:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:668:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:668:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:672:5: note: Null pointer dereference tintin-2.02.20/src/list.c:679:35: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:668:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:668:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:679:35: note: Null pointer dereference tintin-2.02.20/src/list.c:843:5: warning: If memory allocation fails, then there is a possible null pointer dereference: root_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:836:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:836:24: note: Assignment 'root_buffer=malloc(list->root->used*sizeof(struct listroot*))', assigned value is 0 tintin-2.02.20/src/list.c:843:5: note: Null pointer dereference tintin-2.02.20/src/list.c:844:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:844:5: note: Null pointer dereference tintin-2.02.20/src/list.c:848:13: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:848:13: note: Null pointer dereference tintin-2.02.20/src/list.c:855:28: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:855:28: note: Null pointer dereference tintin-2.02.20/src/list.c:855:55: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:855:55: note: Null pointer dereference tintin-2.02.20/src/list.c:857:35: warning: If memory allocation fails, then there is a possible null pointer dereference: root_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:836:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:836:24: note: Assignment 'root_buffer=malloc(list->root->used*sizeof(struct listroot*))', assigned value is 0 tintin-2.02.20/src/list.c:857:35: note: Null pointer dereference tintin-2.02.20/src/list.c:858:35: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:858:35: note: Null pointer dereference tintin-2.02.20/src/list.c:870:5: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:866:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:866:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:870:5: note: Null pointer dereference tintin-2.02.20/src/list.c:877:35: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:866:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:866:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:877:35: note: Null pointer dereference tintin-2.02.20/src/list.c:151:58: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/list.c:233:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:306:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:405:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:447:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:479:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:508:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:566:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:746:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/list.c:771:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/log.c:146:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/log.c:250:28: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/log.c:240:60: style:inconclusive: Function 'logit' argument 4 names different: declaration 'newline' definition 'flags'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2385:67: note: Function 'logit' argument 4 names different: declaration 'newline' definition 'flags'. tintin-2.02.20/src/log.c:240:60: note: Function 'logit' argument 4 names different: declaration 'newline' definition 'flags'. tintin-2.02.20/src/log.c:286:53: style:inconclusive: Function 'logheader' argument 3 names different: declaration 'newline' definition 'flags'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2381:60: note: Function 'logheader' argument 3 names different: declaration 'newline' definition 'flags'. tintin-2.02.20/src/log.c:286:53: note: Function 'logheader' argument 3 names different: declaration 'newline' definition 'flags'. tintin-2.02.20/src/log.c:313:40: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/log.c:358:7: style: Variable 'xtc' can be declared as const array [constVariable] tintin-2.02.20/src/log.c:359:8: style: Variable 'ans' can be declared as const array [constVariable] tintin-2.02.20/src/log.c:146:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/main.c:229:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/main.c:464:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/main.c:711:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/main.c:720:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/main.c:814:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/main.c:394:5: warning: Either the condition 'i<100' is redundant or the array 'gtd->vars[100]' is accessed at index 100, which is out of bounds. [arrayIndexOutOfBoundsCond] tintin-2.02.20/src/main.c:392:10: note: Assuming that condition 'i<100' is not redundant tintin-2.02.20/src/main.c:394:5: note: Array index out of bounds tintin-2.02.20/src/main.c:457:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gtd->system [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:455:53: note: Assuming allocation function fails tintin-2.02.20/src/main.c:455:24: note: Assignment 'gtd->system=(struct system_data*)calloc(1,sizeof(struct system_data))', assigned value is 0 tintin-2.02.20/src/main.c:457:5: note: Null pointer dereference tintin-2.02.20/src/main.c:504:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gtd->screen [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:502:22: note: Assuming allocation function fails tintin-2.02.20/src/main.c:502:22: note: Assignment 'gtd->screen=calloc(1,sizeof(struct screen_data))', assigned value is 0 tintin-2.02.20/src/main.c:504:5: note: Null pointer dereference tintin-2.02.20/src/main.c:518:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:518:2: note: Null pointer dereference tintin-2.02.20/src/main.c:519:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:519:2: note: Null pointer dereference tintin-2.02.20/src/main.c:520:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:520:2: note: Null pointer dereference tintin-2.02.20/src/main.c:521:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:521:2: note: Null pointer dereference tintin-2.02.20/src/main.c:522:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:522:2: note: Null pointer dereference tintin-2.02.20/src/main.c:523:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:523:2: note: Null pointer dereference tintin-2.02.20/src/main.c:524:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:524:2: note: Null pointer dereference tintin-2.02.20/src/main.c:525:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:525:2: note: Null pointer dereference tintin-2.02.20/src/main.c:526:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:526:2: note: Null pointer dereference tintin-2.02.20/src/main.c:527:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:527:2: note: Null pointer dereference tintin-2.02.20/src/main.c:528:2: warning: If memory allocation fails, then there is a possible null pointer dereference: gts [nullPointerOutOfMemory] tintin-2.02.20/src/main.c:516:33: note: Assuming allocation function fails tintin-2.02.20/src/main.c:516:8: note: Assignment 'gts=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/main.c:528:2: note: Null pointer dereference tintin-2.02.20/src/main.c:92:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] tintin-2.02.20/src/main.c:758:38: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/main.c:789:37: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:3965:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5266:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5320:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5399:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5439:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5835:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5865:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5888:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5983:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:5998:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:6354:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:6958:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:7460:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:8307:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:8319:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:8520:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:8560:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/mapper.c:8120:41: style: Condition '*arg2==0' is always false [knownConditionTrueFalse] tintin-2.02.20/src/mapper.c:161:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ses->map [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:160:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:160:13: note: Assignment 'ses->map=(struct map_data*)calloc(1,sizeof(struct map_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:161:5: note: Null pointer dereference tintin-2.02.20/src/mapper.c:176:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ses->map->global_exit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:175:61: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:175:34: note: Assignment 'ses->map->global_exit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:176:10: note: Null pointer dereference tintin-2.02.20/src/mapper.c:305:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:305:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:307:69: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:69: note: Null pointer dereference tintin-2.02.20/src/mapper.c:316:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:316:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:317:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:317:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:318:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:318:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:319:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:319:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:320:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:320:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:321:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:321:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:322:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:322:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:323:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:323:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:324:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:324:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:325:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:325:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:326:52: warning: If memory allocation fails, then there is a possible null pointer dereference: newroom [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:301:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:301:12: note: Assignment 'newroom=(struct room_data*)calloc(1,sizeof(struct room_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:307:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:326:52: note: Null pointer dereference tintin-2.02.20/src/mapper.c:441:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:441:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:451:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:451:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:453:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:453:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:454:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:454:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:455:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:455:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:456:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:456:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:457:51: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:457:51: note: Null pointer dereference tintin-2.02.20/src/mapper.c:458:58: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:458:58: note: Null pointer dereference tintin-2.02.20/src/mapper.c:459:58: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:459:58: note: Null pointer dereference tintin-2.02.20/src/mapper.c:461:6: warning: If memory allocation fails, then there is a possible null pointer dereference: newexit [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:435:39: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:435:12: note: Assignment 'newexit=(struct exit_data*)calloc(1,sizeof(struct exit_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:444:46: note: Assuming condition is false tintin-2.02.20/src/mapper.c:461:6: note: Null pointer dereference tintin-2.02.20/src/mapper.c:1977:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:1975:36: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:1975:9: note: Assignment 'link=(struct link_data*)calloc(1,sizeof(struct link_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:1977:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:1978:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:1975:36: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:1975:9: note: Assignment 'link=(struct link_data*)calloc(1,sizeof(struct link_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:1978:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:1979:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:1975:36: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:1975:9: note: Assignment 'link=(struct link_data*)calloc(1,sizeof(struct link_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:1979:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:1981:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/mapper.c:1975:36: note: Assuming allocation function fails tintin-2.02.20/src/mapper.c:1975:9: note: Assignment 'link=(struct link_data*)calloc(1,sizeof(struct link_data))', assigned value is 0 tintin-2.02.20/src/mapper.c:1981:2: note: Null pointer dereference tintin-2.02.20/src/mapper.c:5468:8: style: Variable 'room' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/mapper.c:5458:9: note: room is assigned tintin-2.02.20/src/mapper.c:5468:8: note: room is overwritten tintin-2.02.20/src/mapper.c:422:56: style:inconclusive: Function 'create_exit' argument 2 names different: declaration 'room' definition 'vnum'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:41:63: note: Function 'create_exit' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:422:56: note: Function 'create_exit' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:684:46: style:inconclusive: Function 'set_room_exits' argument 2 names different: declaration 'room' definition 'vnum'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:58:53: note: Function 'set_room_exits' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:684:46: note: Function 'set_room_exits' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:1155:86: style:inconclusive: Function 'draw_terrain_symbol' argument 4 names different: declaration 'col' definition 'index'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:61:93: note: Function 'draw_terrain_symbol' argument 4 names different: declaration 'col' definition 'index'. tintin-2.02.20/src/mapper.c:1155:86: note: Function 'draw_terrain_symbol' argument 4 names different: declaration 'col' definition 'index'. tintin-2.02.20/src/mapper.c:2022:49: style:inconclusive: Function 'displaygrid_build' argument 2 names different: declaration 'room' definition 'vnum'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:62:56: note: Function 'displaygrid_build' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:2022:49: note: Function 'displaygrid_build' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:3980:41: style:inconclusive: Function 'match_room' argument 2 names different: declaration 'room' definition 'vnum'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:45:49: note: Function 'match_room' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:3980:41: note: Function 'match_room' argument 2 names different: declaration 'room' definition 'vnum'. tintin-2.02.20/src/mapper.c:4842:47: style:inconclusive: Function 'spatialgrid_find' argument 2 names different: declaration 'vnum' definition 'from'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:73:55: note: Function 'spatialgrid_find' argument 2 names different: declaration 'vnum' definition 'from'. tintin-2.02.20/src/mapper.c:4842:47: note: Function 'spatialgrid_find' argument 2 names different: declaration 'vnum' definition 'from'. tintin-2.02.20/src/mapper.c:4978:55: style:inconclusive: Function 'explore_path' argument 3 names different: declaration 'left' definition 'arg1'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:69:62: note: Function 'explore_path' argument 3 names different: declaration 'left' definition 'arg1'. tintin-2.02.20/src/mapper.c:4978:55: note: Function 'explore_path' argument 3 names different: declaration 'left' definition 'arg1'. tintin-2.02.20/src/mapper.c:4978:67: style:inconclusive: Function 'explore_path' argument 4 names different: declaration 'right' definition 'arg2'. [funcArgNamesDifferent] tintin-2.02.20/src/mapper.c:69:74: note: Function 'explore_path' argument 4 names different: declaration 'right' definition 'arg2'. tintin-2.02.20/src/mapper.c:4978:67: note: Function 'explore_path' argument 4 names different: declaration 'right' definition 'arg2'. tintin-2.02.20/src/mapper.c:5063:51: style:inconclusive: Function 'map_mouse_handler' argument 2 names different: declaration 'left' definition 'arg1'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2076:58: note: Function 'map_mouse_handler' argument 2 names different: declaration 'left' definition 'arg1'. tintin-2.02.20/src/mapper.c:5063:51: note: Function 'map_mouse_handler' argument 2 names different: declaration 'left' definition 'arg1'. tintin-2.02.20/src/mapper.c:5063:63: style:inconclusive: Function 'map_mouse_handler' argument 3 names different: declaration 'right' definition 'arg2'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2076:70: note: Function 'map_mouse_handler' argument 3 names different: declaration 'right' definition 'arg2'. tintin-2.02.20/src/mapper.c:5063:63: note: Function 'map_mouse_handler' argument 3 names different: declaration 'right' definition 'arg2'. tintin-2.02.20/src/mapper.c:3983:6: style: Local variable 'match' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2917:12: note: Shadowed declaration tintin-2.02.20/src/mapper.c:3983:6: note: Shadow variable tintin-2.02.20/src/mapper.c:5151:68: style: Clarify calculation precedence for '/' and '?'. [clarifyCalculation] tintin-2.02.20/src/mapper.c:528:20: style: Variable 'room' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:537:72: style: Parameter 'exit' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:539:20: style: Variable 'room' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:548:62: style: Parameter 'exit' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:710:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:829:43: style: Parameter 'room' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:1112:67: style: Parameter 'room' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:1794:20: style: Variable 'room' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:2028:27: style: Variable 'toroom' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:2946:21: style: Variable 'room_w' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:4134:20: style: Variable 'exit' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:4348:31: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:4362:45: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:4362:66: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:4377:50: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:4391:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/mapper.c:4422:21: style: Variable 'exit' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:4730:20: style: Variable 'room' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:4847:27: style: Variable 'toroom' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:5134:9: style: Variable 'grid' can be declared as const array [constVariable] tintin-2.02.20/src/mapper.c:5148:9: style: Variable 'grid' can be declared as const array [constVariable] tintin-2.02.20/src/mapper.c:5437:20: style: Variable 'exit' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:5831:20: style: Variable 'exit' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:7501:20: style: Variable 'room' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:8316:28: style: Variable 'exit2' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:8649:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/mapper.c:326:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:459:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:1973:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:4188:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5266:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5320:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5345:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5399:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5418:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5439:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5495:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5571:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5835:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5865:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5888:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5983:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:5998:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:6182:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:6354:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:6411:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:6658:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:6958:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:7460:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:7738:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:7811:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:7969:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8118:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8307:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8319:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8520:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8560:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mapper.c:8655:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/math.c:114:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/math.c:299:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/math.c:297:36: note: Assuming allocation function fails tintin-2.02.20/src/math.c:297:9: note: Assignment 'link=(struct math_node*)calloc(1,sizeof(struct math_node))', assigned value is 0 tintin-2.02.20/src/math.c:299:2: note: Null pointer dereference tintin-2.02.20/src/math.c:300:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/math.c:297:36: note: Assuming allocation function fails tintin-2.02.20/src/math.c:297:9: note: Assignment 'link=(struct math_node*)calloc(1,sizeof(struct math_node))', assigned value is 0 tintin-2.02.20/src/math.c:300:2: note: Null pointer dereference tintin-2.02.20/src/math.c:301:2: warning: If memory allocation fails, then there is a possible null pointer dereference: link [nullPointerOutOfMemory] tintin-2.02.20/src/math.c:297:36: note: Assuming allocation function fails tintin-2.02.20/src/math.c:297:9: note: Assignment 'link=(struct math_node*)calloc(1,sizeof(struct math_node))', assigned value is 0 tintin-2.02.20/src/math.c:301:2: note: Null pointer dereference tintin-2.02.20/src/math.c:452:8: style: Variable 'pta' is assigned an expression that holds the same value. [redundantAssignment] tintin-2.02.20/src/math.c:440:15: note: Assuming that condition 'pta!=buf3' is not redundant tintin-2.02.20/src/math.c:452:8: note: Variable 'pta' is assigned an expression that holds the same value. tintin-2.02.20/src/math.c:645:8: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:642:8: note: status is assigned tintin-2.02.20/src/math.c:645:8: note: status is overwritten tintin-2.02.20/src/math.c:645:8: style: Variable 'point' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:642:8: note: point is assigned tintin-2.02.20/src/math.c:645:8: note: point is overwritten tintin-2.02.20/src/math.c:686:8: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:682:8: note: status is assigned tintin-2.02.20/src/math.c:686:8: note: status is overwritten tintin-2.02.20/src/math.c:686:8: style: Variable 'point' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:682:8: note: point is assigned tintin-2.02.20/src/math.c:686:8: note: point is overwritten tintin-2.02.20/src/math.c:688:12: style: Variable 'pta' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:686:8: note: pta is assigned tintin-2.02.20/src/math.c:688:12: note: pta is overwritten tintin-2.02.20/src/math.c:1269:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:1265:7: note: ptr is assigned tintin-2.02.20/src/math.c:1269:6: note: ptr is overwritten tintin-2.02.20/src/math.c:1386:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/math.c:1382:7: note: ptr is assigned tintin-2.02.20/src/math.c:1386:6: note: ptr is overwritten tintin-2.02.20/src/math.c:235:51: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:235:63: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:1224:42: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:1250:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/math.c:1368:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/math.c:1457:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/math.c:1526:38: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:1526:62: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:1564:60: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:1564:84: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/math.c:114:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/mccp.c:33:25: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: gtd->memory [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:64:33: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:64:33: note: Assignment 'gtd->memory=calloc(1,sizeof(struct memory_data))', assigned value is 0 tintin-2.02.20/src/memory.c:66:5: note: Null pointer dereference tintin-2.02.20/src/memory.c:623:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:621:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:621:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:623:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:624:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:621:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:621:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:624:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:625:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:621:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:621:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:625:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:627:22: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:621:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:621:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:627:22: note: Null pointer dereference tintin-2.02.20/src/memory.c:634:6: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:621:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:621:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:634:6: note: Null pointer dereference tintin-2.02.20/src/memory.c:686:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:686:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:687:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:687:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:688:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:688:3: note: Null pointer dereference tintin-2.02.20/src/memory.c:690:21: warning: If memory allocation fails, then there is a possible null pointer dereference: str_ptr [nullPointerOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:690:21: note: Null pointer dereference tintin-2.02.20/src/memory.c:98:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:693:20: note: Calling function 'get_str_str', 1st argument 'str_ptr' value is 0 tintin-2.02.20/src/memory.c:98:26: note: Null pointer addition tintin-2.02.20/src/memory.c:133:21: style:inconclusive: Function 'str_alloc' argument 1 names different: declaration 'len' definition 'size'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2435:28: note: Function 'str_alloc' argument 1 names different: declaration 'len' definition 'size'. tintin-2.02.20/src/memory.c:133:21: note: Function 'str_alloc' argument 1 names different: declaration 'len' definition 'size'. tintin-2.02.20/src/memory.c:153:25: style:inconclusive: Function 'str_resize' argument 1 names different: declaration 'ptr' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2444:32: note: Function 'str_resize' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:153:25: note: Function 'str_resize' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:166:19: style:inconclusive: Function 'str_fix' argument 1 names different: declaration 'str' definition 'original'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2431:27: note: Function 'str_fix' argument 1 names different: declaration 'str' definition 'original'. tintin-2.02.20/src/memory.c:166:19: note: Function 'str_fix' argument 1 names different: declaration 'str' definition 'original'. tintin-2.02.20/src/memory.c:175:23: style:inconclusive: Function 'str_fix_len' argument 1 names different: declaration 'str' definition 'original'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2432:31: note: Function 'str_fix_len' argument 1 names different: declaration 'str' definition 'original'. tintin-2.02.20/src/memory.c:175:23: note: Function 'str_fix_len' argument 1 names different: declaration 'str' definition 'original'. tintin-2.02.20/src/memory.c:277:22: warning: Function 'str_cpy' argument order different: declaration 'ptr, str' definition 'str, buf' [funcArgOrderDifferent] tintin-2.02.20/src/tintin.h:2446:29: note: Function 'str_cpy' argument order different: declaration 'ptr, str' definition 'str, buf' tintin-2.02.20/src/memory.c:277:22: note: Function 'str_cpy' argument order different: declaration 'ptr, str' definition 'str, buf' tintin-2.02.20/src/memory.c:299:29: style:inconclusive: Function 'str_cpy_printf' argument 1 names different: declaration 'ptr' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2447:36: note: Function 'str_cpy_printf' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:299:29: note: Function 'str_cpy_printf' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:336:22: style:inconclusive: Function 'str_ndup' argument 1 names different: declaration 'original' definition 'buf'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2442:29: note: Function 'str_ndup' argument 1 names different: declaration 'original' definition 'buf'. tintin-2.02.20/src/memory.c:336:22: note: Function 'str_ndup' argument 1 names different: declaration 'original' definition 'buf'. tintin-2.02.20/src/memory.c:347:23: warning: Function 'str_ncpy' argument order different: declaration 'ptr, str, len' definition 'str, buf, len' [funcArgOrderDifferent] tintin-2.02.20/src/tintin.h:2448:30: note: Function 'str_ncpy' argument order different: declaration 'ptr, str, len' definition 'str, buf, len' tintin-2.02.20/src/memory.c:347:23: note: Function 'str_ncpy' argument order different: declaration 'ptr, str, len' definition 'str, buf, len' tintin-2.02.20/src/memory.c:398:26: style:inconclusive: Function 'str_cat_chr' argument 1 names different: declaration 'ptr' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2451:33: note: Function 'str_cat_chr' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:398:26: note: Function 'str_cat_chr' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:592:21: style:inconclusive: Function 'str_free' argument 1 names different: declaration 'ptr' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2436:29: note: Function 'str_free' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:592:21: note: Function 'str_free' argument 1 names different: declaration 'ptr' definition 'str'. tintin-2.02.20/src/memory.c:30:35: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:91:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:199:21: style: Parameter 'original' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:277:33: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:347:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:373:37: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/memory.c:540:8: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/misc.c:33:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/misc.c:33:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/msdp.c:615:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/msdp.c:626:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/msdp.c:633:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/msdp.c:977:23: style:inconclusive: Function 'tintin2msdp' argument 1 names different: declaration 'src' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2495:31: note: Function 'tintin2msdp' argument 1 names different: declaration 'src' definition 'str'. tintin-2.02.20/src/msdp.c:977:23: note: Function 'tintin2msdp' argument 1 names different: declaration 'src' definition 'str'. tintin-2.02.20/src/msdp.c:134:87: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/msdp.c:286:32: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/msdp.c:562:8: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/msdp.c:714:30: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/msdp.c:831:30: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/msdp.c:977:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/nest.c:214:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/nest.c:870:51: style:inconclusive: Function 'show_nest_node' argument 2 names different: declaration 'result' definition 'str_result'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2521:58: note: Function 'show_nest_node' argument 2 names different: declaration 'result' definition 'str_result'. tintin-2.02.20/src/nest.c:870:51: note: Function 'show_nest_node' argument 2 names different: declaration 'result' definition 'str_result'. tintin-2.02.20/src/nest.c:37:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/nest.c:330:33: style: Variable 'ptv' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/nest.c:214:9: style: Variable 'path' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/nest.c:1066:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/nest.c:1158:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/nest.c:1255:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/nest.c:1352:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/net.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/net.c:236:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/net.c:210:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] tintin-2.02.20/src/net.c:566:6: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/net.c:566:6: note: Shadow variable tintin-2.02.20/src/net.c:197:44: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/net.c:208:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/net.c:475:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/parse.c:97:8: style: Variable 'pt1' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/parse.c:97:14: style: Variable 'pt2' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/parse.c:145:28: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/parse.c:154:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/parse.c:348:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/parse.c:348:45: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/parse.c:439:9: style: Variable 'input' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/parse.c:454:10: style: Variable 'input' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] tintin-2.02.20/src/path.c:288:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:521:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:590:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:845:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:880:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:1006:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/path.c:159:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/path.c:363:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/path.c:1073:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/path.c:1082:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/path.c:234:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:288:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:368:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:521:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:590:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:845:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:880:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/path.c:1006:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/port.c:126:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/port.c:264:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_NONBLOCK [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/port.c:535:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/port.c:675:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/port.c:95:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/port.c:143:4: error: Resource leak: sock [resourceLeak] tintin-2.02.20/src/port.c:155:4: error: Resource leak: sock [resourceLeak] tintin-2.02.20/src/port.c:194:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ses->port [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:192:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:192:14: note: Assignment 'ses->port=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:194:5: note: Null pointer dereference tintin-2.02.20/src/port.c:292:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:292:2: note: Null pointer dereference tintin-2.02.20/src/port.c:294:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:294:2: note: Null pointer dereference tintin-2.02.20/src/port.c:295:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:295:2: note: Null pointer dereference tintin-2.02.20/src/port.c:296:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:296:2: note: Null pointer dereference tintin-2.02.20/src/port.c:297:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:297:2: note: Null pointer dereference tintin-2.02.20/src/port.c:298:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:298:2: note: Null pointer dereference tintin-2.02.20/src/port.c:299:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:299:2: note: Null pointer dereference tintin-2.02.20/src/port.c:300:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:300:2: note: Null pointer dereference tintin-2.02.20/src/port.c:302:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:302:2: note: Null pointer dereference tintin-2.02.20/src/port.c:306:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:306:2: note: Null pointer dereference tintin-2.02.20/src/port.c:308:46: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:308:46: note: Null pointer dereference tintin-2.02.20/src/port.c:308:61: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:308:61: note: Null pointer dereference tintin-2.02.20/src/port.c:315:66: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:315:66: note: Null pointer dereference tintin-2.02.20/src/port.c:315:83: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:315:83: note: Null pointer dereference tintin-2.02.20/src/port.c:315:103: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:315:103: note: Null pointer dereference tintin-2.02.20/src/port.c:531:15: warning: If memory allocation fails, then there is a possible null pointer dereference: buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:781:12: note: Assuming condition is false tintin-2.02.20/src/port.c:790:30: note: Calling function 'process_port_input', 2nd argument 'new_buddy' value is 0 tintin-2.02.20/src/port.c:531:15: note: Null pointer dereference tintin-2.02.20/src/port.c:762:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:762:2: note: Null pointer dereference tintin-2.02.20/src/port.c:763:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:763:2: note: Null pointer dereference tintin-2.02.20/src/port.c:765:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:765:2: note: Null pointer dereference tintin-2.02.20/src/port.c:766:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:766:2: note: Null pointer dereference tintin-2.02.20/src/port.c:767:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:767:2: note: Null pointer dereference tintin-2.02.20/src/port.c:768:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:768:2: note: Null pointer dereference tintin-2.02.20/src/port.c:769:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:769:2: note: Null pointer dereference tintin-2.02.20/src/port.c:771:66: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:771:66: note: Null pointer dereference tintin-2.02.20/src/port.c:771:83: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:771:83: note: Null pointer dereference tintin-2.02.20/src/port.c:771:103: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:771:103: note: Null pointer dereference tintin-2.02.20/src/port.c:84:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tintin-2.02.20/src/port.c:243:39: style:inconclusive: Function 'port_new' argument 2 names different: declaration 's' definition 'sock'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2639:47: note: Function 'port_new' argument 2 names different: declaration 's' definition 'sock'. tintin-2.02.20/src/port.c:243:39: note: Function 'port_new' argument 2 names different: declaration 's' definition 'sock'. tintin-2.02.20/src/port.c:647:66: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/port.c:1173:51: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/port.c:1216:51: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/port.c:1216:62: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/port.c:95:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/regex.c:82:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/regex.c:232:3: error: Using pointer to local variable 'result' that is out of scope. [invalidLifetime] tintin-2.02.20/src/regex.c:223:9: note: Array decayed to pointer here. tintin-2.02.20/src/regex.c:219:8: note: Variable created here. tintin-2.02.20/src/regex.c:232:3: note: Using pointer to local variable 'result' that is out of scope. tintin-2.02.20/src/regex.c:240:46: error: Using pointer to local variable 'result' that is out of scope. [invalidLifetime] tintin-2.02.20/src/regex.c:223:9: note: Array decayed to pointer here. tintin-2.02.20/src/regex.c:230:18: note: Assuming condition is false tintin-2.02.20/src/regex.c:219:8: note: Variable created here. tintin-2.02.20/src/regex.c:240:46: note: Using pointer to local variable 'result' that is out of scope. tintin-2.02.20/src/regex.c:534:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tintin-2.02.20/src/regex.c:913:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tintin-2.02.20/src/regex.c:32:58: style:inconclusive: Function 'match' argument 4 names different: declaration 'flags' definition 'sub'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2917:65: note: Function 'match' argument 4 names different: declaration 'flags' definition 'sub'. tintin-2.02.20/src/regex.c:32:58: note: Function 'match' argument 4 names different: declaration 'flags' definition 'sub'. tintin-2.02.20/src/regex.c:93:47: style:inconclusive: Function 'regexp_compare' argument 2 names different: declaration 'regex' definition 'nodepcre'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2919:54: note: Function 'regexp_compare' argument 2 names different: declaration 'regex' definition 'nodepcre'. tintin-2.02.20/src/regex.c:93:47: note: Function 'regexp_compare' argument 2 names different: declaration 'regex' definition 'nodepcre'. tintin-2.02.20/src/regex.c:458:46: style:inconclusive: Function 'tintin_regexp' argument 2 names different: declaration 'pcre' definition 'nodepcre'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2922:53: note: Function 'tintin_regexp' argument 2 names different: declaration 'pcre' definition 'nodepcre'. tintin-2.02.20/src/regex.c:458:46: note: Function 'tintin_regexp' argument 2 names different: declaration 'pcre' definition 'nodepcre'. tintin-2.02.20/src/regex.c:96:21: style: Local variable 'match' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2917:12: note: Shadowed declaration tintin-2.02.20/src/regex.c:96:21: note: Shadow variable tintin-2.02.20/src/regex.c:32:49: style: Parameter 'exp' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/regex.c:82:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/regex.c:347:7: style: Variable 'pto' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/scan.c:325:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/scan.c:342:4: error: Memory leak: dirlist [memleak] tintin-2.02.20/src/scan.c:334:36: error: Null pointer dereference [nullPointer] tintin-2.02.20/src/scan.c:435:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/scan.c:498:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/screen.c:435:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/screen.c:956:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/screen.c:1024:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/screen.c:2145:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] tintin-2.02.20/src/screen.c:1287:23: warning: Function 'csit_handler' argument order different: declaration 'var1, var2, var3' definition 'ind, var1, var2' [funcArgOrderDifferent] tintin-2.02.20/src/tintin.h:2669:30: note: Function 'csit_handler' argument order different: declaration 'var1, var2, var3' definition 'ind, var1, var2' tintin-2.02.20/src/screen.c:1287:23: note: Function 'csit_handler' argument order different: declaration 'var1, var2, var3' definition 'ind, var1, var2' tintin-2.02.20/src/screen.c:1358:46: style:inconclusive: Function 'rqlp_handler' argument 3 names different: declaration 'row' definition 'height'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2670:53: note: Function 'rqlp_handler' argument 3 names different: declaration 'row' definition 'height'. tintin-2.02.20/src/screen.c:1358:46: note: Function 'rqlp_handler' argument 3 names different: declaration 'row' definition 'height'. tintin-2.02.20/src/screen.c:1358:58: style:inconclusive: Function 'rqlp_handler' argument 4 names different: declaration 'col' definition 'width'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2670:62: note: Function 'rqlp_handler' argument 4 names different: declaration 'col' definition 'width'. tintin-2.02.20/src/screen.c:1358:58: note: Function 'rqlp_handler' argument 4 names different: declaration 'col' definition 'width'. tintin-2.02.20/src/screen.c:1403:34: style:inconclusive: Function 'screen_csi' argument 2 names different: declaration 'arg1' definition 'num1'. [funcArgNamesDifferent] tintin-2.02.20/src/screen.c:276:34: note: Function 'screen_csi' argument 2 names different: declaration 'arg1' definition 'num1'. tintin-2.02.20/src/screen.c:1403:34: note: Function 'screen_csi' argument 2 names different: declaration 'arg1' definition 'num1'. tintin-2.02.20/src/screen.c:1403:46: style:inconclusive: Function 'screen_csi' argument 3 names different: declaration 'arg2' definition 'num2'. [funcArgNamesDifferent] tintin-2.02.20/src/screen.c:276:46: note: Function 'screen_csi' argument 3 names different: declaration 'arg2' definition 'num2'. tintin-2.02.20/src/screen.c:1403:46: note: Function 'screen_csi' argument 3 names different: declaration 'arg2' definition 'num2'. tintin-2.02.20/src/screen.c:1403:58: style:inconclusive: Function 'screen_csi' argument 4 names different: declaration 'arg3' definition 'num3'. [funcArgNamesDifferent] tintin-2.02.20/src/screen.c:276:58: note: Function 'screen_csi' argument 4 names different: declaration 'arg3' definition 'num3'. tintin-2.02.20/src/screen.c:1403:58: note: Function 'screen_csi' argument 4 names different: declaration 'arg3' definition 'num3'. tintin-2.02.20/src/screen.c:1414:69: style:inconclusive: Function 'screen_csit' argument 4 names different: declaration 'tc' definition 'arg3'. [funcArgNamesDifferent] tintin-2.02.20/src/screen.c:277:69: note: Function 'screen_csit' argument 4 names different: declaration 'tc' definition 'arg3'. tintin-2.02.20/src/screen.c:1414:69: note: Function 'screen_csit' argument 4 names different: declaration 'tc' definition 'arg3'. tintin-2.02.20/src/screen.c:1847:42: style:inconclusive: Function 'init_screen' argument 3 names different: declaration 'pix_rows' definition 'height'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2691:49: note: Function 'init_screen' argument 3 names different: declaration 'pix_rows' definition 'height'. tintin-2.02.20/src/screen.c:1847:42: note: Function 'init_screen' argument 3 names different: declaration 'pix_rows' definition 'height'. tintin-2.02.20/src/screen.c:1847:54: style:inconclusive: Function 'init_screen' argument 4 names different: declaration 'pix_cols' definition 'width'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2691:63: note: Function 'init_screen' argument 4 names different: declaration 'pix_cols' definition 'width'. tintin-2.02.20/src/screen.c:1847:54: note: Function 'init_screen' argument 4 names different: declaration 'pix_cols' definition 'width'. tintin-2.02.20/src/screen.c:1892:28: style:inconclusive: Function 'get_line_screen' argument 1 names different: declaration 'str' definition 'result'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2699:35: note: Function 'get_line_screen' argument 1 names different: declaration 'str' definition 'result'. tintin-2.02.20/src/screen.c:1892:28: note: Function 'get_line_screen' argument 1 names different: declaration 'str' definition 'result'. tintin-2.02.20/src/screen.c:1897:28: style:inconclusive: Function 'get_word_screen' argument 1 names different: declaration 'str' definition 'result'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2701:35: note: Function 'get_word_screen' argument 1 names different: declaration 'str' definition 'result'. tintin-2.02.20/src/screen.c:1897:28: note: Function 'get_word_screen' argument 1 names different: declaration 'str' definition 'result'. tintin-2.02.20/src/screen.c:2131:49: style:inconclusive: Function 'set_grid_screen' argument 2 names different: declaration 'str' definition 'ins'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2694:56: note: Function 'set_grid_screen' argument 2 names different: declaration 'str' definition 'ins'. tintin-2.02.20/src/screen.c:2131:49: note: Function 'set_grid_screen' argument 2 names different: declaration 'str' definition 'ins'. tintin-2.02.20/src/screen.c:1239:35: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/screen.c:1270:35: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/screen.c:1807:1: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/screen.c:1812:42: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/screen.c:1937:14: style: Variable 'ptl' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/screen.c:435:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/screen.c:956:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/screen.c:1024:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/session.c:610:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/session.c:678:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/session.c:202:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/session.c:86:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/session.c:397:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:397:2: note: Null pointer dereference tintin-2.02.20/src/session.c:398:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:398:2: note: Null pointer dereference tintin-2.02.20/src/session.c:399:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:399:2: note: Null pointer dereference tintin-2.02.20/src/session.c:400:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:400:2: note: Null pointer dereference tintin-2.02.20/src/session.c:401:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:401:2: note: Null pointer dereference tintin-2.02.20/src/session.c:403:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:403:2: note: Null pointer dereference tintin-2.02.20/src/session.c:404:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:404:2: note: Null pointer dereference tintin-2.02.20/src/session.c:405:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:405:2: note: Null pointer dereference tintin-2.02.20/src/session.c:406:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:406:2: note: Null pointer dereference tintin-2.02.20/src/session.c:407:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:407:2: note: Null pointer dereference tintin-2.02.20/src/session.c:409:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:409:2: note: Null pointer dereference tintin-2.02.20/src/session.c:410:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:410:2: note: Null pointer dereference tintin-2.02.20/src/session.c:411:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:411:2: note: Null pointer dereference tintin-2.02.20/src/session.c:412:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:412:2: note: Null pointer dereference tintin-2.02.20/src/session.c:413:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:413:2: note: Null pointer dereference tintin-2.02.20/src/session.c:415:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:415:2: note: Null pointer dereference tintin-2.02.20/src/session.c:416:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:416:2: note: Null pointer dereference tintin-2.02.20/src/session.c:418:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:418:2: note: Null pointer dereference tintin-2.02.20/src/session.c:420:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:420:2: note: Null pointer dereference tintin-2.02.20/src/session.c:422:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:422:2: note: Null pointer dereference tintin-2.02.20/src/session.c:446:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:446:2: note: Null pointer dereference tintin-2.02.20/src/session.c:448:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:448:2: note: Null pointer dereference tintin-2.02.20/src/session.c:450:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:450:9: note: Null pointer dereference tintin-2.02.20/src/session.c:452:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:452:2: note: Null pointer dereference tintin-2.02.20/src/session.c:453:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:453:2: note: Null pointer dereference tintin-2.02.20/src/session.c:455:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:455:2: note: Null pointer dereference tintin-2.02.20/src/session.c:457:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:457:2: note: Null pointer dereference tintin-2.02.20/src/session.c:459:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:459:2: note: Null pointer dereference tintin-2.02.20/src/session.c:461:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:461:2: note: Null pointer dereference tintin-2.02.20/src/session.c:464:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newses [nullPointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:464:2: note: Null pointer dereference tintin-2.02.20/src/session.c:163:10: style: Redundant initialization for 'sesptr'. The initialized value is overwritten before it is read. [redundantInitialization] tintin-2.02.20/src/session.c:156:25: note: sesptr is initialized tintin-2.02.20/src/session.c:163:10: note: sesptr is overwritten tintin-2.02.20/src/session.c:174:3: style: Variable 'sesptr' is assigned an expression that holds the same value. [redundantAssignment] tintin-2.02.20/src/session.c:156:25: note: sesptr is assigned 'ses' here. tintin-2.02.20/src/session.c:174:3: note: Variable 'sesptr' is assigned an expression that holds the same value. tintin-2.02.20/src/session.c:353:68: style:inconclusive: Function 'new_session' argument 3 names different: declaration 'address' definition 'arg'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2717:75: note: Function 'new_session' argument 3 names different: declaration 'address' definition 'arg'. tintin-2.02.20/src/session.c:353:68: note: Function 'new_session' argument 3 names different: declaration 'address' definition 'arg'. tintin-2.02.20/src/session.c:90:10: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/session.c:293:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/session.c:202:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/show.c:47:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/show.c:94:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/show.c:264:2: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] tintin-2.02.20/src/show.c:410:2: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] tintin-2.02.20/src/show.c:112:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/show.c:190:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/show.c:249:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/show.c:295:19: style: Variable 'root' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/show.c:47:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/show.c:94:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/show.c:202:9: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] tintin-2.02.20/src/show.c:338:9: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] tintin-2.02.20/src/show.c:453:9: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] tintin-2.02.20/src/split.c:70:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/split.c:119:42: style:inconclusive: Function 'init_split' argument 2 names different: declaration 'top' definition 'top_row'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2764:49: note: Function 'init_split' argument 2 names different: declaration 'top' definition 'top_row'. tintin-2.02.20/src/split.c:119:42: note: Function 'init_split' argument 2 names different: declaration 'top' definition 'top_row'. tintin-2.02.20/src/split.c:119:55: style:inconclusive: Function 'init_split' argument 3 names different: declaration 'bot' definition 'top_col'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2764:58: note: Function 'init_split' argument 3 names different: declaration 'bot' definition 'top_col'. tintin-2.02.20/src/split.c:119:55: note: Function 'init_split' argument 3 names different: declaration 'bot' definition 'top_col'. tintin-2.02.20/src/split.c:119:68: style:inconclusive: Function 'init_split' argument 4 names different: declaration 'left' definition 'bot_row'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2764:67: note: Function 'init_split' argument 4 names different: declaration 'left' definition 'bot_row'. tintin-2.02.20/src/split.c:119:68: note: Function 'init_split' argument 4 names different: declaration 'left' definition 'bot_row'. tintin-2.02.20/src/split.c:119:81: style:inconclusive: Function 'init_split' argument 5 names different: declaration 'right' definition 'bot_col'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2764:77: note: Function 'init_split' argument 5 names different: declaration 'right' definition 'bot_col'. tintin-2.02.20/src/split.c:119:81: note: Function 'init_split' argument 5 names different: declaration 'right' definition 'bot_col'. tintin-2.02.20/src/split.c:258:58: style:inconclusive: Function 'split_show' argument 3 names different: declaration 'row' definition 'row_str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2767:65: note: Function 'split_show' argument 3 names different: declaration 'row' definition 'row_str'. tintin-2.02.20/src/split.c:258:58: note: Function 'split_show' argument 3 names different: declaration 'row' definition 'row_str'. tintin-2.02.20/src/split.c:258:73: style:inconclusive: Function 'split_show' argument 4 names different: declaration 'col' definition 'col_str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2767:76: note: Function 'split_show' argument 4 names different: declaration 'col' definition 'col_str'. tintin-2.02.20/src/split.c:258:73: note: Function 'split_show' argument 4 names different: declaration 'col' definition 'col_str'. tintin-2.02.20/src/split.c:70:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/string.c:379:19: style: Condition 'raw_len>raw_end' is always false [knownConditionTrueFalse] tintin-2.02.20/src/string.c:371:49: note: Assuming that condition 'raw_len>raw_end' is not redundant tintin-2.02.20/src/string.c:379:19: note: Condition 'raw_len>raw_end' is always false tintin-2.02.20/src/string.c:65:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:111:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:148:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:202:37: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:260:37: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:317:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:317:44: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/string.c:477:8: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/substitute.c:270:45: style:inconclusive: Function 'valid_escape' argument 2 names different: declaration 'arg' definition 'str'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2811:53: note: Function 'valid_escape' argument 2 names different: declaration 'arg' definition 'str'. tintin-2.02.20/src/substitute.c:270:45: note: Function 'valid_escape' argument 2 names different: declaration 'arg' definition 'str'. tintin-2.02.20/src/substitute.c:438:51: style:inconclusive: Function 'fuzzy_color_code' argument 2 names different: declaration 'pti' definition 'in'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2812:58: note: Function 'fuzzy_color_code' argument 2 names different: declaration 'pti' definition 'in'. tintin-2.02.20/src/substitute.c:438:51: note: Function 'fuzzy_color_code' argument 2 names different: declaration 'pti' definition 'in'. tintin-2.02.20/src/substitute.c:610:49: style:inconclusive: Function 'dim_color_code' argument 2 names different: declaration 'pti' definition 'in'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2813:56: note: Function 'dim_color_code' argument 2 names different: declaration 'pti' definition 'in'. tintin-2.02.20/src/substitute.c:610:49: note: Function 'dim_color_code' argument 2 names different: declaration 'pti' definition 'in'. tintin-2.02.20/src/substitute.c:868:35: style:inconclusive: Function 'color_gradient' argument 2 names different: declaration 'low' definition 'min'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2815:42: note: Function 'color_gradient' argument 2 names different: declaration 'low' definition 'min'. tintin-2.02.20/src/substitute.c:868:35: note: Function 'color_gradient' argument 2 names different: declaration 'low' definition 'min'. tintin-2.02.20/src/substitute.c:2235:25: style:inconclusive: Function 'is_color_code' argument 1 names different: declaration 'str' definition 'pti'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2816:32: note: Function 'is_color_code' argument 1 names different: declaration 'str' definition 'pti'. tintin-2.02.20/src/substitute.c:2235:25: note: Function 'is_color_code' argument 1 names different: declaration 'str' definition 'pti'. tintin-2.02.20/src/substitute.c:2314:25: style:inconclusive: Function 'is_color_name' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2817:32: note: Function 'is_color_name' argument 1 names different: declaration 'str' definition 'string'. tintin-2.02.20/src/substitute.c:2314:25: note: Function 'is_color_name' argument 1 names different: declaration 'str' definition 'string'. tintin-2.02.20/src/substitute.c:2490:48: style:inconclusive: Function 'get_color_names' argument 2 names different: declaration 'htype' definition 'string'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3051:56: note: Function 'get_color_names' argument 2 names different: declaration 'htype' definition 'string'. tintin-2.02.20/src/substitute.c:2490:48: note: Function 'get_color_names' argument 2 names different: declaration 'htype' definition 'string'. tintin-2.02.20/src/substitute.c:142:23: style: Variable 'c256_val' can be declared as const array [constVariable] tintin-2.02.20/src/substitute.c:169:23: style: Variable 'c4096_val' can be declared as const array [constVariable] tintin-2.02.20/src/substitute.c:196:23: style: Variable 'c4096_to_256' can be declared as const array [constVariable] tintin-2.02.20/src/substitute.c:236:23: style: Variable 'c32_lookup' can be declared as const array [constVariable] tintin-2.02.20/src/substitute.c:270:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:270:45: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:297:44: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:343:44: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:438:51: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:610:49: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:730:31: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:751:49: style: Parameter 'pti' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/substitute.c:1035:42: style: Variable 'out' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/substitute.c:2235:25: style: Parameter 'pti' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/system.c:53:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/system.c:343:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] tintin-2.02.20/src/system.c:103:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/system.c:321:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/telopt_client.c:1998:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ses->mccp2 [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:1996:34: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:1996:15: note: Assignment 'ses->mccp2=(z_stream*)calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:1998:5: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2124:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2124:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2125:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2125:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2127:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2127:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2128:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2128:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2130:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2130:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2131:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2131:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2132:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2132:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2133:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2133:2: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:2135:18: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_client.c:2122:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_client.c:2122:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_client.c:2135:18: note: Null pointer dereference tintin-2.02.20/src/telopt_client.c:360:12: style: Variable 'skip' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/telopt_client.c:350:16: note: skip is assigned tintin-2.02.20/src/telopt_client.c:360:12: note: skip is overwritten tintin-2.02.20/src/telopt_client.c:360:12: style: Variable 'skip' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/telopt_client.c:354:16: note: skip is assigned tintin-2.02.20/src/telopt_client.c:360:12: note: skip is overwritten tintin-2.02.20/src/telopt_client.c:382:12: style: Variable 'skip' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/telopt_client.c:372:16: note: skip is assigned tintin-2.02.20/src/telopt_client.c:382:12: note: skip is overwritten tintin-2.02.20/src/telopt_client.c:382:12: style: Variable 'skip' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/telopt_client.c:376:16: note: skip is assigned tintin-2.02.20/src/telopt_client.c:382:12: note: skip is overwritten tintin-2.02.20/src/telopt_client.c:1129:4: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] tintin-2.02.20/src/telopt_client.c:1124:4: note: i is assigned tintin-2.02.20/src/telopt_client.c:1129:4: note: i is overwritten tintin-2.02.20/src/telopt_client.c:1616:71: style:inconclusive: Function 'client_recv_sb_zmp' argument 3 names different: declaration 'cpsrc' definition 'src'. [funcArgNamesDifferent] tintin-2.02.20/src/telopt_client.c:53:80: note: Function 'client_recv_sb_zmp' argument 3 names different: declaration 'cpsrc' definition 'src'. tintin-2.02.20/src/telopt_client.c:1616:71: note: Function 'client_recv_sb_zmp' argument 3 names different: declaration 'cpsrc' definition 'src'. tintin-2.02.20/src/telopt_client.c:717:96: style: Argument 'cols%256' to function telnet_printf is always 255. It does not matter what value 'cols' has. [knownArgument] tintin-2.02.20/src/telopt_client.c:715:17: note: Assuming that condition 'cols%256==255' is not redundant tintin-2.02.20/src/telopt_client.c:717:96: note: Argument 'cols%256' to function telnet_printf is always 255. It does not matter what value 'cols' has. tintin-2.02.20/src/telopt_client.c:721:94: style: Argument 'cols%256' to function telnet_printf is always 255. It does not matter what value 'cols' has. [knownArgument] tintin-2.02.20/src/telopt_client.c:719:22: note: Assuming that condition 'cols%256==255' is not redundant tintin-2.02.20/src/telopt_client.c:721:94: note: Argument 'cols%256' to function telnet_printf is always 255. It does not matter what value 'cols' has. tintin-2.02.20/src/telopt_client.c:566:71: style: Parameter 'cpsrc' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:586:75: style: Parameter 'cpsrc' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:602:73: style: Parameter 'cpsrc' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:651:74: style: Parameter 'cpsrc' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:1431:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:1941:43: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:2237:67: style: Parameter 'cpsrc' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_client.c:685:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] tintin-2.02.20/src/telopt_client.c:687:3: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] tintin-2.02.20/src/telopt_server.c:981:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:981:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:982:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:982:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:984:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:984:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:985:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:985:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:987:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:987:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:988:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:988:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:989:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:989:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:990:2: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:990:2: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:996:19: warning: If memory allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:979:17: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:979:17: note: Assignment 'stream=calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:996:19: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:1118:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buddy->mccp3 [nullPointerOutOfMemory] tintin-2.02.20/src/telopt_server.c:1116:36: note: Assuming allocation function fails tintin-2.02.20/src/telopt_server.c:1116:17: note: Assignment 'buddy->mccp3=(z_stream*)calloc(1,sizeof(z_stream))', assigned value is 0 tintin-2.02.20/src/telopt_server.c:1118:7: note: Null pointer dereference tintin-2.02.20/src/telopt_server.c:1103:38: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_server.c:1103:61: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_server.c:1103:83: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_server.c:1150:29: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_server.c:1150:52: style: Parameter 'buddy' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/telopt_server.c:1150:74: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/terminal.c:54:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/terminal.c:100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/terminal.c:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/terminal.c:141:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/terminal.c:158:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/terminal.c:119:47: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/terminal.c:216:37: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/terminal.c:221:35: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/text.c:114:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/text.c:247:12: style: Variable 'chi' is assigned an expression that holds the same value. [redundantAssignment] tintin-2.02.20/src/text.c:247:10: note: pti is assigned 'lis' here. tintin-2.02.20/src/text.c:247:12: note: Variable 'chi' is assigned an expression that holds the same value. tintin-2.02.20/src/text.c:29:54: style:inconclusive: Function 'print_line' argument 3 names different: declaration 'isaprompt' definition 'prompt'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2901:61: note: Function 'print_line' argument 3 names different: declaration 'isaprompt' definition 'prompt'. tintin-2.02.20/src/text.c:29:54: note: Function 'print_line' argument 3 names different: declaration 'isaprompt' definition 'prompt'. tintin-2.02.20/src/text.c:129:69: style:inconclusive: Function 'word_wrap' argument 4 names different: declaration 'display' definition 'flags'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:2903:77: note: Function 'word_wrap' argument 4 names different: declaration 'display' definition 'flags'. tintin-2.02.20/src/text.c:129:69: note: Function 'word_wrap' argument 4 names different: declaration 'display' definition 'flags'. tintin-2.02.20/src/text.c:132:32: style: Variable 'chi' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/text.c:132:38: style: Variable 'cho' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/text.c:152:15: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/tokenize.c:145:2: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:143:38: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:143:10: note: Assignment 'token=(struct scriptnode*)calloc(1,sizeof(struct scriptnode))', assigned value is 0 tintin-2.02.20/src/tokenize.c:145:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:146:2: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:143:38: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:143:10: note: Assignment 'token=(struct scriptnode*)calloc(1,sizeof(struct scriptnode))', assigned value is 0 tintin-2.02.20/src/tokenize.c:146:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:147:2: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:143:38: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:143:10: note: Assignment 'token=(struct scriptnode*)calloc(1,sizeof(struct scriptnode))', assigned value is 0 tintin-2.02.20/src/tokenize.c:147:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:148:2: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:143:38: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:143:10: note: Assignment 'token=(struct scriptnode*)calloc(1,sizeof(struct scriptnode))', assigned value is 0 tintin-2.02.20/src/tokenize.c:148:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:150:2: warning: If memory allocation fails, then there is a possible null pointer dereference: token [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:143:38: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:143:10: note: Assignment 'token=(struct scriptnode*)calloc(1,sizeof(struct scriptnode))', assigned value is 0 tintin-2.02.20/src/tokenize.c:150:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:166:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:160:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:160:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:166:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:167:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:160:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:160:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:167:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:171:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:160:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:160:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:171:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:188:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:184:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:184:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:188:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:189:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:184:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:184:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:189:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:193:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:184:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:184:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:193:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:236:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:236:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:237:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:237:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:238:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:238:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:239:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:239:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:239:14: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:239:14: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:334:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:334:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:335:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:335:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:337:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:337:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:338:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:338:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:338:14: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:338:14: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:399:2: warning: If memory allocation fails, then there is a possible null pointer dereference: regex [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:397:40: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:397:10: note: Assignment 'regex=(struct script_regex*)calloc(1,sizeof(struct script_regex))', assigned value is 0 tintin-2.02.20/src/tokenize.c:399:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:400:2: warning: If memory allocation fails, then there is a possible null pointer dereference: regex [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:397:40: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:397:10: note: Assignment 'regex=(struct script_regex*)calloc(1,sizeof(struct script_regex))', assigned value is 0 tintin-2.02.20/src/tokenize.c:400:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:401:2: warning: If memory allocation fails, then there is a possible null pointer dereference: regex [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:397:40: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:397:10: note: Assignment 'regex=(struct script_regex*)calloc(1,sizeof(struct script_regex))', assigned value is 0 tintin-2.02.20/src/tokenize.c:401:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:410:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1304:12: note: Calling function 'deltoken', 1st argument 'root' value is 0 tintin-2.02.20/src/tokenize.c:410:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:466:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:464:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:464:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:466:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:467:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:464:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:464:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:467:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:468:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:464:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:464:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:468:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:490:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:488:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:488:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:490:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:491:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:488:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:488:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:491:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:492:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:488:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:488:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:492:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1075:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1280:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1280:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1286:27: note: Calling function 'write_script', 2nd argument 'root' value is 0 tintin-2.02.20/src/tokenize.c:1075:10: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1163:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1300:25: note: Calling function 'view_script', 2nd argument 'root' value is 0 tintin-2.02.20/src/tokenize.c:1163:10: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1282:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1280:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1280:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1282:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1296:2: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1296:2: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1302:9: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1302:9: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:1304:18: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1304:18: note: Null pointer dereference tintin-2.02.20/src/tokenize.c:139:73: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/tokenize.c:475:45: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/tokenize.c:728:21: style: Variable 'split' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/tokenize.c:207:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/tokenize.c:261:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/tokenize.c:351:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:34:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:108:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:287:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:390:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:465:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:507:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:567:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:693:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:757:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:828:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:987:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/trigger.c:40:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:255:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:472:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:573:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:699:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:744:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:1006:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/trigger.c:409:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] tintin-2.02.20/src/trigger.c:424:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] tintin-2.02.20/src/trigger.c:1000:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] tintin-2.02.20/src/trigger.c:610:8: style: Local variable 'match' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2917:12: note: Shadowed declaration tintin-2.02.20/src/trigger.c:610:8: note: Shadow variable tintin-2.02.20/src/trigger.c:860:8: style: Local variable 'match' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2917:12: note: Shadowed declaration tintin-2.02.20/src/trigger.c:860:8: note: Shadow variable tintin-2.02.20/src/trigger.c:34:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:108:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:249:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:287:8: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:390:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:465:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:507:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:567:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:693:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:757:7: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:828:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/trigger.c:987:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/update.c:339:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/update.c:417:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/update.c:563:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/update.c:824:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/update.c:866:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] tintin-2.02.20/src/update.c:1134:14: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/update.c:669:17: style: Condition 'rv>0' is always true [knownConditionTrueFalse] tintin-2.02.20/src/update.c:655:12: note: Assuming that condition 'rv==0' is not redundant tintin-2.02.20/src/update.c:669:17: note: Condition 'rv>0' is always true tintin-2.02.20/src/update.c:423:7: style:inconclusive: Statements following 'break' will never be executed. [unreachableCode] tintin-2.02.20/src/utf8.c:459:33: style:inconclusive: Function 'utf8_strlen' argument 2 names different: declaration 'width' definition 'str_len'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3014:40: note: Function 'utf8_strlen' argument 2 names different: declaration 'width' definition 'str_len'. tintin-2.02.20/src/utf8.c:459:33: note: Function 'utf8_strlen' argument 2 names different: declaration 'width' definition 'str_len'. tintin-2.02.20/src/utf8.c:28:53: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:105:41: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:224:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:226:13: style: Variable 'is_utf8' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:241:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:243:14: style: Variable 'utf8_tail' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:259:14: style: Variable 'utf8_size' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:270:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:316:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:326:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:379:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:586:17: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:674:17: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:677:13: style: Variable 'iso2' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:804:17: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:807:13: style: Variable 'cp1251' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:935:17: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:938:13: style: Variable 'koi8' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:1008:17: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1011:13: style: Variable 'fansi' can be declared as const array [constVariable] tintin-2.02.20/src/utf8.c:1078:33: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utf8.c:1080:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1091:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1138:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1230:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1341:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utf8.c:1451:17: style: Variable 'ptu' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/utils.c:118:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] tintin-2.02.20/src/utils.c:335:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/utils.c:361:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] tintin-2.02.20/src/utils.c:30:21: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:99:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:327:43: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:352:28: style: Variable 'primes' can be declared as const array [constVariable] tintin-2.02.20/src/utils.c:382:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:480:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:506:33: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/utils.c:118:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/variable.c:1267:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/variable.c:1623:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tintin-2.02.20/src/variable.c:140:11: style: Condition '*arg1' is always true [knownConditionTrueFalse] tintin-2.02.20/src/variable.c:560:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tintin-2.02.20/src/variable.c:564:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tintin-2.02.20/src/variable.c:573:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tintin-2.02.20/src/variable.c:1611:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] tintin-2.02.20/src/variable.c:1171:60: style:inconclusive: Function 'string_raw_str_len' argument 3 names different: declaration 'start' definition 'raw_start'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3048:68: note: Function 'string_raw_str_len' argument 3 names different: declaration 'start' definition 'raw_start'. tintin-2.02.20/src/variable.c:1171:60: note: Function 'string_raw_str_len' argument 3 names different: declaration 'start' definition 'raw_start'. tintin-2.02.20/src/variable.c:1171:75: style:inconclusive: Function 'string_raw_str_len' argument 4 names different: declaration 'end' definition 'raw_end'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3048:79: note: Function 'string_raw_str_len' argument 4 names different: declaration 'end' definition 'raw_end'. tintin-2.02.20/src/variable.c:1171:75: note: Function 'string_raw_str_len' argument 4 names different: declaration 'end' definition 'raw_end'. tintin-2.02.20/src/variable.c:799:7: style: Variable 'big' can be declared as const array [constVariable] tintin-2.02.20/src/variable.c:800:7: style: Variable 'small' can be declared as const array [constVariable] tintin-2.02.20/src/variable.c:297:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/variable.c:926:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/variable.c:1256:6: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] tintin-2.02.20/src/vt102.c:137:54: style:inconclusive: Function 'scroll_region' argument 3 names different: declaration 'bottom' definition 'bot'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3079:61: note: Function 'scroll_region' argument 3 names different: declaration 'bottom' definition 'bot'. tintin-2.02.20/src/vt102.c:137:54: note: Function 'scroll_region' argument 3 names different: declaration 'bottom' definition 'bot'. tintin-2.02.20/src/vt102.c:392:58: style:inconclusive: Function 'get_vt102_width' argument 3 names different: declaration 'width' definition 'str_len'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3084:65: note: Function 'get_vt102_width' argument 3 names different: declaration 'width' definition 'str_len'. tintin-2.02.20/src/vt102.c:392:58: note: Function 'get_vt102_width' argument 3 names different: declaration 'width' definition 'str_len'. tintin-2.02.20/src/vt102.c:422:60: style:inconclusive: Function 'strip_vt102_width' argument 3 names different: declaration 'width' definition 'str_width'. [funcArgNamesDifferent] tintin-2.02.20/src/tintin.h:3085:67: note: Function 'strip_vt102_width' argument 3 names different: declaration 'width' definition 'str_width'. tintin-2.02.20/src/vt102.c:422:60: note: Function 'strip_vt102_width' argument 3 names different: declaration 'width' definition 'str_width'. tintin-2.02.20/src/vt102.c:999:19: style: Local variable 'str_len' shadows outer function [shadowFunction] tintin-2.02.20/src/tintin.h:2429:13: note: Shadowed declaration tintin-2.02.20/src/vt102.c:999:19: note: Shadow variable tintin-2.02.20/src/vt102.c:43:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:51:34: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:441:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:478:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:523:34: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:653:14: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/vt102.c:696:8: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] tintin-2.02.20/src/vt102.c:996:40: style: Parameter 'ses' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/vt102.c:1044:54: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tintin-2.02.20/src/log.c:224:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ses [ctunullpointerOutOfMemory] tintin-2.02.20/src/session.c:395:52: note: Assuming allocation function fails tintin-2.02.20/src/session.c:395:27: note: Assignment 'newses=(struct session*)calloc(1,sizeof(struct session))', assigned value is 0 tintin-2.02.20/src/session.c:458:10: note: Calling function init_log, 1st argument is null tintin-2.02.20/src/log.c:224:2: note: Dereferencing argument ses that is null tintin-2.02.20/src/tokenize.c:1075:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [ctunullpointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1280:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1280:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1286:21: note: Calling function write_script, 2nd argument is null tintin-2.02.20/src/tokenize.c:1075:10: note: Dereferencing argument root that is null tintin-2.02.20/src/tokenize.c:1163:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [ctunullpointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1300:19: note: Calling function view_script, 2nd argument is null tintin-2.02.20/src/tokenize.c:1163:10: note: Dereferencing argument root that is null diff: head tintin-2.02.20/src/chat.c:262:56: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/chat.c:245:41: note: Assuming allocation function fails tintin-2.02.20/src/chat.c:245:14: note: Assignment 'new_buddy=(struct chat_data*)calloc(1,sizeof(struct chat_data))', assigned value is 0 tintin-2.02.20/src/chat.c:262:56: note: Null pointer dereference head tintin-2.02.20/src/list.c:657:55: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:639:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:639:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:657:55: note: Null pointer dereference head tintin-2.02.20/src/list.c:855:55: warning: If memory allocation fails, then there is a possible null pointer dereference: arg2_buffer [nullPointerOutOfMemory] tintin-2.02.20/src/list.c:837:24: note: Assuming allocation function fails tintin-2.02.20/src/list.c:837:24: note: Assignment 'arg2_buffer=malloc(list->root->used*sizeof(char*))', assigned value is 0 tintin-2.02.20/src/list.c:855:55: note: Null pointer dereference 2.17.0 tintin-2.02.20/src/memory.c:98:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:693:20: note: Calling function 'get_str_str', 1st argument 'str_ptr' value is 0 tintin-2.02.20/src/memory.c:98:26: note: Null pointer addition head tintin-2.02.20/src/memory.c:98:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tintin-2.02.20/src/memory.c:684:39: note: Assuming allocation function fails tintin-2.02.20/src/memory.c:684:13: note: Assignment 'str_ptr=(struct str_data*)calloc(1,sizeof(struct str_data)+size+1)', assigned value is 0 tintin-2.02.20/src/memory.c:693:20: note: Calling function 'get_str_str', 1st argument 'str_ptr' value is 0 tintin-2.02.20/src/memory.c:98:26: note: Null pointer addition head tintin-2.02.20/src/path.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head tintin-2.02.20/src/port.c:308:61: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:308:61: note: Null pointer dereference head tintin-2.02.20/src/port.c:315:103: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:315:103: note: Null pointer dereference head tintin-2.02.20/src/port.c:315:83: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:290:41: note: Assuming allocation function fails tintin-2.02.20/src/port.c:290:14: note: Assignment 'new_buddy=(struct port_data*)calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:315:83: note: Null pointer dereference head tintin-2.02.20/src/port.c:771:103: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:771:103: note: Null pointer dereference head tintin-2.02.20/src/port.c:771:83: warning: If memory allocation fails, then there is a possible null pointer dereference: new_buddy [nullPointerOutOfMemory] tintin-2.02.20/src/port.c:760:20: note: Assuming allocation function fails tintin-2.02.20/src/port.c:760:20: note: Assignment 'new_buddy=calloc(1,sizeof(struct port_data))', assigned value is 0 tintin-2.02.20/src/port.c:771:83: note: Null pointer dereference head tintin-2.02.20/src/tokenize.c:1075:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [ctunullpointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1280:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1280:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1286:21: note: Calling function write_script, 2nd argument is null tintin-2.02.20/src/tokenize.c:1075:10: note: Dereferencing argument root that is null head tintin-2.02.20/src/tokenize.c:1163:10: warning: If memory allocation fails, then there is a possible null pointer dereference: root [ctunullpointerOutOfMemory] tintin-2.02.20/src/tokenize.c:1294:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:1294:9: note: Assignment 'root=(struct scriptroot*)calloc(1,sizeof(struct scriptroot))', assigned value is 0 tintin-2.02.20/src/tokenize.c:1300:19: note: Calling function view_script, 2nd argument is null tintin-2.02.20/src/tokenize.c:1163:10: note: Dereferencing argument root that is null head tintin-2.02.20/src/tokenize.c:239:14: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:234:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:234:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:239:14: note: Null pointer dereference head tintin-2.02.20/src/tokenize.c:338:14: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] tintin-2.02.20/src/tokenize.c:332:37: note: Assuming allocation function fails tintin-2.02.20/src/tokenize.c:332:9: note: Assignment 'data=(struct scriptdata*)calloc(1,sizeof(struct scriptdata))', assigned value is 0 tintin-2.02.20/src/tokenize.c:338:14: note: Null pointer dereference DONE