Bug#732807: uscan: Use of uninitialized value in pattern match (m//) at /usr/bin/uscan line 1505.

Salvatore Bonaccorso carnil at debian.org
Sat Dec 21 22:33:03 UTC 2013


Package: devscripts
Version: 2.13.8
Severity: minor
Tags: patch

Hi

If debian/copyright is not in copyright-format 1.0, say

,---- [ debian/copyright ]
| Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166
| Upstream-Name: Archive-Any
| Upstream-Contact: Clint Moore <cmoore at cpan.org>
| Source: https://metacpan.org/release/Archive-Any/
`----

uscan issues a unitialized value in pattern match warning for uscan on
line 1505: 

Use of uninitialized value in pattern match (m//) at /usr/bin/uscan line 1505.

Attached is a patch which checks also for if $data->{'format'} is
actually defined.

Regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-unitialized-value-warning-when-copyright-is-not-.patch
Type: text/x-diff
Size: 1073 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20131221/c8274955/attachment.patch>


More information about the devscripts-devel mailing list