2024-04-15 19:46 ftp://ftp.de.debian.org/debian/pool/main/c/cups-filters/cups-filters_1.28.17.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 087fd79 (2024-04-15 20:21:32 +0200) count: 656 498 elapsed-time: 91.8 330.9 head-timing-info: old-timing-info: head results: cups-filters-1.28.17/backend/beh.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_BACKEND_OK [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/beh.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/beh.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/beh.c:214:13: style:inconclusive: Function 'call_backend' argument 4 names different: declaration 'tempfile' definition 'filename'. [funcArgNamesDifferent] cups-filters-1.28.17/backend/beh.c:37:16: note: Function 'call_backend' argument 4 names different: declaration 'tempfile' definition 'filename'. cups-filters-1.28.17/backend/beh.c:214:13: note: Function 'call_backend' argument 4 names different: declaration 'tempfile' definition 'filename'. cups-filters-1.28.17/backend/beh.c:138:11: style: Variable 'tmpdir' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/beh.c:210:20: style: Parameter 'uri' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/backend/beh.c:214:13: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/backend/cups-brf.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/cups-brf.c:78:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] cups-filters-1.28.17/backend/cups-brf.c:104:5: error: Memory leak: dir [memleak] cups-filters-1.28.17/backend/cups-brf.c:37:9: style: Variable 'user' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/cups-brf.c:44:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/cups-brf.c:68:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/ieee1284.c:371:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/implicitclass.c:57:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/implicitclass.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/implicitclass.c:436:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_BACKEND_OK [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/implicitclass.c:218:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cups-filters-1.28.17/backend/implicitclass.c:401:6: style: Local variable 'status' shadows outer variable [shadowVariable] cups-filters-1.28.17/backend/implicitclass.c:88:13: note: Shadowed declaration cups-filters-1.28.17/backend/implicitclass.c:401:6: note: Shadow variable cups-filters-1.28.17/backend/implicitclass.c:408:9: error: Uninitialized variable: exit_status [legacyUninitvar] cups-filters-1.28.17/backend/implicitclass.c:257:12: style: Variable 'title' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/backend/implicitclass.c:259:12: style: Variable 'title' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/backend/implicitclass.c:261:10: style: Variable 'title' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/backend/implicitclass.c:266:5: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/backend/implicitclass.c:268:5: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/backend/parallel.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/parallel.c:327:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/parallel.c:583:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/parallel.c:823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/serial.c:126:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/serial.c:761:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/serial.c:1218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/serial.c:640:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cups-filters-1.28.17/backend/serial.c:657:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] cups-filters-1.28.17/backend/serial.c:81:4: style: Variable 'name' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/serial.c:82:4: style: Variable 'value' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/backend/test1284.c:57:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/backend/test1284.c:40:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/cupsfilters/attr.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1030:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1809:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1848:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1943:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/cmyk.c:1202:27: style: Condition 'num_channels!=3' is always true [knownConditionTrueFalse] cups-filters-1.28.17/cupsfilters/cmyk.c:1031:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/colord.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colord.c:453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colord.c:460:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colord.c:54:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/colord.c:55:15: style: Variable 'q1_attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/colord.c:56:15: style: Variable 'q2_attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/colord.c:57:15: style: Variable 'q3_attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/colormanager.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:185:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:314:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/colormanager.c:69:35: style:inconclusive: Function 'cmIsPrinterCmDisabled' argument 1 names different: declaration 'printer_id' definition 'printer_name'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/colormanager.h:70:68: note: Function 'cmIsPrinterCmDisabled' argument 1 names different: declaration 'printer_id' definition 'printer_name'. cups-filters-1.28.17/cupsfilters/colormanager.c:69:35: note: Function 'cmIsPrinterCmDisabled' argument 1 names different: declaration 'printer_id' definition 'printer_name'. cups-filters-1.28.17/cupsfilters/colormanager.c:88:36: style:inconclusive: Function 'cmGetPrinterIccProfile' argument 1 names different: declaration 'printer_id' definition 'printer_name'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/colormanager.h:66:68: note: Function 'cmGetPrinterIccProfile' argument 1 names different: declaration 'printer_id' definition 'printer_name'. cups-filters-1.28.17/cupsfilters/colormanager.c:88:36: note: Function 'cmGetPrinterIccProfile' argument 1 names different: declaration 'printer_id' definition 'printer_name'. cups-filters-1.28.17/cupsfilters/colormanager.c:295:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/image-bmp.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-bmp.c:139:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-bmp.c:139:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-bmp.c:148:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-bmp.c:148:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-bmp.c:150:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-bmp.c:150:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-colorspace.c:412:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIELab [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-colorspace.c:841:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIELab [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-colorspace.c:961:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIEXYZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-colorspace.c:1083:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIELab [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-gif.c:244:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-gif.c:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-gif.c:244:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-gif.c:244:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-gif.c:264:23: style:inconclusive: Function 'gif_get_block' argument 2 names different: declaration 'buffer' definition 'buf'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/image-gif.c:52:51: note: Function 'gif_get_block' argument 2 names different: declaration 'buffer' definition 'buf'. cups-filters-1.28.17/cupsfilters/image-gif.c:264:23: note: Function 'gif_get_block' argument 2 names different: declaration 'buffer' definition 'buf'. cups-filters-1.28.17/cupsfilters/image-photocd.c:100:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-pix.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-pnm.c:67:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-pnm.c:130:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-pnm.c:130:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-sgi.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:580:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:601:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:629:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:675:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:740:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:832:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sgilib.c:580:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/cupsfilters/image-sgilib.c:582:14: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/cupsfilters/image-sun.c:97:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image-sun.c:108:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-sun.c:108:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-sun.c:108:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-sun.c:108:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image-sun.c:108:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/cupsfilters/image.c:464:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/image.c:196:11: warning: Either the condition 'img==NULL' is redundant or there is possible null pointer dereference: img. [nullPointerRedundantCheck] cups-filters-1.28.17/cupsfilters/image.c:633:9: note: Assuming that condition 'img==NULL' is not redundant cups-filters-1.28.17/cupsfilters/image.c:632:28: note: Calling function 'cupsImageGetDepth', 1st argument 'img' value is 0 cups-filters-1.28.17/cupsfilters/image.c:196:11: note: Null pointer dereference cups-filters-1.28.17/cupsfilters/image.c:183:19: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/image.c:205:34: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/image.c:269:33: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/image.c:280:32: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/image.c:291:32: style: Parameter 'img' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/image.c:568:9: style: Variable 'cache_env' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/ipp.c:66:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGSIZE [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/ipp.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/ipp.c:50:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/kmdevices.cpp:12:41: error: There is an unknown macro here somewhere. Configuration is required. If OY_TYPE_STD is a macro then please configure it. [unknownMacro] cups-filters-1.28.17/cupsfilters/lut.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/lut.c:186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/lut.c:98:24: style:inconclusive: Function 'cupsLutNew' argument 1 names different: declaration 'num_vals' definition 'num_values'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/driver.h:155:35: note: Function 'cupsLutNew' argument 1 names different: declaration 'num_vals' definition 'num_values'. cups-filters-1.28.17/cupsfilters/lut.c:98:24: note: Function 'cupsLutNew' argument 1 names different: declaration 'num_vals' definition 'num_values'. cups-filters-1.28.17/cupsfilters/lut.c:99:18: style:inconclusive: Function 'cupsLutNew' argument 2 names different: declaration 'vals' definition 'values'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/driver.h:155:58: note: Function 'cupsLutNew' argument 2 names different: declaration 'vals' definition 'values'. cups-filters-1.28.17/cupsfilters/lut.c:99:18: note: Function 'cupsLutNew' argument 2 names different: declaration 'vals' definition 'values'. cups-filters-1.28.17/cupsfilters/lut.c:52:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:556:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:602:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:694:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:834:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:728:33: style: Variable 'filterfds[1-current][0]' is reassigned a value before the old one has been used. [redundantAssignment] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:727:33: note: filterfds[1-current][0] is assigned cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:728:33: note: filterfds[1-current][0] is overwritten cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:149:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:573:28: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_pids' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:700:53: note: You might need to cast the function pointer here cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:573:28: note: Parameter 'a' can be declared as pointer to const cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:574:28: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_pids' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:700:53: note: You might need to cast the function pointer here cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:574:28: note: Parameter 'b' can be declared as pointer to const cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:867:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/raster.c:72:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/raster.c:74:21: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/cupsfilters/rgb.c:318:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/rgb.c:100:11: style: Condition 'g==lastgray' is always false [knownConditionTrueFalse] cups-filters-1.28.17/cupsfilters/rgb.c:98:22: note: Assignment 'g=cups_srgb_lut[*input++]', assigned value is greater than -1 cups-filters-1.28.17/cupsfilters/rgb.c:80:15: note: Assignment 'lastgray=-1', assigned value is -1 cups-filters-1.28.17/cupsfilters/rgb.c:100:11: note: Condition 'g==lastgray' is always false cups-filters-1.28.17/cupsfilters/rgb.c:33:27: style:inconclusive: Function 'cupsRGBDelete' argument 1 names different: declaration 'rgb' definition 'rgbptr'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/driver.h:184:40: note: Function 'cupsRGBDelete' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/rgb.c:33:27: note: Function 'cupsRGBDelete' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/rgb.c:51:36: style:inconclusive: Function 'cupsRGBDoGray' argument 1 names different: declaration 'rgb' definition 'rgbptr'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/driver.h:185:40: note: Function 'cupsRGBDoGray' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/rgb.c:51:36: note: Function 'cupsRGBDoGray' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/rgb.c:164:35: style:inconclusive: Function 'cupsRGBDoRGB' argument 1 names different: declaration 'rgb' definition 'rgbptr'. [funcArgNamesDifferent] cups-filters-1.28.17/cupsfilters/driver.h:188:39: note: Function 'cupsRGBDoRGB' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/rgb.c:164:35: note: Function 'cupsRGBDoRGB' argument 1 names different: declaration 'rgb' definition 'rgbptr'. cups-filters-1.28.17/cupsfilters/testcmyk.c:40:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/cupsfilters/testdither.c:140:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/testdither.c:50:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/cupsfilters/testdriver.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/cupsfilters/testdriver.c:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/banner.c:104:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/banner.c:118:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BANNERTOPDF_DATADIR [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/banner.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/banner.c:66:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/banner.c:112:11: style: Variable 'datadir' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/bannertopdf.c:392:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/bannertopdf.c:541:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/bannertopdf.c:207:41: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cups-filters-1.28.17/filter/bannertopdf.c:223:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cups-filters-1.28.17/filter/bannertopdf.c:267:17: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/bannertopdf.c:325:16: style: Variable 'cur_range' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/bannertopdf.c:357:42: style: Parameter 'banner' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/bannertopdf.c:372:17: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/bannertopdf.c:484:19: style: Variable 'nbytes' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/braille/drivers/index/ubrlto4dot.c:31:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/braille/drivers/index/ubrlto4dot.c:37:3: warning: %lc in format string (no. 1) requires 'unsigned long' but the argument type is 'signed int'. [invalidPrintfArgType_uint] cups-filters-1.28.17/filter/braille/drivers/index/ubrlto4dot.c:29:26: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/filter/commandtoescpx.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/commandtoescpx.c:36:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/filter/commandtopclx.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/commandtopclx.c:36:12: style: Parameter 'argv' can be declared as const array [constParameter] cups-filters-1.28.17/filter/common.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/common.c:59:15: style: Variable 'pagesize' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/foomaticrip.c:798:55: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] cups-filters-1.28.17/filter/foomatic-rip/options.c:661:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:894:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:990:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:1155:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:2043:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:2046:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:2145:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/options.c:1384:9: warning:inconclusive: Width 15 given in format string (no. 2) is smaller than destination buffer 'typestr[33]'. [invalidScanfFormatWidth_smaller] cups-filters-1.28.17/filter/foomatic-rip/options.c:1639:13: warning:inconclusive: Width 127 given in format string (no. 1) is smaller than destination buffer 'printer_id[256]'. [invalidScanfFormatWidth_smaller] cups-filters-1.28.17/filter/foomatic-rip/options.c:1477:9: error: Common realloc mistake: 'optionsets' nulled but not freed upon failure [memleakOnRealloc] cups-filters-1.28.17/filter/foomatic-rip/options.c:1578:18: warning: Either the condition '!fh' is redundant or there is possible null pointer dereference: fh. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/foomatic-rip/options.c:1571:9: note: Assuming that condition '!fh' is not redundant cups-filters-1.28.17/filter/foomatic-rip/options.c:1578:18: note: Null pointer dereference cups-filters-1.28.17/filter/foomatic-rip/options.c:791:50: style:inconclusive: Function 'option_get_value' argument 2 names different: declaration 'optset' definition 'optionset'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/foomatic-rip/options.h:155:50: note: Function 'option_get_value' argument 2 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:791:50: note: Function 'option_get_value' argument 2 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:934:56: style:inconclusive: Function 'option_get_command' argument 3 names different: declaration 'optset' definition 'optionset'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/foomatic-rip/options.h:158:56: note: Function 'option_get_command' argument 3 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:934:56: note: Function 'option_get_command' argument 3 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:1019:41: style:inconclusive: Function 'option_set_value' argument 2 names different: declaration 'optset' definition 'optionset'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/foomatic-rip/options.h:154:41: note: Function 'option_set_value' argument 2 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:1019:41: note: Function 'option_set_value' argument 2 names different: declaration 'optset' definition 'optionset'. cups-filters-1.28.17/filter/foomatic-rip/options.c:2006:23: style: Local variable 's' shadows outer variable [shadowVariable] cups-filters-1.28.17/filter/foomatic-rip/options.c:1933:11: note: Shadowed declaration cups-filters-1.28.17/filter/foomatic-rip/options.c:2006:23: note: Shadow variable cups-filters-1.28.17/filter/foomatic-rip/options.c:397:31: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:408:35: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:413:36: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:418:33: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:423:41: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:428:34: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:493:33: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:720:11: style: Variable 'res' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:917:36: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:937:15: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:1023:15: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:1073:27: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:1155:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:2242:20: style: Variable 'bestvalue' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/options.c:698:15: style: Variable 'param' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/options.c:1517:21: style: Variable 'val' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:298:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:130:12: warning: Either the condition '(fd=mkstemp(filename))==-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:128:34: note: Assuming that condition '(fd=mkstemp(filename))==-1' is not redundant cups-filters-1.28.17/filter/foomatic-rip/pdf.c:130:12: note: Invalid argument cups-filters-1.28.17/filter/foomatic-rip/pdf.c:171:13: style: Condition '!pdf_extract_pages(tmpfile,filename,firstpage,lastpage)' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:171:31: note: Calling function 'pdf_extract_pages' returns 1 cups-filters-1.28.17/filter/foomatic-rip/pdf.c:171:13: note: Condition '!pdf_extract_pages(tmpfile,filename,firstpage,lastpage)' is always false cups-filters-1.28.17/filter/foomatic-rip/pdf.c:60:12: warning: Either the condition '!pd' is redundant or there is possible null pointer dereference: pd. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:56:9: note: Assuming that condition '!pd' is not redundant cups-filters-1.28.17/filter/foomatic-rip/pdf.c:60:12: note: Null pointer dereference cups-filters-1.28.17/filter/foomatic-rip/pdf.c:150:12: warning: Either the condition '!pd' is redundant or there is possible null pointer dereference: pd. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:148:9: note: Assuming that condition '!pd' is not redundant cups-filters-1.28.17/filter/foomatic-rip/pdf.c:150:12: note: Null pointer dereference cups-filters-1.28.17/filter/foomatic-rip/pdf.c:222:13: style: Local variable 'cmd' shadows outer variable [shadowVariable] cups-filters-1.28.17/filter/foomatic-rip/options.h:128:13: note: Shadowed declaration cups-filters-1.28.17/filter/foomatic-rip/pdf.c:222:13: note: Shadow variable cups-filters-1.28.17/filter/foomatic-rip/pdf.c:287:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:162:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GHOSTSCRIPT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:677:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:678:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:681:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:688:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:689:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:691:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:678:31: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:677:31: note: p is assigned cups-filters-1.28.17/filter/foomatic-rip/postscript.c:678:31: note: p is overwritten cups-filters-1.28.17/filter/foomatic-rip/postscript.c:817:51: style: Variable 'width' is reassigned a value before the old one has been used. [redundantAssignment] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:814:51: note: width is assigned cups-filters-1.28.17/filter/foomatic-rip/postscript.c:817:51: note: width is overwritten cups-filters-1.28.17/filter/foomatic-rip/postscript.c:186:15: style: Checking if unsigned expression 'bytes' is less than zero. [unsignedLessThanZero] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:346:23: style: Variable 'fromcomposite' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:445:31: style: Variable 'p' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:1135:25: style: Variable 'prologfound' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:1136:24: style: Variable 'setupfound' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/postscript.c:1137:28: style: Variable 'pagesetupfound' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/foomatic-rip/process.c:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/process.c:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/renderer.c:148:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/renderer.c:423:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/renderer.c:151:13: error: Common realloc mistake: 'line' nulled but not freed upon failure [memleakOnRealloc] cups-filters-1.28.17/filter/foomatic-rip/renderer.c:192:13: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] cups-filters-1.28.17/filter/foomatic-rip/renderer.c:271:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/spooler.c:122:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_PATH [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/spooler.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_PATH [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/spooler.c:145:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/spooler.c:171:11: style: Variable 'key' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/util.c:43:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/util.c:298:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/util.c:306:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/util.c:736:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/foomatic-rip/util.c:321:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/util.c:541:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] cups-filters-1.28.17/filter/foomatic-rip/util.c:863:11: style: Variable 'pstr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/foomatic-rip/util.c:1094:11: style: Variable 'i_name' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/getline.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_TRUE [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:298:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_W [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:602:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GHOSTSCRIPT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:624:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/gstoraster.c:148:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:153:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:161:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:182:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:187:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:231:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:238:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:249:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:254:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:285:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:315:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:320:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:325:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:330:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/gstoraster.c:613:13: style: Checking if unsigned expression 'bytes' is less than zero. [unsignedLessThanZero] cups-filters-1.28.17/filter/gstoraster.c:737:10: style: Local variable 'buf' shadows outer variable [shadowVariable] cups-filters-1.28.17/filter/gstoraster.c:624:8: note: Shadowed declaration cups-filters-1.28.17/filter/gstoraster.c:737:10: note: Shadow variable cups-filters-1.28.17/filter/gstoraster.c:104:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/gstoraster.c:587:19: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/gstoraster.c:622:9: style: Variable 'outformat_env' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/gstoraster.c:126:7: style: Unused variable: i [unusedVariable] cups-filters-1.28.17/filter/imagetopdf.c:32:0: error: #error Installed libs and specified source Version mismatch \ [preprocessorErrorDirective] cups-filters-1.28.17/filter/imagetoraster.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/imagetoraster.c:4570:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIEXYZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/imagetoraster.c:739:19: style: Local variable 'val' shadows outer variable [shadowVariable] cups-filters-1.28.17/filter/imagetoraster.c:167:16: note: Shadowed declaration cups-filters-1.28.17/filter/imagetoraster.c:739:19: note: Shadow variable cups-filters-1.28.17/filter/imagetoraster.c:159:11: style: Variable 'resolution' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:160:5: style: Variable 'media_type' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:1632:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:1704:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:1723:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:2078:34: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:2098:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:2473:31: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:2488:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:2591:34: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:2611:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:3018:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:3041:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:3192:34: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:3211:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:3592:31: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:3607:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:3710:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:3729:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/imagetoraster.c:4099:34: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/imagetoraster.c:4119:4: style: Variable 'dither' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/mupdftoraster.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/mupdftoraster.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_TRUE [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/mupdftoraster.c:191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/mupdftoraster.c:236:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/mupdftoraster.c:69:9: style: Variable 'rc' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/mupdftoraster.c:102:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/mupdftoraster.c:121:43: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/pcl-common.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pcl-common.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pcl-common.c:33:32: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/pdf.cxx:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:399:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdf.cxx:119:43: style:inconclusive: Function 'pdf_prepend_stream' argument 1 names different: declaration 'doc' definition 'pdf'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:43:32: note: Function 'pdf_prepend_stream' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:119:43: note: Function 'pdf_prepend_stream' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:120:45: style:inconclusive: Function 'pdf_prepend_stream' argument 2 names different: declaration 'page' definition 'page_num'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:43:46: note: Function 'pdf_prepend_stream' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:120:45: note: Function 'pdf_prepend_stream' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:167:43: style:inconclusive: Function 'pdf_add_type1_font' argument 1 names different: declaration 'doc' definition 'pdf'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:44:32: note: Function 'pdf_add_type1_font' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:167:43: note: Function 'pdf_add_type1_font' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:168:45: style:inconclusive: Function 'pdf_add_type1_font' argument 2 names different: declaration 'page' definition 'page_num'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:44:46: note: Function 'pdf_add_type1_font' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:168:45: note: Function 'pdf_add_type1_font' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:286:41: style:inconclusive: Function 'pdf_resize_page' argument 1 names different: declaration 'doc' definition 'pdf'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:45:29: note: Function 'pdf_resize_page' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:286:41: note: Function 'pdf_resize_page' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:287:43: style:inconclusive: Function 'pdf_resize_page' argument 2 names different: declaration 'page' definition 'page_num'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:45:43: note: Function 'pdf_resize_page' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:287:43: note: Function 'pdf_resize_page' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:325:44: style:inconclusive: Function 'pdf_duplicate_page' argument 1 names different: declaration 'doc' definition 'pdf'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:46:33: note: Function 'pdf_duplicate_page' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:325:44: note: Function 'pdf_duplicate_page' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:326:46: style:inconclusive: Function 'pdf_duplicate_page' argument 2 names different: declaration 'page' definition 'page_num'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:46:47: note: Function 'pdf_duplicate_page' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:326:46: note: Function 'pdf_duplicate_page' argument 2 names different: declaration 'page' definition 'page_num'. cups-filters-1.28.17/filter/pdf.cxx:349:34: style:inconclusive: Function 'pdf_write' argument 1 names different: declaration 'doc' definition 'pdf'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdf.h:42:23: note: Function 'pdf_write' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:349:34: note: Function 'pdf_write' argument 1 names different: declaration 'doc' definition 'pdf'. cups-filters-1.28.17/filter/pdf.cxx:263:28: style: Parameter 'oldrect' can be declared as const array [constParameter] cups-filters-1.28.17/filter/pdf.cxx:264:28: style: Parameter 'newrect' can be declared as const array [constParameter] cups-filters-1.28.17/filter/pdftopdf/intervalset.cc:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/intervalset.h:29:8: style: Unused private function: 'IntervalSet::unite' [unusedPrivateFunction] cups-filters-1.28.17/filter/pdftopdf/intervalset.h:28:8: performance:inconclusive: Technically the member function 'IntervalSet::intersect' can be static (but you may consider moving to unnamed namespace). [functionStatic] cups-filters-1.28.17/filter/pdftopdf/intervalset.cc:85:19: note: Technically the member function 'IntervalSet::intersect' can be static (but you may consider moving to unnamed namespace). cups-filters-1.28.17/filter/pdftopdf/intervalset.h:28:8: note: Technically the member function 'IntervalSet::intersect' can be static (but you may consider moving to unnamed namespace). cups-filters-1.28.17/filter/pdftopdf/nup.cc:9:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/nup.cc:138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/nup.h:68:3: style: Class 'NupState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:34:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:533:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oct [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:880:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:937:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:1064:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:13:1: warning: Member variable 'ProcessingParameters::copies_to_be_logged' is not initialized in the constructor. [uninitMemberVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:1223:2: error: Resource handle 'fd' freed twice. [doubleFree] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:1221:20: note: Resource handle 'fd' freed twice. cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:1223:2: note: Resource handle 'fd' freed twice. cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:790:44: warning: Either the condition 'final_content_type==NULL' is redundant or there is possible null pointer dereference: final_content_type. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:688:30: note: Assuming that condition 'final_content_type==NULL' is not redundant cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:790:44: note: Null pointer dereference cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:250:26: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:257:26: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:263:30: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:951:22: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:952:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:953:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:126:66: performance: Function parameter 'label' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:69:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:155:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:394:15: style: Variable 'pagesize' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:625:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:686:13: style: Variable 'final_content_type' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:705:14: style: Variable 'ppd_attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:799:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:805:19: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:831:13: style: Variable 'final_content_type' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_ORDER_ANY [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:175:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:51:10: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:57:4: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:150:21: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:134:10: style: The scope of the variable 'buf' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:15:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:133:17: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:36:1: style: The class 'QPDF_PDFTOPDF_Processor' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:9:20: style: The function 'getRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:117:20: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:9:20: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:10:16: style: The function 'add_border_rect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:119:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:10:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:11:16: style: The function 'add_subpage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:123:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:11:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:12:16: style: The function 'mirror' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:124:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:12:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:13:16: style: The function 'rotate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:125:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:13:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:14:16: style: The function 'add_label' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:126:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:14:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:15:20: style: The function 'crop' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:121:20: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:15:20: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:16:16: style: The function 'is_landscape' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:122:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:16:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:38:16: style: The function 'loadFile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:135:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:38:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:39:16: style: The function 'loadFilename' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:136:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:39:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:42:16: style: The function 'check_print_permissions' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:139:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:42:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:46:61: style: The function 'get_pages' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:141:61: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:46:61: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:47:48: style: The function 'new_page' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:143:48: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:47:48: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:49:16: style: The function 'add_page' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:145:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:49:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:51:16: style: The function 'multiply' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:149:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:51:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:53:16: style: The function 'autoRotateAll' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:151:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:53:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:54:16: style: The function 'addCM' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:152:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:54:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:56:16: style: The function 'setComments' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:154:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:56:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:58:16: style: The function 'emitFile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:156:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:58:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:59:16: style: The function 'emitFilename' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:157:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:59:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:61:16: style: The function 'hasAcroForm' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.h:159:16: note: Virtual function in base class cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:61:16: note: Function in derived class cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:9:22: style: The scope of the variable 'bstr' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:14:66: performance: Function parameter 'label' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:10:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:8:22: style: The scope of the variable 'pstr' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:36:22: style: The scope of the variable 'rstr' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf.h:22:3: style: Class 'Matrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:222:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:467:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:540:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable an_print [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:754:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:64:8: performance:inconclusive: Technically the member function 'QPDF_PDFTOPDF_Processor::error' can be static (but you may consider moving to unnamed namespace). [functionStatic] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:462:31: note: Technically the member function 'QPDF_PDFTOPDF_Processor::error' can be static (but you may consider moving to unnamed namespace). cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:64:8: note: Technically the member function 'QPDF_PDFTOPDF_Processor::error' can be static (but you may consider moving to unnamed namespace). cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:24:3: style: Class 'QPDF_PDFTOPDF_PageHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:123:64: style:inconclusive: Function 'add_border_rect' argument 1 names different: declaration 'rect' definition '_rect'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:10:48: note: Function 'add_border_rect' argument 1 names different: declaration 'rect' definition '_rect'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:123:64: note: Function 'add_border_rect' argument 1 names different: declaration 'rect' definition '_rect'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:354:58: style:inconclusive: Function 'add_label' argument 1 names different: declaration 'rect' definition '_rect'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:14:42: note: Function 'add_label' argument 1 names different: declaration 'rect' definition '_rect'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:354:58: note: Function 'add_label' argument 1 names different: declaration 'rect' definition '_rect'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:703:46: style:inconclusive: Function 'emitFile' argument 1 names different: declaration 'dst' definition 'f'. [funcArgNamesDifferent] cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.h:58:31: note: Function 'emitFile' argument 1 names different: declaration 'dst' definition 'f'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:703:46: note: Function 'emitFile' argument 1 names different: declaration 'dst' definition 'f'. cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:354:83: performance: Function parameter 'label' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/pdftopdf/qpdf_xobject.cc:16:3: style: Class 'CombineFromContents_Provider' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] cups-filters-1.28.17/filter/pdftops.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftops.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftops.c:278:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftops.c:301:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_PDFTOPS_RENDERER [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftops.c:118:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/pdftops.c:234:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/pdftops.c:275:9: style: Variable 'apos' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftops.c:317:18: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftops.c:318:18: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:1236:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_XYZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:1292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ORDER_CHUNKED [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:1665:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media_box [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:1968:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:1986:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdftoraster.cxx:470:3: warning:inconclusive: The buffer 'pageSizeRequested' may not be null-terminated after the call to strncpy(). [terminateStrncpy] cups-filters-1.28.17/filter/pdftoraster.cxx:788:24: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:821:24: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1577:15: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1578:27: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1579:14: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1581:16: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1588:17: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1589:29: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1591:16: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1606:14: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:1607:26: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/pdftoraster.cxx:548:21: style: The scope of the variable 'd' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:615:17: style: The scope of the variable 'd' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:635:17: style: The scope of the variable 'd' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:700:21: style: The scope of the variable 'd' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:1660:13: style: The scope of the variable 'swap' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:1976:7: style: The scope of the variable 'i' can be reduced. [variableScope] cups-filters-1.28.17/filter/pdftoraster.cxx:198:14: style: Variable 'xyY' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:210:14: style: Variable 'xyY' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:224:14: style: Variable 'matrix' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:299:17: style: Variable 'mf' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:301:15: style: Variable 'rregions' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:340:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:489:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/pdftoraster.cxx:649:67: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'lineNoop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:747:26: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:649:67: note: Parameter 'dst' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:752:18: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'convertCSpaceNone' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1432:23: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:752:18: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:828:49: style: Parameter 'src' can be declared as pointer to const. However it seems that 'RGB8toRGBA' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1422:23: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:828:49: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:936:45: style: Parameter 'src' can be declared as pointer to const. However it seems that 'W8toK8' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1437:23: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:936:45: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:943:74: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'convertBitsNoop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1465:21: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:943:74: note: Parameter 'dst' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:949:50: style: Parameter 'src' can be declared as pointer to const. However it seems that 'convert8to1' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1460:25: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:949:50: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:965:50: style: Parameter 'src' can be declared as pointer to const. However it seems that 'convert8to2' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1447:21: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:965:50: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:983:50: style: Parameter 'src' can be declared as pointer to const. However it seems that 'convert8to4' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1450:21: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:983:50: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1007:51: style: Parameter 'src' can be declared as pointer to const. However it seems that 'convert8to16' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1453:21: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1007:51: note: Parameter 'src' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1019:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePixel1' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1498:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1019:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1045:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePlanePixel1' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1500:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1045:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1054:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePixel2' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1474:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1054:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1073:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePlanePixel2' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1476:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1073:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1082:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePixel4' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1482:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1082:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1102:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePlanePixel4' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1484:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1102:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1112:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePixel8' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1507:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1112:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1121:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePlanePixel8' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1509:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1121:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1127:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePixel16' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1490:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1127:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:1136:61: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'writePlanePixel16' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1492:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:1136:61: note: Parameter 'pixelBuf' can be declared as pointer to const cups-filters-1.28.17/filter/pdftoraster.cxx:339:15: style: Variable 't' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/pdftoraster.cxx:1608:15: style: Variable 'pixel_count' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/pdfutils.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdfutils.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdfutils.c:289:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdfutils.c:305:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMB_FMT_STDFONT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/pdfutils.c:97:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cups-filters-1.28.17/filter/pdfutils.c:91:42: style: Parameter 'curtm' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertoescpx.c:142:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertoescpx.c:1106:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertoescpx.c:1508:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertoescpx.c:1653:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertoescpx.c:1775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertoescpx.c:113:19: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertoescpx.c:145:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertoescpx.c:1186:22: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertoescpx.c:1296:35: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertopclx.c:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PPD_MAX_NAME [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopclx.c:1823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopclx.c:695:11: style: Condition 'ppd' is always true [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopclx.c:1332:42: style: Condition 'g<-16' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopclx.c:1332:21: note: Assuming that condition 'r<-16' is not redundant cups-filters-1.28.17/filter/rastertopclx.c:1329:10: note: g is assigned 'r' here. cups-filters-1.28.17/filter/rastertopclx.c:1332:42: note: Condition 'g<-16' is always false cups-filters-1.28.17/filter/rastertopclx.c:1332:53: style: Condition 'g>15' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopclx.c:1332:32: note: Assuming that condition 'r>15' is not redundant cups-filters-1.28.17/filter/rastertopclx.c:1329:10: note: g is assigned 'r' here. cups-filters-1.28.17/filter/rastertopclx.c:1332:53: note: Condition 'g>15' is always false cups-filters-1.28.17/filter/rastertopclx.c:1358:35: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/filter/rastertopclx.c:1359:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/filter/rastertopclx.c:1521:35: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/filter/rastertopclx.c:1522:21: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] cups-filters-1.28.17/filter/rastertopclx.c:125:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertopclx.c:126:17: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertopclx.c:837:29: style: Parameter 'ppd' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertopclx.c:838:30: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertopclx.c:911:15: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertopclx.c:1562:33: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertopdf.cpp:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:224:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:470:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:797:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:981:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_K [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:1175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:1246:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:1326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertopdf.cpp:800:16: style: Condition 'cm_disabled' is always true [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1346:7: style: Condition 'outformat_env' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1306:27: note: Assignment 'outformat_env=NULL', assigned value is 0 cups-filters-1.28.17/filter/rastertopdf.cpp:1324:18: note: Assuming condition is false cups-filters-1.28.17/filter/rastertopdf.cpp:1346:7: note: Condition 'outformat_env' is always false cups-filters-1.28.17/filter/rastertopdf.cpp:1347:17: style: Condition 'outformat==OUTPUT_FORMAT_PDF' is always true [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1343:17: note: Assignment 'outformat=OUTPUT_FORMAT_PDF', assigned value is 0 cups-filters-1.28.17/filter/rastertopdf.cpp:1347:17: note: Condition 'outformat==OUTPUT_FORMAT_PDF' is always true cups-filters-1.28.17/filter/rastertopdf.cpp:1354:19: style: Condition 'outformat==OUTPUT_FORMAT_PCLM' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1343:17: note: Assignment 'outformat=OUTPUT_FORMAT_PDF', assigned value is 0 cups-filters-1.28.17/filter/rastertopdf.cpp:1354:19: note: Condition 'outformat==OUTPUT_FORMAT_PCLM' is always false cups-filters-1.28.17/filter/rastertopdf.cpp:1405:26: style: Condition 'outformat==OUTPUT_FORMAT_PCLM' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1343:17: note: Assignment 'outformat=OUTPUT_FORMAT_PDF', assigned value is 0 cups-filters-1.28.17/filter/rastertopdf.cpp:1405:26: note: Condition 'outformat==OUTPUT_FORMAT_PCLM' is always false cups-filters-1.28.17/filter/rastertopdf.cpp:1532:11: style: Condition 'convert_raster(ras,header.cupsWidth,header.cupsHeight,header.cupsBitsPerPixel,header.cupsBytesPerLine,&pdf)!=0' is always false [knownConditionTrueFalse] cups-filters-1.28.17/filter/rastertopdf.cpp:1530:25: note: Calling function 'convert_raster' returns 0 cups-filters-1.28.17/filter/rastertopdf.cpp:1532:11: note: Condition 'convert_raster(ras,header.cupsWidth,header.cupsHeight,header.cupsBitsPerPixel,header.cupsBytesPerLine,&pdf)!=0' is always false cups-filters-1.28.17/filter/rastertopdf.cpp:1175:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/rastertopdf.cpp:480:9: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1202:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1203:12: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1407:25: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1417:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1429:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1437:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1445:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1465:19: style: C-style pointer casting [cstyleCast] cups-filters-1.28.17/filter/rastertopdf.cpp:1316:25: style: The scope of the variable 'profile_name' can be reduced. [variableScope] cups-filters-1.28.17/filter/rastertopdf.cpp:969:75: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] cups-filters-1.28.17/filter/rastertopdf.cpp:209:51: performance: Function parameter 'delimiters' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/rastertopdf.cpp:707:57: performance: Function parameter 'render_intent' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/rastertopdf.cpp:944:62: performance: Function parameter 'render_intent' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/rastertopdf.cpp:1091:60: performance: Function parameter 'render_intent' should be passed by const reference. [passedByValue] cups-filters-1.28.17/filter/rastertopdf.cpp:154:67: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'noBitConversion' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:408:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:154:67: note: Parameter 'dst' can be declared as pointer to const cups-filters-1.28.17/filter/rastertopdf.cpp:197:18: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'noColorConversion' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:419:27: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:197:18: note: Parameter 'dst' can be declared as pointer to const cups-filters-1.28.17/filter/rastertopdf.cpp:375:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'convertPdf_NoConversion' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:1075:19: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:375:48: note: Parameter 'info' can be declared as pointer to const cups-filters-1.28.17/filter/rastertopdf.cpp:417:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'convertPdf_InvertColors' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:996:18: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:417:48: note: Parameter 'info' can be declared as pointer to const cups-filters-1.28.17/filter/rastertopdf.cpp:524:71: style: Parameter 'wp' can be declared as const array [constParameter] cups-filters-1.28.17/filter/rastertopdf.cpp:525:45: style: Parameter 'gamma' can be declared as const array [constParameter] cups-filters-1.28.17/filter/rastertopdf.cpp:525:61: style: Parameter 'matrix' can be declared as const array [constParameter] cups-filters-1.28.17/filter/rastertopdf.cpp:525:78: style: Parameter 'bp' can be declared as const array [constParameter] cups-filters-1.28.17/filter/rastertopdf.cpp:1169:75: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/rastertopdf.cpp:1306:11: style: Variable 'outformat_env' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertopdf.cpp:1314:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/rastertopdf.cpp:1478:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] cups-filters-1.28.17/filter/rastertopdf.cpp:441:44: style: Unused variable: dict [unusedVariable] cups-filters-1.28.17/filter/rastertops.c:86:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_RGB [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertops.c:240:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_RGB [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertops.c:315:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertops.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/rastertops.c:267:16: warning: Either the condition 'convertedpix!=NULL' is redundant or there is possible null pointer dereference: convertedpix. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/rastertops.c:286:19: note: Assuming that condition 'convertedpix!=NULL' is not redundant cups-filters-1.28.17/filter/rastertops.c:267:16: note: Null pointer dereference cups-filters-1.28.17/filter/rastertops.c:283:18: error: Uninitialized variable: out [uninitvar] cups-filters-1.28.17/filter/rastertops.c:283:40: note: Assuming condition is false cups-filters-1.28.17/filter/rastertops.c:283:18: note: Uninitialized variable: out cups-filters-1.28.17/filter/sys5ippprinter.c:133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/sys5ippprinter.c:496:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/sys5ippprinter.c:544:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/sys5ippprinter.c:644:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/sys5ippprinter.c:800:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/sys5ippprinter.c:682:33: style: Variable 'filterfds[1-current][0]' is reassigned a value before the old one has been used. [redundantAssignment] cups-filters-1.28.17/filter/sys5ippprinter.c:681:33: note: filterfds[1-current][0] is assigned cups-filters-1.28.17/filter/sys5ippprinter.c:682:33: note: filterfds[1-current][0] is overwritten cups-filters-1.28.17/filter/sys5ippprinter.c:105:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/sys5ippprinter.c:513:28: style: Parameter 'a' can be declared as pointer to const. However it seems that 'compare_pids' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/sys5ippprinter.c:650:53: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/sys5ippprinter.c:513:28: note: Parameter 'a' can be declared as pointer to const cups-filters-1.28.17/filter/sys5ippprinter.c:514:28: style: Parameter 'b' can be declared as pointer to const. However it seems that 'compare_pids' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/sys5ippprinter.c:650:53: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/sys5ippprinter.c:514:28: note: Parameter 'b' can be declared as pointer to const cups-filters-1.28.17/filter/sys5ippprinter.c:835:25: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/test_pdf2.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMB_A_MULTIBYTE [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/test_pdf2.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/textcommon.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/textcommon.c:1246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/texttopdf.c:61:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FcMatchPattern [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/texttopdf.c:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DATADIR [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/texttopdf.c:355:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] cups-filters-1.28.17/filter/texttopdf.c:906:11: style: Condition 'mono' is always true [knownConditionTrueFalse] cups-filters-1.28.17/filter/texttopdf.c:900:6: note: Assignment 'mono=1', assigned value is 1 cups-filters-1.28.17/filter/texttopdf.c:906:11: note: Condition 'mono' is always true cups-filters-1.28.17/filter/texttopdf.c:606:6: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] cups-filters-1.28.17/filter/texttopdf.c:606:6: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] cups-filters-1.28.17/filter/texttopdf.c:281:10: style: Variable 'charset' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/texttopdf.c:287:4: style: Variable 'valptr' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/texttopdf.c:1155:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/filter/texttotext.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/texttotext.c:82:10: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/filter/urftopdf.cpp:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/urftopdf.cpp:149:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a_deflate [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/urftopdf.cpp:424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/filter/urftopdf.cpp:333:58: style: Comparing expression of type 'signed char' against value 127. Condition is always true. [compareValueOutOfTypeRangeError] cups-filters-1.28.17/filter/urftopdf.cpp:450:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/urftopdf.cpp:476:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/urftopdf.cpp:476:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/urftopdf.cpp:477:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/filter/urftopdf.cpp:283:14: style: The scope of the variable 'pos' can be reduced. [variableScope] cups-filters-1.28.17/filter/urftopdf.cpp:285:14: style: The scope of the variable 'line_repeat' can be reduced. [variableScope] cups-filters-1.28.17/filter/urftopdf.cpp:245:68: style: Parameter 'line' can be declared as const array [constParameter] cups-filters-1.28.17/filter/urftopdf.cpp:330:21: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/urftopdf.cpp:463:30: style: Variable 'page_header.unknown0' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/urftopdf.cpp:464:30: style: Variable 'page_header.unknown1' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/urftopdf.cpp:468:30: style: Variable 'page_header.unknown2' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/filter/urftopdf.cpp:469:30: style: Variable 'page_header.unknown3' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/fontembed/dynstring.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/dynstring.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:167:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:347:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:539:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_pdf.c:167:31: style: Obsolescent function 'rand_r' called. It is recommended to use 'rand' instead. [prohibitedrand_rCalled] cups-filters-1.28.17/fontembed/embed_pdf.c:382:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/embed_pdf.c:33:45: style: Parameter 'emb' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/fontembed/embed_pdf.c:143:8: style: Variable 'len' is assigned a value that is never used. [unreadVariable] cups-filters-1.28.17/fontembed/embed_sfnt.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_sfnt.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_sfnt.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_sfnt.c:302:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_sfnt.c:499:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/embed_sfnt.c:295:74: style:inconclusive: Function 'emb_otf_get_pdf_cidwidths' argument 2 names different: declaration 'glyph' definition 'glyphs'. [funcArgNamesDifferent] cups-filters-1.28.17/fontembed/embed_sfnt_int.h:14:74: note: Function 'emb_otf_get_pdf_cidwidths' argument 2 names different: declaration 'glyph' definition 'glyphs'. cups-filters-1.28.17/fontembed/embed_sfnt.c:295:74: note: Function 'emb_otf_get_pdf_cidwidths' argument 2 names different: declaration 'glyph' definition 'glyphs'. cups-filters-1.28.17/fontembed/embed_sfnt.c:372:67: style: Parameter 'to_unicode' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/fontembed/sfnt_int.h:62:44: style: Parameter 'otf' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/fontembed/frequent.c:27:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTPTR_MIN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/frequent.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/frequent.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTPTR_MIN [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:294:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:444:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:461:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:605:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:651:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:752:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:902:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt.c:789:37: style:inconclusive: Function 'otf_action_copy' argument 2 names different: declaration 'csum' definition 'table_no'. [funcArgNamesDifferent] cups-filters-1.28.17/fontembed/sfnt_int.h:77:37: note: Function 'otf_action_copy' argument 2 names different: declaration 'csum' definition 'table_no'. cups-filters-1.28.17/fontembed/sfnt.c:789:37: note: Function 'otf_action_copy' argument 2 names different: declaration 'csum' definition 'table_no'. cups-filters-1.28.17/fontembed/sfnt.c:838:40: style:inconclusive: Function 'otf_action_replace' argument 2 names different: declaration 'csum' definition 'length'. [funcArgNamesDifferent] cups-filters-1.28.17/fontembed/sfnt_int.h:78:40: note: Function 'otf_action_replace' argument 2 names different: declaration 'csum' definition 'length'. cups-filters-1.28.17/fontembed/sfnt.c:838:40: note: Function 'otf_action_replace' argument 2 names different: declaration 'csum' definition 'length'. cups-filters-1.28.17/fontembed/sfnt.c:912:9: style: Local variable 'iA' shadows outer variable [shadowVariable] cups-filters-1.28.17/fontembed/sfnt.c:896:7: note: Shadowed declaration cups-filters-1.28.17/fontembed/sfnt.c:912:9: note: Shadow variable cups-filters-1.28.17/fontembed/sfnt.c:913:9: style: Local variable 'ret' shadows outer variable [shadowVariable] cups-filters-1.28.17/fontembed/sfnt.c:897:7: note: Shadowed declaration cups-filters-1.28.17/fontembed/sfnt.c:913:9: note: Shadow variable cups-filters-1.28.17/fontembed/sfnt.c:288:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/fontembed/sfnt.c:375:30: style: Parameter 'otf' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/fontembed/sfnt.c:405:30: style: Variable 'res' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/fontembed/sfnt.c:694:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] cups-filters-1.28.17/fontembed/sfnt.c:760:8: style: Variable 'target' can be declared as const array [constVariable] cups-filters-1.28.17/fontembed/sfnt_subset.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt_subset.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt_subset.c:270:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/sfnt_subset.c:39:36: style: Parameter 'otf' can be declared as pointer to const [constParameterPointer] cups-filters-1.28.17/fontembed/test_analyze.c:185:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:33:3: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:117:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:199:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:199:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:215:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_analyze.c:215:5: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cups-filters-1.28.17/fontembed/test_pdf.c:12:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/test_pdf.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/test_ps.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/fontembed/test_ps.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] cups-filters-1.28.17/scripting/php/phpcups.c:72:1: error: There is an unknown macro here somewhere. Configuration is required. If ZEND_GET_MODULE is a macro then please configure it. [unknownMacro] cups-filters-1.28.17/utils/cups-browsed.c:12412:55: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] cups-filters-1.28.17/utils/driverless.c:333:4: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] cups-filters-1.28.17/filter/rastertopdf.cpp:274:1: error: The one definition rule is violated, different classes/structs have the same name 'pdf_info' [ctuOneDefinitionRuleViolation] cups-filters-1.28.17/filter/urftopdf.cpp:64:1: note: The one definition rule is violated, different classes/structs have the same name 'pdf_info' cups-filters-1.28.17/filter/rastertopdf.cpp:274:1: note: The one definition rule is violated, different classes/structs have the same name 'pdf_info' cups-filters-1.28.17/cupsfilters/image.c:196:11: warning: Null pointer dereference: img [ctunullpointer] cups-filters-1.28.17/cupsfilters/image.c:633:9: note: Assuming that condition 'img==NULL' is not redundant cups-filters-1.28.17/cupsfilters/image.c:632:27: note: Calling function cupsImageGetDepth, 1st argument is null cups-filters-1.28.17/cupsfilters/image.c:196:11: note: Dereferencing argument img that is null cups-filters-1.28.17/filter/foomatic-rip/util.c:304:40: warning: Null pointer dereference: stream [ctunullpointer] cups-filters-1.28.17/filter/foomatic-rip/pdf.c:56:9: note: Assuming that condition '!pd' is not redundant cups-filters-1.28.17/filter/foomatic-rip/pdf.c:59:25: note: Calling function fread_or_die, 4th argument is null cups-filters-1.28.17/filter/foomatic-rip/util.c:304:40: note: Dereferencing argument stream that is null diff: head cups-filters-1.28.17/backend/beh.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/beh.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/implicitclass.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_MAX_URI [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/implicitclass.c:436:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_BACKEND_OK [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/parallel.c:327:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/parallel.c:583:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/parallel.c:823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/serial.c:1218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SC_STATUS_IO_ERROR [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/backend/serial.c:761:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/cmyk.c:1202:27: style: Condition 'num_channels!=3' is always true [knownConditionTrueFalse] head cups-filters-1.28.17/cupsfilters/cmyk.c:1749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/cmyk.c:1809:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/cmyk.c:1848:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/cmyk.c:1943:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colord.c:453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colord.c:460:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:185:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:314:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/colormanager.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-colorspace.c:1083:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIELab [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-colorspace.c:841:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIELab [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-colorspace.c:961:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIEXYZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-gif.c:273:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-sgilib.c:601:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-sgilib.c:629:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-sgilib.c:675:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-sgilib.c:740:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image-sgilib.c:832:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/image.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/ipp.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/lut.c:186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:556:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:602:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:694:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/pdftoippprinter.c:834:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/cupsfilters/raster.c:72:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] head cups-filters-1.28.17/cupsfilters/raster.c:74:21: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] head cups-filters-1.28.17/cupsfilters/testcmyk.c:40:12: style: Parameter 'argv' can be declared as const array [constParameter] head cups-filters-1.28.17/cupsfilters/testdriver.c:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HTTP_URI_CODING_ALL [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/banner.c:118:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BANNERTOPDF_DATADIR [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/banner.c:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/bannertopdf.c:541:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/braille/drivers/index/ubrlto4dot.c:29:26: style: Parameter 'argv' can be declared as const array [constParameter] head cups-filters-1.28.17/filter/foomatic-rip/postscript.c:181:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GHOSTSCRIPT [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/postscript.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/process.c:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/renderer.c:423:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/spooler.c:187:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_PATH [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/util.c:298:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/util.c:306:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/foomatic-rip/util.c:736:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/gstoraster.c:298:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_W [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/gstoraster.c:386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/gstoraster.c:602:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_GHOSTSCRIPT [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/gstoraster.c:624:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/imagetoraster.c:4570:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_CIEXYZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/mupdftoraster.c:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_TRUE [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/mupdftoraster.c:191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/mupdftoraster.c:236:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pcl-common.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdf.cxx:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdf.cxx:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdf.cxx:294:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdf.cxx:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdf.cxx:399:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/nup.cc:138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:1064:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:533:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oct [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:790:44: warning: Either the condition 'final_content_type==NULL' is redundant or there is possible null pointer dereference: final_content_type. [nullPointerRedundantCheck] cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:688:30: note: Assuming that condition 'final_content_type==NULL' is not redundant cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:790:44: note: Null pointer dereference head cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:880:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf.cc:937:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:164:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf_jcl.cc:175:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pdftopdf_processor.cc:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/pptypes.cc:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:467:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:540:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable an_print [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftopdf/qpdf_pdftopdf_processor.cc:754:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftops.c:240:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftops.c:278:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftops.c:301:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_PDFTOPS_RENDERER [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:1236:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PT_XYZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:1292:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_ORDER_CHUNKED [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:1665:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable media_box [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:1968:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:1986:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdftoraster.cxx:649:67: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'lineNoop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:747:26: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:649:67: note: Parameter 'dst' can be declared as pointer to const head cups-filters-1.28.17/filter/pdftoraster.cxx:752:18: style: Parameter 'pixelBuf' can be declared as pointer to const. However it seems that 'convertCSpaceNone' is a callback function, if 'pixelBuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1432:23: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:752:18: note: Parameter 'pixelBuf' can be declared as pointer to const head cups-filters-1.28.17/filter/pdftoraster.cxx:943:74: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'convertBitsNoop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/pdftoraster.cxx:1465:21: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/pdftoraster.cxx:943:74: note: Parameter 'dst' can be declared as pointer to const head cups-filters-1.28.17/filter/pdfutils.c:289:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdfutils.c:305:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMB_FMT_STDFONT [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/pdfutils.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertoescpx.c:1106:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertoescpx.c:1508:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertoescpx.c:1653:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertoescpx.c:1775:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopclx.c:1823:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:1175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:1246:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:1326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:154:67: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'noBitConversion' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:408:20: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:154:67: note: Parameter 'dst' can be declared as pointer to const head cups-filters-1.28.17/filter/rastertopdf.cpp:197:18: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'noColorConversion' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:419:27: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:197:18: note: Parameter 'dst' can be declared as pointer to const head cups-filters-1.28.17/filter/rastertopdf.cpp:224:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:375:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'convertPdf_NoConversion' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:1075:19: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:375:48: note: Parameter 'info' can be declared as pointer to const head cups-filters-1.28.17/filter/rastertopdf.cpp:417:48: style: Parameter 'info' can be declared as pointer to const. However it seems that 'convertPdf_InvertColors' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] cups-filters-1.28.17/filter/rastertopdf.cpp:996:18: note: You might need to cast the function pointer here cups-filters-1.28.17/filter/rastertopdf.cpp:417:48: note: Parameter 'info' can be declared as pointer to const head cups-filters-1.28.17/filter/rastertopdf.cpp:470:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:797:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertopdf.cpp:981:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_K [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertops.c:240:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_CSPACE_RGB [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertops.c:315:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/rastertops.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/sys5ippprinter.c:496:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_SERVERBIN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/sys5ippprinter.c:544:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/sys5ippprinter.c:644:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/sys5ippprinter.c:800:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/test_pdf2.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/textcommon.c:1246:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/texttopdf.c:316:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUPS_DATADIR [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/urftopdf.cpp:149:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a_deflate [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/filter/urftopdf.cpp:424:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/dynstring.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:167:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:347:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:539:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_pdf.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_sfnt.c:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_sfnt.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_sfnt.c:302:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/embed_sfnt.c:499:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/frequent.c:62:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pair [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/frequent.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTPTR_MIN [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:294:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:444:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:461:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:605:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:651:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:752:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt.c:902:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt_subset.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/sfnt_subset.c:270:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/test_pdf.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] head cups-filters-1.28.17/fontembed/test_ps.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TESTFONT [valueFlowBailoutIncompleteVar] DONE