2026-05-18 21:39 ftp://ftp.de.debian.org/debian/pool/main/v/vobcopy/vobcopy_1.2.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-117-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 72547b3 (2026-05-18 11:19:57 +0200) count: 29 23 elapsed-time: 0.2 0.3 head-timing-info: old-timing-info: head results: vobcopy-1.2.2/dvd.c:41:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] vobcopy-1.2.2/dvd.c:316:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.2/dvd.c:517:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.2/dvd.c:754:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] vobcopy-1.2.2/dvd.c:761:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ifo [nullPointerOutOfMemory] vobcopy-1.2.2/dvd.c:758:32: note: Assuming allocation function fails vobcopy-1.2.2/dvd.c:758:9: note: Assignment 'ifo=(ifo_handle_t**)malloc((ifo_zero->vts_atrt->nr_of_vtss+1)*sizeof(ifo_handle_t*))', assigned value is 0 vobcopy-1.2.2/dvd.c:761:5: note: Null pointer dereference vobcopy-1.2.2/dvd.c:762:11: warning: If memory allocation fails, then there is a possible null pointer dereference: ifo [nullPointerOutOfMemory] vobcopy-1.2.2/dvd.c:758:32: note: Assuming allocation function fails vobcopy-1.2.2/dvd.c:758:9: note: Assignment 'ifo=(ifo_handle_t**)malloc((ifo_zero->vts_atrt->nr_of_vtss+1)*sizeof(ifo_handle_t*))', assigned value is 0 vobcopy-1.2.2/dvd.c:762:11: note: Null pointer dereference vobcopy-1.2.2/dvd.c:24:30: style:inconclusive: Function 'get_dvd_name' argument 1 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:24:44: style:inconclusive: Function 'get_dvd_name' argument 2 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:107:23: style:inconclusive: Function 'get_device' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:107:35: style:inconclusive: Function 'get_device' argument 2 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:397:35: style:inconclusive: Function 'get_device_on_your_own' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:397:47: style:inconclusive: Function 'get_device_on_your_own' argument 2 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:608:25: style:inconclusive: Function 'get_vob_size' argument 1 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:608:38: style:inconclusive: Function 'get_vob_size' argument 2 names different: declaration '' definition 'provided_input_dir'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:738:38: style:inconclusive: Function 'get_longest_title' argument 1 names different: declaration '' definition 'dvd'. [funcArgNamesDifferentUnnamed] vobcopy-1.2.2/dvd.c:133:10: style: Variable 'k' can be declared as pointer to const [constVariablePointer] vobcopy-1.2.2/dvd.c:608:38: style: Parameter 'provided_input_dir' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.2/dvd.c:706:30: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.2/dvd.c:708:10: style: Variable 'frames_per_s' can be declared as const array [constVariable] vobcopy-1.2.2/dvd.c:722:51: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] vobcopy-1.2.2/dvd.c:724:10: style: Variable 'frames_per_s' can be declared as const array [constVariable] vobcopy-1.2.2/dvd.c:744:15: style: Variable 'vmgi_mat' can be declared as pointer to const [constVariablePointer] vobcopy-1.2.2/dvd.c:745:17: style: Variable 'video_attr' can be declared as pointer to const [constVariablePointer] vobcopy-1.2.2/dvd.c:115:11: style: Variable 'l' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.2/dvd.c:112:9: style: Unused variable: tmp_streamin_fuseiso [unusedVariable] vobcopy-1.2.2/dvd.c:779:24: style: Variable 'dvd_info.title_count' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.2/dvd.c:790:13: style: Variable 'video_attr' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.2/dvd.c:792:11: style: Variable 'vmgi_mat' is assigned a value that is never used. [unreadVariable] vobcopy-1.2.2/vobcopy.c:485:29: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] diff: head vobcopy-1.2.2/dvd.c:107:23: style:inconclusive: Function 'get_device' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:107:35: style:inconclusive: Function 'get_device' argument 2 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:24:30: style:inconclusive: Function 'get_dvd_name' argument 1 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:24:44: style:inconclusive: Function 'get_dvd_name' argument 2 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:397:35: style:inconclusive: Function 'get_device_on_your_own' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:397:47: style:inconclusive: Function 'get_device_on_your_own' argument 2 names different: declaration '' definition 'device'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:608:25: style:inconclusive: Function 'get_vob_size' argument 1 names different: declaration '' definition 'title'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:608:38: style:inconclusive: Function 'get_vob_size' argument 2 names different: declaration '' definition 'provided_input_dir'. [funcArgNamesDifferentUnnamed] head vobcopy-1.2.2/dvd.c:738:38: style:inconclusive: Function 'get_longest_title' argument 1 names different: declaration '' definition 'dvd'. [funcArgNamesDifferentUnnamed] 2.20.0 vobcopy-1.2.2/dvd.c:796:36: style: Variable 'dvd_info.titles[j].general.length' is assigned a value that is never used. [unreadVariable] 2.20.0 vobcopy-1.2.2/dvd.c:798:36: style: Variable 'dvd_info.titles[j].general.vts_id' is assigned a value that is never used. [unreadVariable] 2.20.0 vobcopy-1.2.2/dvd.c:806:3: error: Memory leak: dvd_info.titles [memleak] DONE