[Pkg-cracklib-commits] [pkg-cracklib] 01/01: update debian/patches/libcrack2-error-safer-check-variant.patch with fixed version from http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=689588#29

Jan Dittberner jandd at moszumanska.debian.org
Tue Aug 23 15:40:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch wheezy
in repository pkg-cracklib.

commit 5a7c27162ac260fa5edb6d11910f8e6be57f66d2
Author: Jan Dittberner <jandd at debian.org>
Date:   Tue Aug 23 17:37:31 2016 +0200

    update debian/patches/libcrack2-error-safer-check-variant.patch with fixed version from http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=689588#29
---
 debian/changelog                                         | 8 ++++++++
 debian/patches/libcrack2-error-safer-check-variant.patch | 8 ++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c2839f0..603de8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cracklib2 (2.8.19-3) unstable; urgency=low
+
+  * update debian/patches/libcrack2-error-safer-check-variant.patch with
+    fixed version from http://bugs.debian.org/cgi-
+    bin/bugreport.cgi?bug=689588#29
+
+ -- Jan Dittberner <jandd at debian.org>  Wed, 12 Dec 2012 22:56:46 +0100
+
 cracklib2 (2.8.19-2) unstable; urgency=low
 
   * add debian/patches/libcrack2-error-safer-check-variant.patch to provide
diff --git a/debian/patches/libcrack2-error-safer-check-variant.patch b/debian/patches/libcrack2-error-safer-check-variant.patch
index c775948..1eb2ab6 100644
--- a/debian/patches/libcrack2-error-safer-check-variant.patch
+++ b/debian/patches/libcrack2-error-safer-check-variant.patch
@@ -13,7 +13,7 @@ Bug-Debian: http://bugs.debian.org/682735
 +__DEBIAN_SPECIFIC__SafeFascistCheck(password, path, errstr)
 +    const char *password;
 +    const char *path;
-+    char *errstr;
++    char **errstr;
 +{
 +    PWDICT *pwp;
 +    char pwtrunced[STRINGSIZE];
@@ -41,7 +41,7 @@ Bug-Debian: http://bugs.debian.org/682735
 +    }
 +
 +    /* sure seems like we should close the database, since we're only likely to check one password */
-+    errstr = FascistLook(pwp, pwtrunced);
++    *errstr = FascistLook(pwp, pwtrunced);
 +
 +    PWClose(pwp);
 +    pwp = (PWDICT *)0;
@@ -78,7 +78,7 @@ Bug-Debian: http://bugs.debian.org/682735
      LOCK();
 -    result = FascistCheck(candidate, dict ? dict : defaultdict);
 +    result = __DEBIAN_SPECIFIC__SafeFascistCheck(candidate,
-+		dict ? dict : defaultdict, errmsg);
++		dict ? dict : defaultdict, &errmsg);
      UNLOCK();
  
      if (defaultdict != NULL)
@@ -124,7 +124,7 @@ Bug-Debian: http://bugs.debian.org/682735
 +   opening or reading the dictionary. In the later case, please check
 +   errno. */
 +extern int __DEBIAN_SPECIFIC__SafeFascistCheck(const char *pw,
-+					const char *dictpath, char *errmsg);
++				const char *dictpath, char **errmsg);
 +
  /* This function returns the compiled in value for DEFAULT_CRACKLIB_DICT.
   */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cracklib/pkg-cracklib.git



More information about the Pkg-cracklib-commits mailing list