2022-06-25 19:45 ftp://ftp.de.debian.org/debian/pool/main/v/vorbis-tools/vorbis-tools_1.4.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 242afc3 (2022-06-25 21:42:55 +0200) count: 156 155 elapsed-time: 5.3 7.0 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: vorbis-tools-1.4.2/intl/finddomain.c:61:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:243:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. vorbis-tools-1.4.2/intl/finddomain.c:61:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. vorbis-tools-1.4.2/intl/finddomain.c:61:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:243:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. vorbis-tools-1.4.2/intl/finddomain.c:61:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. vorbis-tools-1.4.2/intl/finddomain.c:62:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:244:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/finddomain.c:62:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/finddomain.c:62:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:245:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/finddomain.c:62:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/bindtextdom.c:232:12: style: Local variable 'len' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/bindtextdom.c:204:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/bindtextdom.c:232:12: note: Shadow variable vorbis-tools-1.4.2/intl/bindtextdom.c:261:15: style: Local variable 'len' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/bindtextdom.c:204:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/bindtextdom.c:261:15: note: Shadow variable vorbis-tools-1.4.2/intl/localcharset.c:358:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] vorbis-tools-1.4.2/intl/localcharset.c:349:24: note: Assignment 'locale=NULL', assigned value is 0 vorbis-tools-1.4.2/intl/localcharset.c:358:14: note: Condition 'locale==NULL' is always true vorbis-tools-1.4.2/intl/localealias.c:175:41: error: Uninitialized variable: &item.value [uninitvar] plural.c:1160:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.c:1416:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] plural.c:1413:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 plural.c:1414:11: note: Assuming that condition 'yyn<=0' is not redundant plural.c:1416:15: note: Condition 'yyn==0' is always true plural.y:156:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:158:52: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:164:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:172:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:180:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:188:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:196:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:204:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:212:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:220:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:237:42: style: Same expression on both sides of '-'. [duplicateExpression] vorbis-tools-1.4.2/intl/dcigettext.c:854:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] vorbis-tools-1.4.2/intl/dcigettext.c:650:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] vorbis-tools-1.4.2/intl/dcigettext.c:697:39: style: Redundant condition: If 'EXPR == ':'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] vorbis-tools-1.4.2/intl/dcigettext.c:487:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:80:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/dcigettext.c:487:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. vorbis-tools-1.4.2/intl/dcigettext.c:487:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:81:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. vorbis-tools-1.4.2/intl/dcigettext.c:487:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. vorbis-tools-1.4.2/intl/dcigettext.c:487:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:81:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. vorbis-tools-1.4.2/intl/dcigettext.c:487:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. vorbis-tools-1.4.2/intl/dcigettext.c:488:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:82:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. vorbis-tools-1.4.2/intl/dcigettext.c:488:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. vorbis-tools-1.4.2/intl/dcigettext.c:488:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:82:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. vorbis-tools-1.4.2/intl/dcigettext.c:488:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. vorbis-tools-1.4.2/intl/dcigettext.c:488:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:83:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. vorbis-tools-1.4.2/intl/dcigettext.c:488:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. vorbis-tools-1.4.2/intl/tsearch.c:184:8: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:184:8: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:284:12: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:284:12: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:345:12: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:345:12: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:370:8: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:370:8: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:620:14: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:620:14: note: Shadow variable vorbis-tools-1.4.2/intl/tsearch.c:643:14: style: Local variable 'root' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/intl/dcigettext.c:278:14: note: Shadowed declaration vorbis-tools-1.4.2/intl/tsearch.c:643:14: note: Shadow variable vorbis-tools-1.4.2/intl/vasnprintf.c:4645:3: style: Label 'overflow' is not used. [unusedLabel] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:391:2: error: Common realloc mistake: 'line' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: warning: Either the condition 'value!=NULL' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:12: note: Assuming that condition 'value!=NULL' is not redundant vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: note: Null pointer dereference vorbis-tools-1.4.2/ogg123/cfgfile_options.c:283:30: error: Null pointer dereference [nullPointer] vorbis-tools-1.4.2/ogg123/cfgfile_options.c:110:57: style:inconclusive: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/cfgfile_options.h:52:57: note: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. vorbis-tools-1.4.2/ogg123/cfgfile_options.c:110:57: note: Function 'file_options_describe' argument 2 names different: declaration 'outfile' definition 'f'. vorbis-tools-1.4.2/ogg123/format.c:83:57: style: Parameter 'to_copy' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:393:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:73:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/flac_format.c:621:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/flac_format.c:609:63: style:inconclusive: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/flac_format.c:98:63: note: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. vorbis-tools-1.4.2/ogg123/flac_format.c:609:63: note: Function 'print_flac_comments' argument 1 names different: declaration 'comments' definition 'f_comments'. vorbis-tools-1.4.2/ogg123/flac_format.c:144:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/playlist.c:192:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] vorbis-tools-1.4.2/ogg123/playlist.c:225:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] vorbis-tools-1.4.2/ogg123/opus_format.c:369:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/opus_format.c:74:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/remote.c:318:9: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] vorbis-tools-1.4.2/ogg123/remote.c:315:9: note: s is assigned vorbis-tools-1.4.2/ogg123/remote.c:318:9: note: s is overwritten vorbis-tools-1.4.2/ogg123/remote.c:328:9: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] vorbis-tools-1.4.2/ogg123/remote.c:318:9: note: s is assigned vorbis-tools-1.4.2/ogg123/remote.c:328:9: note: s is overwritten vorbis-tools-1.4.2/ogg123/remote.c:335:9: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] vorbis-tools-1.4.2/ogg123/remote.c:328:9: note: s is assigned vorbis-tools-1.4.2/ogg123/remote.c:335:9: note: s is overwritten vorbis-tools-1.4.2/ogg123/remote.c:130:13: style: Variable 'error' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/speex_format.c:161:11: style: Condition 'ret<0' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/ogg123/speex_format.c:159:9: note: Assignment 'ret=1', assigned value is 1 vorbis-tools-1.4.2/ogg123/speex_format.c:161:11: note: Condition 'ret<0' is always false vorbis-tools-1.4.2/ogg123/speex_format.c:164:5: error: Memory leak: decoder [memleak] vorbis-tools-1.4.2/ogg123/speex_format.c:449:7: error: Common realloc mistake: 'temp' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/ogg123/speex_format.c:116:26: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/transport.c:64:69: style: Parameter 'to_copy' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/vgfilter.c:62:27: style:inconclusive: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/vgfilter.h:62:34: note: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. vorbis-tools-1.4.2/ogg123/vgfilter.c:62:27: note: Function 'vg_init' argument 1 names different: declaration 'vg_state' definition 'vg'. vorbis-tools-1.4.2/ogg123/status.c:382:31: style:inconclusive: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. [funcArgNamesDifferent] vorbis-tools-1.4.2/ogg123/status.h:68:31: note: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. vorbis-tools-1.4.2/ogg123/status.c:382:31: note: Function 'status_print_statistics' argument 3 names different: declaration 'data_source_statistics' definition 'transport_statistics'. vorbis-tools-1.4.2/ogg123/status.c:71:9: style: Variable 'sep' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/status.c:74:9: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:186:13: style: Redundant condition: If 'EXPR == ' '', the comparison 'EXPR' is always true. [redundantCondition] vorbis-tools-1.4.2/ogg123/ogg123.c:480:13: style: Local variable 'i' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:396:7: note: Shadowed declaration vorbis-tools-1.4.2/ogg123/ogg123.c:480:13: note: Shadow variable vorbis-tools-1.4.2/ogg123/ogg123.c:249:13: style: Parameter 'audio_buffer' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/ogg123/ogg123.c:531:20: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:627:12: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogg123/ogg123.c:636:14: style: Variable 'eos' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggdec/oggdec.c:228:24: style: Parameter 'in' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/oggenc/flac.c:64:57: style:inconclusive: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/flac.h:48:57: note: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/flac.c:64:57: note: Function 'flac_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/encode.c:418:16: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/encode.c:475:16: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/encode.c:740:61: style:inconclusive: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/encode.h:30:61: note: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:740:61: note: Function 'final_statistics' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:762:66: style:inconclusive: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/encode.h:32:66: note: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:762:66: note: Function 'final_statistics_null' argument 4 names different: declaration 'total_samples' definition 'samples'. vorbis-tools-1.4.2/oggenc/encode.c:568:25: style: Local variable 'result' shadows outer variable [shadowVariable] vorbis-tools-1.4.2/oggenc/encode.c:235:9: note: Shadowed declaration vorbis-tools-1.4.2/oggenc/encode.c:568:25: note: Shadow variable vorbis-tools-1.4.2/oggenc/resample.c:147:79: style: Condition 'taps<=0' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/oggenc/resample.c:137:16: note: Assignment 'taps=45', assigned value is 45 vorbis-tools-1.4.2/oggenc/resample.c:147:79: note: Condition 'taps<=0' is always false vorbis-tools-1.4.2/oggenc/resample.c:271:16: style: Checking if unsigned expression 'srclen' is less than zero. [unsignedLessThanZero] vorbis-tools-1.4.2/oggenc/resample.c:384:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:384:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:411:31: style: Variable 'poolfill' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/resample.c:411:44: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/skeleton.c:208:12: style: Condition '!result' is always false [knownConditionTrueFalse] vorbis-tools-1.4.2/ogginfo/codec_kate.c:259:21: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_kate.c:259:21: note: Shadow variable vorbis-tools-1.4.2/ogginfo/codec_kate.c:267:10: style: Variable 'info' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:625:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] vorbis-tools-1.4.2/oggenc/audio.c:708:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] vorbis-tools-1.4.2/oggenc/audio.c:513:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] vorbis-tools-1.4.2/oggenc/audio.c:265:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:271:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:279:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:290:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:299:13: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:313:13: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:320:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:326:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:332:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:383:9: error: Memory leak: aiff [memleak] vorbis-tools-1.4.2/oggenc/audio.c:435:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:440:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:460:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:473:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:481:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:522:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:539:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:617:9: error: Memory leak: wav [memleak] vorbis-tools-1.4.2/oggenc/audio.c:917:9: error: Memory leak: d [memleak] vorbis-tools-1.4.2/oggenc/audio.c:68:13: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/oggenc/audio.c:376:9: error: Memory leak: aiff.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:610:9: error: Memory leak: wav.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:762:5: error: Memory leak: wav.channel_permute [memleak] vorbis-tools-1.4.2/oggenc/audio.c:418:56: style:inconclusive: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. [funcArgNamesDifferent] vorbis-tools-1.4.2/oggenc/audio.h:60:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/audio.c:418:56: note: Function 'wav_open' argument 3 names different: declaration 'buf' definition 'oldbuf'. vorbis-tools-1.4.2/oggenc/audio.c:187:35: style: Parameter 'buf' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/oggenc/audio.c:246:57: style: Parameter 'buf' can be declared as pointer to const [constParameter] vorbis-tools-1.4.2/oggenc/audio.c:397:10: style: Variable 'flen' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:743:19: style: Variable 'format.format' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:745:23: style: Variable 'format.samplerate' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:746:23: style: Variable 'format.samplesize' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/oggenc/audio.c:748:18: style: Variable 'format.align' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogginfo/codec_skeleton.c:254:30: style: Variable 'self' is assigned a value that is never used. [unreadVariable] vorbis-tools-1.4.2/ogginfo/codec_theora.c:213:23: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_theora.c:213:23: note: Shadow variable vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:195:23: style: Local variable 'info' shadows outer function [shadowFunction] vorbis-tools-1.4.2/ogginfo/private.h:50:6: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/codec_vorbis.c:195:23: note: Shadow variable vorbis-tools-1.4.2/ogginfo/metadata.c:238:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] vorbis-tools-1.4.2/ogginfo/metadata.c:232:9: note: outer condition: !broken vorbis-tools-1.4.2/ogginfo/metadata.c:238:13: note: identical inner condition: !broken vorbis-tools-1.4.2/ogginfo/metadata.c:206:18: style: Local variable 'i' shadows outer argument [shadowArgument] vorbis-tools-1.4.2/ogginfo/metadata.c:79:55: note: Shadowed declaration vorbis-tools-1.4.2/ogginfo/metadata.c:206:18: note: Shadow variable vorbis-tools-1.4.2/ogginfo/metadata.c:204:26: style: Variable 'hex' can be declared as const array [constVariable] vorbis-tools-1.4.2/oggenc/oggenc.c:966:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/oggenc/oggenc.c:982:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/oggenc/oggenc.c:998:20: warning: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] vorbis-tools-1.4.2/share/charset_test.c:123:39: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] vorbis-tools-1.4.2/share/charset_test.c:123:39: error: Signed integer overflow for expression '1<<31'. [integerOverflow] vorbis-tools-1.4.2/share/charset.c:129:30: style:inconclusive: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. [funcArgNamesDifferent] vorbis-tools-1.4.2/share/charset.h:28:30: note: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. vorbis-tools-1.4.2/share/charset.c:129:30: note: Function 'utf8_wctomb' argument 2 names different: declaration 'wc' definition 'wc1'. vorbis-tools-1.4.2/share/charset.c:165:20: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] vorbis-tools-1.4.2/share/charset.c:165:20: error: Signed integer overflow for expression '1<<31'. [integerOverflow] vorbis-tools-1.4.2/share/picture.c:102:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] vorbis-tools-1.4.2/share/picture.c:140:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:147:28: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:149:25: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:156:19: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:158:29: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:160:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:161:19: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:163:33: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:165:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:167:33: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:169:40: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/share/picture.c:176:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] vorbis-tools-1.4.2/vcut/vcut.c:259:26: style: Variable 'state.in' is reassigned a value before the old one has been used. [redundantAssignment] vorbis-tools-1.4.2/vcut/vcut.c:257:11: note: state.in is assigned vorbis-tools-1.4.2/vcut/vcut.c:259:26: note: state.in is overwritten vorbis-tools-1.4.2/vcut/vcut.c:594:30: style:inconclusive: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:73:30: note: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:594:30: note: Function 'vcut_process' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:635:44: style:inconclusive: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:75:44: note: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. vorbis-tools-1.4.2/vcut/vcut.c:635:44: note: Function 'vcut_vorbis_clear' argument 1 names different: declaration 'state' definition 'vs'. vorbis-tools-1.4.2/vcut/vcut.c:650:29: style:inconclusive: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. [funcArgNamesDifferent] vorbis-tools-1.4.2/vcut/vcut.h:74:29: note: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vcut/vcut.c:650:29: note: Function 'vcut_clear' argument 1 names different: declaration 'state' definition 's'. vorbis-tools-1.4.2/vorbiscomment/vcomment.c:115:25: error: Common realloc mistake: 'buffers' nulled but not freed upon failure [memleakOnRealloc] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:511:32: style: Condition 'test_supported>0' is always true [knownConditionTrueFalse] vorbis-tools-1.4.2/vorbiscomment/vcedit.c:506:32: note: Assuming that condition 'test_supported==0' is not redundant vorbis-tools-1.4.2/vorbiscomment/vcedit.c:511:32: note: Condition 'test_supported>0' is always true vorbis-tools-1.4.2/intl/loadmsgcat.c:861:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] vorbis-tools-1.4.2/intl/loadmsgcat.c:791:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. vorbis-tools-1.4.2/intl/loadmsgcat.c:861:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. vorbis-tools-1.4.2/intl/loadmsgcat.c:780:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:247:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. vorbis-tools-1.4.2/intl/loadmsgcat.c:780:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. vorbis-tools-1.4.2/intl/loadmsgcat.c:781:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] vorbis-tools-1.4.2/intl/gettextP.h:248:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. vorbis-tools-1.4.2/intl/loadmsgcat.c:781:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. diff: head vorbis-tools-1.4.2/ogg123/flac_format.c:144:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/flac_format.c:144:24: style: Parameter 'audio_fmt' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/format.c:83:57: style: Parameter 'to_copy' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/format.c:83:57: style: Parameter 'to_copy' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/ogg123.c:249:13: style: Parameter 'audio_buffer' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/ogg123.c:249:13: style: Parameter 'audio_buffer' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:73:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/oggvorbis_format.c:73:24: style: Parameter 'audio_fmt' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/opus_format.c:74:24: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/opus_format.c:74:24: style: Parameter 'audio_fmt' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/speex_format.c:116:26: style: Parameter 'audio_fmt' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/speex_format.c:116:26: style: Parameter 'audio_fmt' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogg123/transport.c:64:69: style: Parameter 'to_copy' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/ogg123/transport.c:64:69: style: Parameter 'to_copy' can be declared with const [constParameter] head vorbis-tools-1.4.2/oggdec/oggdec.c:228:24: style: Parameter 'in' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/oggdec/oggdec.c:228:24: style: Parameter 'in' can be declared with const [constParameter] head vorbis-tools-1.4.2/oggenc/audio.c:187:35: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/oggenc/audio.c:187:35: style: Parameter 'buf' can be declared with const [constParameter] head vorbis-tools-1.4.2/oggenc/audio.c:246:57: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 vorbis-tools-1.4.2/oggenc/audio.c:246:57: style: Parameter 'buf' can be declared with const [constParameter] head vorbis-tools-1.4.2/ogginfo/metadata.c:204:26: style: Variable 'hex' can be declared as const array [constVariable] 2.8 vorbis-tools-1.4.2/ogginfo/metadata.c:204:26: style: Variable 'hex' can be declared with const [constVariable] head vorbis-tools-1.4.2/share/picture.c:102:22: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE