Bug#484046: libaudio-flac-header-perl_2.2-1(hppa/unstable): FTBFS: build failures

Niko Tyni ntyni at debian.org
Tue Jun 10 12:44:47 UTC 2008


tag 484046 patch upstream
thanks

On Sun, Jun 01, 2008 at 09:26:06PM -0600, lamont at debian.org wrote:
> Package: libaudio-flac-header-perl
> Version: 2.2-1
> Severity: serious
 
> There was an error while trying to autobuild your package:

> > t/write.............dubious
> > 	Test returned status 0 (wstat 11, 0xb)
> > DIED. FAILED tests 3-7

OK, I've got it now.

This is not hppa specific, it just happens to trigger only there. The
problem is that FLAC__metadata_object_vorbiscomment_append_comment()
is called with an uninitialized FLAC__StreamMetadata_VorbisComment_Entry
struct from Header.xs:639.

When the 'length' member happens to be non-zero,
FLAC__format_vorbiscomment_entry_is_legal() tries to dereference an
invalid pointer generating a segmentation fault.

Patch attached, this builds fine for me on hppa and amd64.
The bug was introduced in upstream version 2.2. I'll forward this
to the upstream author probably later today.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 484046.patch
Type: text/x-diff
Size: 320 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080610/4e8c6d75/attachment.patch 


More information about the pkg-perl-maintainers mailing list