Package: python-ldap
Version: 2.0.11-1
Severity: normal
Tags: patch

please include this upstream patch into 2.0.11 package

http://snipurl.com/nuq7

it fix a bad brokenness of LDAPObject.c module

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages python-ldap depends on:
ii  python                        2.3.5-5    An interactive high-level object-o
ii  python2.3-ldap                2.0.11-1   An LDAP interface module for Pytho

python-ldap recommends no packages.

-- no debconf information
Index: LDAPObject.c
===================================================================
RCS file: /cvsroot/python-ldap/python-ldap/Modules/LDAPObject.c,v
retrieving revision 1.70
diff -u -r1.70 LDAPObject.c
--- LDAPObject.c	17 Nov 2005 20:49:28 -0000	1.70
+++ LDAPObject.c	28 Nov 2005 10:43:17 -0000
@@ -923,9 +923,9 @@
     	return LDAPerror( self->ldap, "ldap_result3" );
 
     if (res_type == 0) {
-	/* Polls return (None, None, None); timeouts raise an exception */
+	/* Polls return (None, None, None, None); timeouts raise an exception */
 	if (timeout == 0)
-		return Py_BuildValue("(OOO)", Py_None, Py_None, Py_None);
+		return Py_BuildValue("(OOOO)", Py_None, Py_None, Py_None, Py_None);
 	else
 		return LDAPerr(LDAP_TIMEOUT);
     }

Reply via email to