Bug#654395: problem in debian/patches/0005-install_in_usr_lib.patch
Reinhard Tartler
siretart at gmail.com
Thu Jan 5 09:07:57 UTC 2012
severity 654395 serious
tags 654395 confirmed
thanks
On Thu, Jan 5, 2012 at 1:50 AM, Luka Frelih <luka at ljudmila.org> wrote:
> the crash seems to be introduced in
> debian/patches/0005-install_in_usr_lib.patch by omitting blender version in
> printf arguments
>
> diff --git a/source/blender/blenlib/intern/path_util.c
> b/source/blender/blenlib/intern/path_util.c
> index e79d850..eb5e063 100644
> --- a/source/blender/blenlib/intern/path_util.c
> +++ b/source/blender/blenlib/intern/path_util.c
> @@ -1025,7 +1025,7 @@ static int get_path_system(char *targetpath, const
> char *folder_name, const char
>
> system_base_path = (const char *)GHOST_getSystemDir();
> if (system_base_path) {
> - BLI_snprintf(system_path, FILE_MAX, BLENDER_SYSTEM_FORMAT,
> system_base_path, blender_version_decimal(ver));
> + BLI_snprintf(system_path, FILE_MAX, BLENDER_SYSTEM_FORMAT,
> system_base_path);
> }
>
> if(!system_path[0])
>
>
> built with this change reversed, blender runs and does not crash.
Confirming the bug based on this piece of information. Thanks for investigating.
I'm raising the severity in order as this package version is not fit for wheezy.
--
regards,
Reinhard
More information about the pkg-multimedia-maintainers
mailing list