svn commit: samba r5012 - in branches/SAMBA_3_0/source/printing: .

jerry at samba.org jerry at samba.org
Wed Jan 26 14:46:55 GMT 2005


Author: jerry
Date: 2005-01-26 14:46:54 +0000 (Wed, 26 Jan 2005)
New Revision: 5012

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5012

Log:
fix segfault caused by using a ipp_t * after calling cupsDoRequest()
Modified:
   branches/SAMBA_3_0/source/printing/print_cups.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/print_cups.c
===================================================================
--- branches/SAMBA_3_0/source/printing/print_cups.c	2005-01-26 13:19:47 UTC (rev 5011)
+++ branches/SAMBA_3_0/source/printing/print_cups.c	2005-01-26 14:46:54 UTC (rev 5012)
@@ -912,6 +912,8 @@
 	*    printer-uri
 	*/
 
+	request = ippNew();
+
 	request->request.op.operation_id = IPP_GET_PRINTER_ATTRIBUTES;
 	request->request.op.request_id   = 1;
 



More information about the samba-cvs mailing list