[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-05-24 Thread Launchpad Bug Tracker
This bug was fixed in the package libsane-perl - 0.05-2 --- libsane-perl (0.05-2) unstable; urgency=low * Disable tests Closes: #626019 (FTBFS on various architectures (hanging tests?)) -- Jeffrey Ratcliffe j...@debian.org Mon, 21 May 2012 21:52:44 +0200 ** Changed in:

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-15 Thread Launchpad Bug Tracker
** Branch linked: lp:debian/libsane-perl -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930552 Title: produce broken scan image with snapscan S300 scanner To manage notifications about this bug go

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-14 Thread Jeffrey Ratcliffe
I have uploaded Sane-0.04, which includes this patch, to CPAN ** Changed in: libsane-perl (Ubuntu) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930552 Title:

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Jeffrey Ratcliffe
Thanks for all your work on this. Can you reproduce the problem with the test backend? I really like to introduce add regression tests when fixing bugs, and it would be good to have one for this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Ubuntu Foundation's Bug Bot
The attachment libsane-perl-0.03-sane_read-length-0-fix.patch of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Hiroshi Miura
It is not possile to reproduce the problem without modifing test backend. I attach my suggestion for sane-backend. I'm not sure it is good for sane standard... ** Patch added: test-zero-length.patch

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Hiroshi Miura
regression test code proposal ** Patch added: libsane-perl_test-zero-length.patch https://bugs.launchpad.net/ubuntu/+source/libsane-perl/+bug/930552/+attachment/2732380/+files/libsane-perl_test-zero-length.patch -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Hiroshi Miura
this patch for sane-backend may be good enough for zero length test for data. ** Patch added: test-zero-length.patch https://bugs.launchpad.net/ubuntu/+source/libsane-perl/+bug/930552/+attachment/2732379/+files/test-zero-length.patch -- You received this bug notification because you are a

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-11 Thread Hiroshi Miura
previous patch fails with options.t. fix it. ** Patch added: libsane-perl_test-zero-length.patch https://bugs.launchpad.net/ubuntu/+source/libsane-perl/+bug/930552/+attachment/2732424/+files/libsane-perl_test-zero-length.patch -- You received this bug notification because you are a member

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-10 Thread Hiroshi Miura
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930552 Title: produce broken scan image with snapscan S300 scanner To manage notifications about this bug go to:

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-10 Thread Hiroshi Miura
** Patch added: libsane-perl-0.03-sane_read-length-0-fix.patch https://bugs.launchpad.net/ubuntu/+source/libsane-perl/+bug/930552/+attachment/2731039/+files/libsane-perl-0.03-sane_read-length-0-fix.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 930552] Re: produce broken scan image with snapscan S300 scanner

2012-02-10 Thread Hiroshi Miura
An attached fix solves the problem. using newSVPvn(data, len): if len is zero, Perl will create a zero length string. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930552 Title: produce broken