pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: printing with firefox3?



I tried this patch to the cups package (in work/cups-1.3.9/cups), and
got a crash:

--- http.c.~1~  2008-08-01 14:33:16.000000000 -0400
+++ http.c      2009-01-28 09:18:02.000000000 -0500
@@ -1175,7 +1175,7 @@
   for (i = 0; i < sizeof(data); i ++)
     data[i] = rand(); /* Yes, this is a poor source of random data... */
 
-  RAND_seed(&data, sizeof(data));
+  RAND_seed(data, sizeof(data));
 #endif /* HAVE_LIBSSL */
 }
 


I would be in favor of #if 0 the whole end of the function, at least for
now.

I wonder if the real problem is that the cups http code is assuming that
it can initialize OpenSSL, when probably other things have used it
already.

Attachment: pgpcp0EGedNqQ.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index