hplip needs /dev/random.... ?
Tim Waugh
twaugh at redhat.com
Mon Jun 19 09:30:02 UTC 2006
On Sun, 2006-06-18 at 11:13 -0700, Tom London wrote:
> Printing seemed to work regardless.
>
> /usr/share/hplip/base/slp.py appears to import random and call
> 'random.randint()'
Doesn't seem to require a cryptographically random number here. In
fact, I'm not even sure it needs to be a freshly-random number each
time; perhaps '1' is sufficient. It's just for a transaction ID which
is never checked as far as I can tell.
Should I patch hplip to use '1' here instead of random.randint() do you
think?
Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20060619/ca0028b5/attachment.sig>
More information about the fedora-selinux-list
mailing list