2025-05-09 02:30 ftp://ftp.de.debian.org/debian/pool/main/x/xtel/xtel_3.3.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 398 397 elapsed-time: 2.3 2.3 head-timing-info: old-timing-info: head results: xtel-3.3.0.orig/Videotex/tvr_hdr.c:214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_hdr.c:448:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:183:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:215:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JERR_INPUT_EMPTY [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:316:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPOOL_PERMANENT [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:492:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:562:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JPOOL_IMAGE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:667:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JERR_CANT_SUSPEND [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:690:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:752:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_hdr.c:53:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_hdr.c:92:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_hdr.c:161:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_hdr.c:341:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/xvdt.c:111:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Videotex/tvr_jpg.c:213:14: style: Checking if unsigned expression 'nbytes' is less than zero. [unsignedLessThanZero] xtel-3.3.0.orig/Videotex/xvdt.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/xvdt.c:90:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/xvdt.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/xvdt.c:159:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/tvr_jpg.c:344:19: style: Variable 'bufferptr' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_jpg.c:545:11: style: Variable 'visual' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_jpg.c:732:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/tvr_jpg.c:353:13: style: Variable 'bufferptr' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/Videotex/tvr_jpg.c:726:10: style: Unused variable: c [unusedVariable] xtel-3.3.0.orig/Videotex/tvr_jpg.c:730:9: style: Unused variable: input_file [unusedVariable] xtel-3.3.0.orig/Videotex/xvdt.c:46:15: style: Parameter 'pevent' can be declared as pointer to const. However it seems that 'Fin' is a callback function, if 'pevent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Videotex/xvdt.c:170:54: note: You might need to cast the function pointer here xtel-3.3.0.orig/Videotex/xvdt.c:46:15: note: Parameter 'pevent' can be declared as pointer to const xtel-3.3.0.orig/Videotex/xvdt.c:58:6: style: Parameter 'fid' can be declared as pointer to const. However it seems that 'read_the_server' is a callback function, if 'fid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Videotex/xvdt.c:80:97: note: You might need to cast the function pointer here xtel-3.3.0.orig/Videotex/xvdt.c:58:6: note: Parameter 'fid' can be declared as pointer to const xtel-3.3.0.orig/Videotex/xvdt.c:105:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/xvdt.c:153:16: warning: Uninitialized variable: cp [uninitvar] xtel-3.3.0.orig/Videotex/xvdt.c:127:12: note: Assuming condition is false xtel-3.3.0.orig/Videotex/xvdt.c:153:16: note: Uninitialized variable: cp xtel-3.3.0.orig/Videotex/xvdt.c:72:10: style: Unused variable: c [unusedVariable] xtel-3.3.0.orig/Videotex/xvdt.c:117:9: style: Unused variable: i [unusedVariable] xtel-3.3.0.orig/Widgets/Timer.c:134:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/Timer.c:241:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmColormap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:250:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:330:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:340:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:383:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:401:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:487:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtRString [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:496:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:531:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmButton.c:579:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/Timer.c:291:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xtel-3.3.0.orig/Widgets/Timer.c:262:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Widgets/XpmButton.c:218:17: style: Local variable 'values' shadows outer variable [shadowVariable] xtel-3.3.0.orig/Widgets/XpmButton.c:180:13: note: Shadowed declaration xtel-3.3.0.orig/Widgets/XpmButton.c:218:17: note: Shadow variable xtel-3.3.0.orig/Widgets/XpmButton.c:512:14: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'MyCvtStringToPixmap' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Widgets/XpmButton.c:486:43: note: You might need to cast the function pointer here xtel-3.3.0.orig/Widgets/XpmButton.c:512:14: note: Parameter 'num_args' can be declared as pointer to const xtel-3.3.0.orig/Widgets/XpmButton.c:520:14: style: Variable 'dpy' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Widgets/XpmButton.c:563:14: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'MyCvtStringToShapemask' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Widgets/XpmButton.c:487:45: note: You might need to cast the function pointer here xtel-3.3.0.orig/Widgets/XpmButton.c:563:14: note: Parameter 'num_args' can be declared as pointer to const xtel-3.3.0.orig/Widgets/XpmButton.c:571:14: style: Variable 'dpy' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Widgets/XpmButton.c:543:9: style: Variable 'dpy' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/Widgets/XpmButton.c:591:9: style: Variable 'dpy' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/Xsra/Dir.c:127:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtel-3.3.0.orig/Xsra/Dir.c:133:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtel-3.3.0.orig/Widgets/XpmToggle.c:165:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtBaseOffset [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmToggle.c:280:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmToggle.c:310:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Widgets/XpmToggle.c:366:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Dir.c:89:11: style: Parameter 'p' can be declared as pointer to const. However it seems that 'SFcompareEntries' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Xsra/Dir.c:154:45: note: You might need to cast the function pointer here xtel-3.3.0.orig/Xsra/Dir.c:89:11: note: Parameter 'p' can be declared as pointer to const xtel-3.3.0.orig/Xsra/Dir.c:90:11: style: Parameter 'q' can be declared as pointer to const. However it seems that 'SFcompareEntries' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Xsra/Dir.c:154:45: note: You might need to cast the function pointer here xtel-3.3.0.orig/Xsra/Dir.c:90:11: note: Parameter 'q' can be declared as pointer to const xtel-3.3.0.orig/Xsra/Dir.c:104:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Dir.c:105:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Draw.c:59:1: portability: Omitted return type of function 'SFinitFont' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Draw.c:86:1: portability: Omitted return type of function 'SFcreateGC' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Draw.c:151:1: portability: Omitted return type of function 'SFclearList' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Draw.c:397:1: portability: Omitted return type of function 'SFdrawList' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Draw.c:422:1: portability: Omitted return type of function 'SFdrawLists' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Path.c:537:1: portability: Omitted return type of function 'SFupdatePath' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Path.c:727:1: portability: Omitted return type of function 'SFsetText' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/Draw.c:96:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Draw.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y1 [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Path.c:735:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT8BIT [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Path.c:833:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Draw.c:96:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xtel-3.3.0.orig/Xsra/Draw.c:115:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xtel-3.3.0.orig/Xsra/Draw.c:130:13: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] xtel-3.3.0.orig/Xsra/Draw.c:199:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Draw.c:519:25: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Draw.c:534:19: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Draw.c:623:9: style: Parameter 'fnew' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Draw.c:762:9: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Draw.c:821:9: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Draw.c:823:10: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:811:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YXBanded [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:840:180: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:879:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:933:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mod1Mask [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:997:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jeu [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1049:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1078:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1125:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1174:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1373:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1488:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:1925:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delimiteur [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2171:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YXBanded [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2280:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2341:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jeu [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2380:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jeu [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2428:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2447:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2507:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jeu [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2607:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable soulignement [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2724:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jeu [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2758:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable masquage [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2778:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2809:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:2971:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:3041:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DirectColor [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:3167:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:3286:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable couleur_fond [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:3421:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable taille_caractere [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:3440:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable taille_caractere [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:4116:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:4295:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:4372:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:5359:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Videotex/Videotex.c:5437:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/SelFile.c:591:1: portability: Omitted return type of function 'SFtextChanged' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/Xsra/SelFile.c:148:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoExpose [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/SelFile.c:242:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtransientFor [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/SelFile.c:535:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/SelFile.c:583:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/Xsra/Path.c:396:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xtel-3.3.0.orig/Xsra/Path.c:421:15: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] xtel-3.3.0.orig/Xsra/Path.c:74:8: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Path.c:117:8: style: Variable 'cannotOpen' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Path.c:176:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Path.c:202:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Path.c:204:11: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Path.c:204:19: style: Variable 'max' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Path.c:373:11: style: Parameter 'p' can be declared as pointer to const. However it seems that 'SFcompareLogins' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Xsra/Path.c:475:47: note: You might need to cast the function pointer here xtel-3.3.0.orig/Xsra/Path.c:373:11: note: Parameter 'p' can be declared as pointer to const xtel-3.3.0.orig/Xsra/Path.c:373:15: style: Parameter 'q' can be declared as pointer to const. However it seems that 'SFcompareLogins' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Xsra/Path.c:475:47: note: You might need to cast the function pointer here xtel-3.3.0.orig/Xsra/Path.c:373:15: note: Parameter 'q' can be declared as pointer to const xtel-3.3.0.orig/Xsra/Path.c:381:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Xsra/Path.c:486:8: style: Parameter 'begin' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Path.c:746:23: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/Path.c:937:15: style: Parameter 'statBuf' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:146:16: style: Parameter 'event' can be declared as pointer to const. However it seems that 'SFexposeList' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Xsra/SelFile.c:499:4: note: You might need to cast the function pointer here xtel-3.3.0.orig/Xsra/SelFile.c:146:16: note: Parameter 'event' can be declared as pointer to const xtel-3.3.0.orig/Xsra/SelFile.c:204:10: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:205:10: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:206:12: style: Parameter 'num_params' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:559:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:560:11: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:561:11: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Xsra/SelFile.c:562:11: style: Parameter 'failed' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/bouton.c:59:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/bouton.c:82:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/bouton.c:100:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/bouton.c:130:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/bouton.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/bouton.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/config.c:139:1: portability: Omitted return type of function 'lecture_services' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/config.c:204:1: portability: Omitted return type of function 'lecture_configuration_lignes' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/bouton.c:126:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/bouton.c:301:5: error: Common realloc mistake: 'zone_enregistrement' nulled but not freed upon failure [memleakOnRealloc] xtel-3.3.0.orig/config.c:145:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FICHIER_DEFINITION_SERVICES [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/config.c:210:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FICHIER_DEFINITION_LIGNES [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/copyright.c:153:1: portability: Omitted return type of function 'affiche_copyright' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/copyright.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/copyright.c:83:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillSolid [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/copyright.c:159:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable applicationShellWidgetClass [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/dial.c:79:1: portability: Omitted return type of function 'mydial' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/dial.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/dial.c:107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FICHIER_LCK [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/dial.c:80:15: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/dial.c:207:12: warning: Uninitialized variable: fd [uninitvar] xtel-3.3.0.orig/dial.c:95:25: note: Assuming condition is false xtel-3.3.0.orig/dial.c:207:12: note: Uninitialized variable: fd xtel-3.3.0.orig/config.c:87:7: style: Parameter 'chaine' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/config.c:103:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/ian.c:56:11: style: Parameter 'telno' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/inet.c:46:1: portability: Omitted return type of function 'c_socket' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/inet.c:87:1: portability: Omitted return type of function 'c_clientbyname' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/inet.c:107:1: portability: Omitted return type of function 'c_clientbyport' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/inet.c:70:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/inet.c:55:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] xtel-3.3.0.orig/inet.c:70:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xtel-3.3.0.orig/inet.c:93:14: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] xtel-3.3.0.orig/inet.c:47:7: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/inet.c:52:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/inet.c:88:14: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/inet.c:90:19: style: Variable 'sv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/lecteur.c:50:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInputReadMask [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/lecteur.c:181:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInputReadMask [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/lecteur.c:206:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInputReadMask [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/lecteur.c:394:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/lecteur.c:413:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/ligne.c:55:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KBBellPitch [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/ligne.c:121:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/ligne.c:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/ligne.c:63:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xtel-3.3.0.orig/ligne.c:278:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xtel-3.3.0.orig/ligne.c:191:7: style: Condition '!flag_connexion' is always true [knownConditionTrueFalse] xtel-3.3.0.orig/ligne.c:125:9: note: Assuming that condition 'flag_connexion' is not redundant xtel-3.3.0.orig/ligne.c:191:7: note: Condition '!flag_connexion' is always true xtel-3.3.0.orig/ligne.c:99:6: error: Common realloc mistake: 'zone_enregistrement' nulled but not freed upon failure [memleakOnRealloc] xtel-3.3.0.orig/ligne.c:47:7: style: Variable 'pitch' can be declared as const array [constVariable] xtel-3.3.0.orig/ligne.c:48:7: style: Variable 'duration' can be declared as const array [constVariable] xtel-3.3.0.orig/ligne.c:90:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/ligne.c:114:6: style: Parameter 'fid' can be declared as pointer to const. However it seems that 'fonction_lecture_ligne' is a callback function, if 'fid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/ligne.c:289:106: note: You might need to cast the function pointer here xtel-3.3.0.orig/ligne.c:114:6: note: Parameter 'fid' can be declared as pointer to const xtel-3.3.0.orig/ligne.c:255:7: style: Parameter 'service' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/ligne.c:258:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/mdmdetect.c:218:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/mdmdetect.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/mdmdetect.c:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FICHIER_LCK [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/mdmdetect.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/mdmdetect.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/mdmdetect.c:272:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/lecteur.c:64:6: style: Parameter 'fid' can be declared as pointer to const. However it seems that 'fonction_lecture_fichier_courant' is a callback function, if 'fid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/lecteur.c:181:116: note: You might need to cast the function pointer here xtel-3.3.0.orig/lecteur.c:64:6: note: Parameter 'fid' can be declared as pointer to const xtel-3.3.0.orig/misc.c:63:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtel-3.3.0.orig/misc.c:43:6: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xtel-3.3.0.orig/misc.c:54:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ss [nullPointerOutOfMemory] xtel-3.3.0.orig/misc.c:53:17: note: Assuming allocation function fails xtel-3.3.0.orig/misc.c:53:17: note: Assignment 'ss=calloc(1,i+1)', assigned value is 0 xtel-3.3.0.orig/misc.c:54:13: note: Null pointer dereference xtel-3.3.0.orig/misc.c:61:11: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/modem.c:126:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/modem.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETA [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/modem.c:264:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBAUD [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/modem.c:312:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETA [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/mdmdetect.c:163:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] xtel-3.3.0.orig/mdmdetect.c:182:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xtel-3.3.0.orig/mdmdetect.c:323:7: warning: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assuming allocation function fails xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assignment 'str1=strdup(&buf[1])', assigned value is 0 xtel-3.3.0.orig/mdmdetect.c:323:7: note: Null pointer dereference xtel-3.3.0.orig/mdmdetect.c:323:19: warning: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assuming allocation function fails xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assignment 'str1=strdup(&buf[1])', assigned value is 0 xtel-3.3.0.orig/mdmdetect.c:323:19: note: Null pointer dereference xtel-3.3.0.orig/mdmdetect.c:101:8: style: Local variable 'buf' shadows outer variable [shadowVariable] xtel-3.3.0.orig/mdmdetect.c:61:13: note: Shadowed declaration xtel-3.3.0.orig/mdmdetect.c:101:8: note: Shadow variable xtel-3.3.0.orig/mdmdetect.c:68:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/mdmdetect.c:99:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/mdmdetect.c:155:7: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/mdmdetect.c:160:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/mdmdetect.c:194:65: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/mdmdetect.c:101:8: style: Unused variable: buf [unusedVariable] xtel-3.3.0.orig/procedure.c:74:1: portability: Omitted return type of function 'init_procedures' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/procedure.c:101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/procedure.c:244:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/procedure.c:53:9: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/procedure.c:75:7: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/procedure.c:160:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/protocoles.c:43:1: portability: Omitted return type of function 'init_protocoles' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/modem.c:149:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xtel-3.3.0.orig/modem.c:587:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xtel-3.3.0.orig/protocoles.c:36:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtInputReadMask [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/modem.c:70:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/modem.c:109:7: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/modem.c:118:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/modem.c:142:7: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/protocoles.c:44:7: style: Parameter 'nom' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/teleinfo.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:113:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:159:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:308:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:327:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfdConnexion [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:346:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNmodeVideotex [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:416:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/teleinfo.c:368:6: error: printf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] xtel-3.3.0.orig/teleinfo.c:416:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'int *'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/teleinfo.c:416:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'int *'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/teleinfo.c:60:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/teleinfo.c:60:12: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/teleinfo.c:60:17: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/teleinfo.c:302:6: style: Parameter 'fid' can be declared as pointer to const. However it seems that 'fonction_lecture_teleinfo' is a callback function, if 'fid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/teleinfo.c:373:115: note: You might need to cast the function pointer here xtel-3.3.0.orig/teleinfo.c:302:6: note: Parameter 'fid' can be declared as pointer to const xtel-3.3.0.orig/teleinfo.c:337:7: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:260:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:296:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:330:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:364:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smeBSBObjectClass [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:385:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:420:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:445:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:467:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:507:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:897:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:918:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_hand2 [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:942:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:978:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1202:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1248:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1270:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_hand2 [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1324:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1334:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1343:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xaw.c:1352:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:207:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmPushButtonWidgetClass [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:225:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:252:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:287:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:324:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:399:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmRowColumnWidgetClass [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:672:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_HELP_BUTTON [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:683:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_TEXT [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:717:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_HELP_BUTTON [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:728:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_TEXT [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:801:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmDIALOG_HELP_BUTTON [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:813:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:855:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcolormap [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:882:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:976:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:985:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XmSTRING_DEFAULT_CHARSET [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xm.c:973:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/xm.c:982:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/xm.c:685:29: error: Allocation with XmTextGetString, strcpy doesn't release it. [leakNoVarFunctionCall] xtel-3.3.0.orig/xm.c:690:30: error: Allocation with XmTextGetString, strcpy doesn't release it. [leakNoVarFunctionCall] xtel-3.3.0.orig/xm.c:586:11: style: Variable 'entry' is reassigned a value before the old one has been used. [redundantAssignment] xtel-3.3.0.orig/xm.c:412:11: note: entry is assigned xtel-3.3.0.orig/xm.c:586:11: note: entry is overwritten xtel-3.3.0.orig/xm.c:867:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:1331:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/xaw.c:1340:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xtel-3.3.0.orig/xaw.c:289:18: style: Parameter 'pevent' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:309:18: style: Parameter 'pevent' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:310:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:323:18: style: Parameter 'pevent' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:343:18: style: Parameter 'pevent' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:344:17: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xaw.c:1266:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xtel.c:435:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/xtel.c:325:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xtel.c:340:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xtel.c:364:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xtel.c:385:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNconnecte [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xtel.c:477:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:1404:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xtel-3.3.0.orig/xtel.c:540:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xtel-3.3.0.orig/xtel.c:558:10: style: Local variable 'l' shadows outer variable [shadowVariable] xtel-3.3.0.orig/xtel.c:440:17: note: Shadowed declaration xtel-3.3.0.orig/xtel.c:558:10: note: Shadow variable xtel-3.3.0.orig/xtel.c:300:9: style: Parameter 'pevent' can be declared as pointer to const. However it seems that 'sauve_l_ecran' is a callback function, if 'pevent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/xtel.c:649:74: note: You might need to cast the function pointer here xtel-3.3.0.orig/xtel.c:300:9: note: Parameter 'pevent' can be declared as pointer to const xtel-3.3.0.orig/xtel.c:301:10: style: Parameter 'params' can be declared as pointer to const. However it seems that 'sauve_l_ecran' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/xtel.c:649:74: note: You might need to cast the function pointer here xtel-3.3.0.orig/xtel.c:301:10: note: Parameter 'params' can be declared as pointer to const xtel-3.3.0.orig/xtel.c:442:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:154:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:168:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:208:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:242:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTEL_LIBDIR [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:275:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:390:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FICHIER_LOG [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:465:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:714:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTEL_LIBDIR [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:1087:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:1434:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xtel-3.3.0.orig/xteld.c:174:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xtel-3.3.0.orig/xteld.c:319:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtel-3.3.0.orig/xteld.c:374:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xtel-3.3.0.orig/xteld.c:1087:14: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] xtel-3.3.0.orig/xteld.c:1318:39: style: Redundant condition: numeric. '!numeric || (numeric && c>='0'&&c<='9')' is equivalent to '!numeric || c>='0'&&c<='9'' [redundantCondition] xtel-3.3.0.orig/xteld.c:183:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xtel-3.3.0.orig/xteld.c:658:5: error: Common realloc mistake: 'Argv' nulled but not freed upon failure [memleakOnRealloc] xtel-3.3.0.orig/xteld.c:667:4: error: Common realloc mistake: 'Argv' nulled but not freed upon failure [memleakOnRealloc] xtel-3.3.0.orig/xteld.c:607:10: warning: Possible null pointer dereference: service_teletel [nullPointer] xtel-3.3.0.orig/xteld.c:1548:17: note: Calling function 'appel_service', 1st argument 'NULL' value is 0 xtel-3.3.0.orig/xteld.c:601:9: note: Assuming condition is false xtel-3.3.0.orig/xteld.c:607:10: note: Null pointer dereference xtel-3.3.0.orig/xteld.c:659:3: warning: If memory allocation fails, then there is a possible null pointer dereference: Argv [nullPointerOutOfMemory] xtel-3.3.0.orig/xteld.c:656:19: note: Assuming allocation function fails xtel-3.3.0.orig/xteld.c:656:19: note: Assignment 'Argv=malloc(sizeof(char**))', assigned value is 0 xtel-3.3.0.orig/xteld.c:659:3: note: Null pointer dereference xtel-3.3.0.orig/xteld.c:776:25: warning: If memory allocation fails, then there is a possible null pointer dereference: telno [nullPointerOutOfMemory] xtel-3.3.0.orig/xteld.c:775:23: note: Assuming allocation function fails xtel-3.3.0.orig/xteld.c:775:23: note: Assignment 'telno=strdup(code_teletel)', assigned value is 0 xtel-3.3.0.orig/xteld.c:776:25: note: Null pointer dereference xtel-3.3.0.orig/xteld.c:204:8: style: Local variable 'buf' shadows outer variable [shadowVariable] xtel-3.3.0.orig/xteld.c:93:13: note: Shadowed declaration xtel-3.3.0.orig/xteld.c:204:8: note: Shadow variable xtel-3.3.0.orig/xteld.c:638:8: style: Local variable 'i' shadows outer variable [shadowVariable] xtel-3.3.0.orig/xteld.c:585:18: note: Shadowed declaration xtel-3.3.0.orig/xteld.c:638:8: note: Shadow variable xtel-3.3.0.orig/xteld.c:852:23: style: Local variable 'i' shadows outer variable [shadowVariable] xtel-3.3.0.orig/xteld.c:585:18: note: Shadowed declaration xtel-3.3.0.orig/xteld.c:852:23: note: Shadow variable xtel-3.3.0.orig/xteld.c:979:16: style: Local variable 'i' shadows outer variable [shadowVariable] xtel-3.3.0.orig/xteld.c:852:23: note: Shadowed declaration xtel-3.3.0.orig/xteld.c:979:16: note: Shadow variable xtel-3.3.0.orig/xteld.c:166:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:261:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xteld.c:287:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xteld.c:303:23: style: Variable 'auth' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:475:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:520:25: style: Variable 'pt1' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:520:31: style: Variable 'pt2' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:1085:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:1104:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:1129:41: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xteld.c:1221:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/xteld.c:1409:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/xteld.c:873:12: style: Variable 'code_fin' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/xteld.c:883:12: style: Variable 'code_fin' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/xteld.c:582:35: style: Variable 'option' is assigned a value that is never used. [unreadVariable] xtel-3.3.0.orig/xteld.c:585:18: style: Unused variable: i [unusedVariable] xtel-3.3.0.orig/xteld.c:638:8: style: Unused variable: i [unusedVariable] xtel-3.3.0.orig/xteld.c:1105:10: style: Unused variable: c [unusedVariable] xtel-3.3.0.orig/xteld.c:1335:7: style: Unused variable: ret [unusedVariable] xtel-3.3.0.orig/xteld.c:1336:8: style: Unused variable: c [unusedVariable] xtel-3.3.0.orig/xteld.c:1410:16: style: Unused variable: i [unusedVariable] xtel-3.3.0.orig/Videotex/Videotex.c:2238:9: style: Condition '!dont_touch' is always true [knownConditionTrueFalse] xtel-3.3.0.orig/Videotex/Videotex.c:2237:35: note: Calling function 'maj_si_ecrasement' returns 0 xtel-3.3.0.orig/Videotex/Videotex.c:2237:35: note: Assignment 'dont_touch=maj_si_ecrasement(w,pv->rangee,pv->colonne,pv->taille_caractere)', assigned value is 0 xtel-3.3.0.orig/Videotex/Videotex.c:2238:9: note: Condition '!dont_touch' is always true xtel-3.3.0.orig/Videotex/Videotex.c:5431:2: warning: %c in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xtel-3.3.0.orig/Videotex/Videotex.c:5431:2: warning: %c in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xtel-3.3.0.orig/Videotex/Videotex.c:5431:2: warning: %c in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xtel-3.3.0.orig/Videotex/Videotex.c:4387:49: style: Same expression on both sides of '||'. [duplicateExpression] xtel-3.3.0.orig/Videotex/Videotex.c:2706:43: style: Variable 'pv->attributs[rs-1][38].f.position' is reassigned a value before the old one has been used. [redundantAssignment] xtel-3.3.0.orig/Videotex/Videotex.c:2705:43: note: pv->attributs[rs-1][38].f.position is assigned xtel-3.3.0.orig/Videotex/Videotex.c:2706:43: note: pv->attributs[rs-1][38].f.position is overwritten xtel-3.3.0.orig/Videotex/Videotex.c:4799:14: style: Variable 'pv->rangee' is reassigned a value before the old one has been used. [redundantAssignment] xtel-3.3.0.orig/Videotex/Videotex.c:4796:14: note: pv->rangee is assigned xtel-3.3.0.orig/Videotex/Videotex.c:4799:14: note: pv->rangee is overwritten xtel-3.3.0.orig/Videotex/Videotex.c:4800:15: style: Variable 'pv->colonne' is reassigned a value before the old one has been used. [redundantAssignment] xtel-3.3.0.orig/Videotex/Videotex.c:4797:15: note: pv->colonne is assigned xtel-3.3.0.orig/Videotex/Videotex.c:4800:15: note: pv->colonne is overwritten xtel-3.3.0.orig/Videotex/Videotex.c:2796:21: style: Local variable 'couleur_fond' shadows outer function [shadowFunction] xtel-3.3.0.orig/Videotex/Videotex.c:186:13: note: Shadowed declaration xtel-3.3.0.orig/Videotex/Videotex.c:2796:21: note: Shadow variable xtel-3.3.0.orig/Videotex/Videotex.c:2796:35: style: Local variable 'soulignement' shadows outer function [shadowFunction] xtel-3.3.0.orig/Videotex/Videotex.c:206:13: note: Shadowed declaration xtel-3.3.0.orig/Videotex/Videotex.c:2796:35: note: Shadow variable xtel-3.3.0.orig/Videotex/Videotex.c:2796:62: style: Local variable 'masquage' shadows outer function [shadowFunction] xtel-3.3.0.orig/Videotex/Videotex.c:196:13: note: Shadowed declaration xtel-3.3.0.orig/Videotex/Videotex.c:2796:62: note: Shadow variable xtel-3.3.0.orig/Videotex/Videotex.c:2970:47: style: Local variable 'inversion' shadows outer function [shadowFunction] xtel-3.3.0.orig/Videotex/Videotex.c:195:13: note: Shadowed declaration xtel-3.3.0.orig/Videotex/Videotex.c:2970:47: note: Shadow variable xtel-3.3.0.orig/Videotex/Videotex.c:610:7: style: Parameter 'pt' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/Videotex.c:876:7: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/Videotex.c:931:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:978:17: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/Videotex.c:2719:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3161:31: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3341:27: style: Variable 'xfs_sauve' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3792:7: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xtel-3.3.0.orig/Videotex/Videotex.c:3840:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3849:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3858:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:3867:28: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:4038:13: style: Variable 'visual' can be declared as pointer to const [constVariablePointer] xtel-3.3.0.orig/Videotex/Videotex.c:4364:17: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'SetValues' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xtel-3.3.0.orig/Videotex/Videotex.c:450:25: note: You might need to cast the function pointer here xtel-3.3.0.orig/Videotex/Videotex.c:4364:17: note: Parameter 'num_args' can be declared as pointer to const xtel-3.3.0.orig/Videotex/Videotex.c:5352:17: style: Variable 'code_accent' can be declared as const array [constVariable] xtel-3.3.0.orig/Videotex/Videotex.c:5353:17: style: Variable 'code_lettre' can be declared as const array [constVariable] xtel-3.3.0.orig/Videotex/Videotex.c:5354:17: style: Variable 'ascii_etendu' can be declared as const array [constVariable] xtel-3.3.0.orig/Videotex/Videotex.c:2830:11: warning: Uninitialized variable: flag_g1 [uninitvar] xtel-3.3.0.orig/Videotex/Videotex.c:2804:8: note: Assuming condition is true xtel-3.3.0.orig/Videotex/Videotex.c:2830:11: note: Uninitialized variable: flag_g1 xtel-3.3.0.orig/Videotex/Videotex.c:669:10: style: Variable 'mask' is assigned a value that is never used. [unreadVariable] diff: head xtel-3.3.0.orig/mdmdetect.c:323:19: warning: If memory allocation fails, then there is a possible null pointer dereference: str1 [nullPointerOutOfMemory] xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assuming allocation function fails xtel-3.3.0.orig/mdmdetect.c:322:21: note: Assignment 'str1=strdup(&buf[1])', assigned value is 0 xtel-3.3.0.orig/mdmdetect.c:323:19: note: Null pointer dereference DONE