[Pkg-cyrus-sasl2-commits] r311 - in /cyrus-sasl-2.1/trunk/debian: changelog patches/0019_ldap_deprecated.dpatch patches/00list

fabbe at users.alioth.debian.org fabbe at users.alioth.debian.org
Fri Feb 15 12:42:58 UTC 2008


Author: fabbe
Date: Fri Feb 15 12:42:58 2008
New Revision: 311

URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=311
Log:
Signal the use of deprecated LDAP functions to avoid implicit pointer conversion.

Added:
    cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch   (with props)
Modified:
    cyrus-sasl-2.1/trunk/debian/changelog
    cyrus-sasl-2.1/trunk/debian/patches/00list

Modified: cyrus-sasl-2.1/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/changelog?rev=311&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/changelog (original)
+++ cyrus-sasl-2.1/trunk/debian/changelog Fri Feb 15 12:42:58 2008
@@ -7,11 +7,13 @@
   * debian/control: Change Vcs-Browser to point to human-readable interface.
   * debian/patches/0018_auth_rimap_quotes.dpatch: Upstream fix for potential
     DoS attack through infinite loop.
+  * debian/patches/0019_ldap_deprecated.dpatch: Signal the use of deprecated
+    LDAP functions to avoid implicit pointer conversion. (Closes: #463330)
 
   [ Roberto C. Sanchez ]
   * Add Swedish translation (Closes: #460496)
 
- -- Fabian Fagerholm <fabbe at debian.org>  Fri, 15 Feb 2008 14:14:40 +0200
+ -- Fabian Fagerholm <fabbe at debian.org>  Fri, 15 Feb 2008 14:35:47 +0200
 
 cyrus-sasl2 (2.1.22.dfsg1-17) unstable; urgency=low
 

Added: cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch?rev=311&op=file
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch (added)
+++ cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch Fri Feb 15 12:42:58 2008
@@ -1,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 0019_ldap_deprecated.dpatch by  dann frazier <dannf at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The function ldap_get_values, used in saslauthd/lak.c, is deprecated.
+## DP: Therefore, its prototype is not included by default when compiling
+## DP: against the ldap.h headers. As a result, the compiler cannot know the
+## DP: return type of the function at compile time, and will implicitly
+## DP: convert to a pointer. This has implications on 64-bit systems.
+## DP: This patch sets the deprecation mode on, so that the function prototype
+## DP: gets included when compiling.
+## DP: (Description by Fabian Fagerholm <fabbe at debian.org>)
+
+ at DPATCH@
+diff -urNad trunk~/saslauthd/lak.c trunk/saslauthd/lak.c
+--- trunk~/saslauthd/lak.c	2006-06-04 12:26:20.000000000 +0300
++++ trunk/saslauthd/lak.c	2008-02-15 14:32:11.000000000 +0200
+@@ -55,6 +55,7 @@
+ #include <openssl/des.h>
+ #endif
+ 
++#define LDAP_DEPRECATED 1
+ #include <ldap.h>
+ #include <lber.h>
+ #include <sasl.h>

Propchange: cyrus-sasl-2.1/trunk/debian/patches/0019_ldap_deprecated.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Modified: cyrus-sasl-2.1/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/trunk/debian/patches/00list?rev=311&op=diff
==============================================================================
--- cyrus-sasl-2.1/trunk/debian/patches/00list (original)
+++ cyrus-sasl-2.1/trunk/debian/patches/00list Fri Feb 15 12:42:58 2008
@@ -16,3 +16,4 @@
 0016_pid_file_lock_creation_mask
 0017_db4.6
 0018_auth_rimap_quotes
+0019_ldap_deprecated




More information about the Pkg-cyrus-sasl2-commits mailing list