Your message dated Fri, 07 May 2010 18:05:48 +0000
with message-id <[email protected]>
and subject line Bug#557023: fixed in libbarby-ruby 0.3.2-1
has caused the Debian Bug report #557023,
regarding Barby::Code128: private method split called for nil
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
557023: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557023
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libbarby-ruby1.8
Version: 0.3-1
Severity: normal
Tags: patch


Creating a new instance of Barby::Code128 with a legitimate string can
cause a stack trace.  One such string is the empty string:

      Barby::Code128.new("", 'B')

The stack trace is:

/usr/lib/ruby/1.8/barby/barcode/code_128.rb:239:in `characters': private method 
`split' called for nil:NilClass (NoMethodError)
        from /usr/lib/ruby/1.8/barby/barcode/code_128.rb:364:in `valid?'
        from /usr/lib/ruby/1.8/barby/barcode/code_128.rb:162:in `initialize'
        from ./foo.rb:15:in `new'
        from ./foo.rb:15

foo.rb (attached) reproduces the problem two different ways.

      Wayne Conrad

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libbarby-ruby1.8 depends on:
ii  librqrcode-ruby1.8           0.3.2-2     Ruby library for encoding QRCode (
ii  rails                        2.2.3-1     MVC ruby based framework geared fo
ii  ruby1.8                      1.8.7.174-2 Interpreter of object-oriented scr

libbarby-ruby1.8 recommends no packages.

Versions of packages libbarby-ruby1.8 suggests:
ii  libcairo-ruby1.8              1.8.0-1    Cairo bindings for the Ruby langua
pn  libprawn-ruby1.8              <none>     (no description available)
ii  librmagick-ruby1.8            2.11.1-1   ImageMagick API for Ruby 1.8

-- no debconf information

Attachment: foo.rb
Description: application/ruby

diff -ur libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb libbarby-ruby-0.3/lib/barby/barcode/code_128.rb
--- libbarby-ruby-0.3.orig/lib/barby/barcode/code_128.rb	2009-11-18 17:51:28.000000000 -0700
+++ libbarby-ruby-0.3/lib/barby/barcode/code_128.rb	2009-11-18 17:51:37.000000000 -0700
@@ -227,8 +227,8 @@
     #sets, in which case the extra will itself have an extra.
     def extra=(extra)
       raise ArgumentError, "Extra must begin with \\301, \\302 or \\303" unless extra =~ /^[#{CODEA+CODEB+CODEC}]/n
-      type = extra[/([#{CODEA+CODEB+CODEC}])/n, 1]
-      data = extra[/[#{CODEA+CODEB+CODEC}](.*)/n, 1]
+      type = extra[0..0]
+      data = extra[1..-1]
       @extra = class_for(type).new(data)
     end
 

--- End Message ---
--- Begin Message ---
Source: libbarby-ruby
Source-Version: 0.3.2-1

We believe that the bug you reported is fixed in the latest version of
libbarby-ruby, which is due to be installed in the Debian FTP archive:

libbarby-ruby-doc_0.3.2-1_all.deb
  to main/libb/libbarby-ruby/libbarby-ruby-doc_0.3.2-1_all.deb
libbarby-ruby1.8_0.3.2-1_all.deb
  to main/libb/libbarby-ruby/libbarby-ruby1.8_0.3.2-1_all.deb
libbarby-ruby_0.3.2-1.diff.gz
  to main/libb/libbarby-ruby/libbarby-ruby_0.3.2-1.diff.gz
libbarby-ruby_0.3.2-1.dsc
  to main/libb/libbarby-ruby/libbarby-ruby_0.3.2-1.dsc
libbarby-ruby_0.3.2-1_all.deb
  to main/libb/libbarby-ruby/libbarby-ruby_0.3.2-1_all.deb
libbarby-ruby_0.3.2.orig.tar.gz
  to main/libb/libbarby-ruby/libbarby-ruby_0.3.2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Wolf <[email protected]> (supplier of updated libbarby-ruby package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 May 2010 12:30:46 -0500
Source: libbarby-ruby
Binary: libbarby-ruby libbarby-ruby-doc libbarby-ruby1.8
Architecture: source all
Version: 0.3.2-1
Distribution: unstable
Urgency: low
Maintainer: Gunnar Wolf <[email protected]>
Changed-By: Gunnar Wolf <[email protected]>
Description: 
 libbarby-ruby - Ruby library for barcode generation
 libbarby-ruby-doc - Ruby library for barcode generation
 libbarby-ruby1.8 - Ruby library for barcode generation
Closes: 557023
Changes: 
 libbarby-ruby (0.3.2-1) unstable; urgency=low
 .
   * New upstream release (Closes: #557023)
   * Package does not depend on rails - dropping dependency
   * Excluding Pdf417 from package, as it requires JRuby
   * Standards-version 3.8.2→3.8.4 (no changes needed)
   * Touch implaussibly old files, keeping lintian happy
Checksums-Sha1: 
 cb37508c7201a1abe3c2af59d81090c0eb034d90 2002 libbarby-ruby_0.3.2-1.dsc
 1b7c2d2694de8548dc3e991586c7e586122a096c 89587 libbarby-ruby_0.3.2.orig.tar.gz
 faeea29682c5e22b1f22102112283f2a79240e5e 2421 libbarby-ruby_0.3.2-1.diff.gz
 fbf62458c91fb4789a6ba4317eee3fd3a8be36fe 3234 libbarby-ruby_0.3.2-1_all.deb
 ee6af60bdf3c5e307b7238015dac53889d7f327e 4630646 
libbarby-ruby-doc_0.3.2-1_all.deb
 15f57aea860381f56f63c3a9e6b024503159442e 22854 libbarby-ruby1.8_0.3.2-1_all.deb
Checksums-Sha256: 
 2109e6438facb372e81a3e03dd2ff927d65509d576ab608ae3a1065f66269b15 2002 
libbarby-ruby_0.3.2-1.dsc
 6ae0dd23920eb88b53696e5b03db00d2bff970c6fe8efbd9b6b485473465c57e 89587 
libbarby-ruby_0.3.2.orig.tar.gz
 b31f2b5a192f86150ad7fa54bd7defd3aebe4ce3882cb1c7b69c34c14c09a1e5 2421 
libbarby-ruby_0.3.2-1.diff.gz
 2a7e9760f8ea02f15d3b9e4b51ac52a157c5966e0c3e5300ae026a045537aa31 3234 
libbarby-ruby_0.3.2-1_all.deb
 cd5dd404311449e1aa6053d67fccf9744a50d891ecd001ccc7b3a9d688f4fa9e 4630646 
libbarby-ruby-doc_0.3.2-1_all.deb
 86feb895aebf0d17eeb66b0751bf85891109ba68542570e59631a3315a2be151 22854 
libbarby-ruby1.8_0.3.2-1_all.deb
Files: 
 06204004749d0026e17213c698f57011 2002 ruby optional libbarby-ruby_0.3.2-1.dsc
 cd442e7bdb69eb6255b85f86a6c7fbc6 89587 ruby optional 
libbarby-ruby_0.3.2.orig.tar.gz
 27c0b4e34bf05db9338e970aff19d686 2421 ruby optional 
libbarby-ruby_0.3.2-1.diff.gz
 9fcd919d90882e32f93f338cc66744be 3234 ruby optional 
libbarby-ruby_0.3.2-1_all.deb
 649d5ff1c73cb8aded3de8585dc932c5 4630646 doc optional 
libbarby-ruby-doc_0.3.2-1_all.deb
 c0595cb262e6f5457e3eea5779330340 22854 ruby optional 
libbarby-ruby1.8_0.3.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJL5FOZAAoJEGc6A+TB25If6kUP+wck4bDQ1GxekFdbEtxPEOfE
9P9vofgUdzHmxd03lYTXRagAaOGNRYJr/GnKJg65RqvGiRCL8QhqvHY8odceo71o
s+ZV6OyFzEZUeMnIVHlbBEkJTNrtk6JSvBaOTX3eWGIbbWpzHGSRURGSvrKtaMB9
hoWxl6SRbBEoqLwCJrmfirW1uaKyVFTkLOByALkmNIz2glrpxdEKqOsTckOgksYm
N960bnmgr79BiMIt/++gE+Fpuf816XP00QlXZ2XONdC9D7C4zT8ohTldwBcKkTLK
fpY6raNsKfmJhDmVLZTfGdF4yIW1Wgbi15wyMx9pxA7hv54MtBTFbAORMxEBLObK
H5a5SXe2XT2s96K5QJYWl2L0aWQs/r2aW0Ujba4Yptc5Vlxy4rpd7vu1ccibbJNf
hZf2T2dO/GM4kGUEt0m+VGHXtYPdlC0+RcPkHj01+Ecp8/FaLWWb/T7eYB6IHrPQ
WEexKgFKoLg71ekbypYOnFcL1Yf/Z458Q1T+Z8JSghZ2ye/JwBQbkoA6WyPeLvx3
CpXObWZGTJLRg5fMoQHqaNtQ2HslGdt6uMnX+Vdu0AUjlL6LIQzld7/l9s7+8Usp
wM3m1gHL5qyOHfC+lVne9/+K8CCYr3cODnJOJcCoHjNCaVNSbDt3jPYghtUoGqB2
tokTVltrUKCLDMbo/bkM
=Jsyr
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to