[buildd-tools-devel] [GIT] sbuild branch user/josch/bug808560 created. release/sbuild-0.66.0-5-gcaa7041

Johannes Schauer josch at moszumanska.debian.org
Sat Dec 26 16:10:59 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "sbuild".

The branch, user/josch/bug808560 has been created
        at  caa7041923965cce8b868590e7db3e9ae40e69ee (commit)

- Log -----------------------------------------------------------------
commit caa7041923965cce8b868590e7db3e9ae40e69ee
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Wed Dec 23 14:46:44 2015 +0100

    lib/Sbuild/Build.pm: make sure regex only matches lines in the Files field (closes: #808560)
    
    Previously, the regex would also match lines in the Checksums-Sha1 and
    Checksums-Sha256 field. This was no problem because prior to Perl 5.22 because
    the following list slicing would return an empty array when it found an
    out-of-bounds index. Since Perl 5.22 an array of one undef element is returned
    instead. More info can be found at:
    
    https://rt.perl.org/Public/Bug/Display.html?id=114498
    
    To fix this we modify the regex such that it only matches the lines containing
    a 32 character checksum which should only happen in the lines of the Files
    section where the result of calling split() should return an array of
    sufficient size to not yield an undef when retrieving element 5 from it.

-----------------------------------------------------------------------


hooks/post-receive
-- 
sbuild



More information about the Buildd-tools-devel mailing list