Oh yes, ist was /dev/random being slow.

On the other hand, qrencode produces different sized QR-Codes. Maybe it
stops at a \0 byte.

I will change the description of this bug.

** Summary changed:

- qrencode hangs on random input
+ qrencode truncates input

** Description changed:

- qrencode stalls when fed with random bytes from /dev/random .
+ qrencode produces different sized QR-Codes each time, when fed with
+ random bytes from /dev/urandom .
  
  How to reproduce:
- dd if=/dev/random bs=1 count=200 | qrencode -o rnd.png
+ dd if=/dev/urandom bs=1 count=1500 | qrencode -o rnd.png
  
- qrencode should either encode any data or report an error message.
+ qrencode should either encode every byte in the input stream or report
+ an error message.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: qrencode 3.1.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
  Uname: Linux 3.2.0-27-generic x86_64
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: amd64
  Date: Tue Aug  7 11:34:19 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 
(20120327.1)
  SourcePackage: qrencode
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033892

Title:
  qrencode truncates input

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qrencode/+bug/1033892/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to