]> git.pld-linux.org Git - packages/squid.git/commitdiff
37f922a424553c0b1c9d51b3e93fa88a SOURCES/squid-2.4.STABLE7-msntauth.patch
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 17 Jul 2002 17:40:55 +0000 (17:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    squid-2.4.STABLE7-msntauth.patch -> 1.1

squid-2.4.STABLE7-msntauth.patch [new file with mode: 0644]

diff --git a/squid-2.4.STABLE7-msntauth.patch b/squid-2.4.STABLE7-msntauth.patch
new file mode 100644 (file)
index 0000000..b4b195b
--- /dev/null
@@ -0,0 +1,42 @@
+Index: squid/auth_modules/MSNT/usersfile.c
+diff -c squid/auth_modules/MSNT/usersfile.c:1.1.2.1 squid/auth_modules/MSNT/usersfile.c:1.1.2.2
+*** squid/auth_modules/MSNT/usersfile.c:1.1.2.1        Wed Jun 26 13:24:46 2002
+--- squid/auth_modules/MSNT/usersfile.c        Fri Jul  5 08:34:21 2002
+***************
+*** 28,36 ****
+  static int
+  name_cmp(const void *a, const void *b)
+  {
+!     const char *A = a;
+!     const char *B = b;
+!     return strcasecmp(A, B);
+  }
+  
+  static void
+--- 28,36 ----
+  static int
+  name_cmp(const void *a, const void *b)
+  {
+!     const char * const *A = a;
+!     const char * const *B = b;
+!     return strcasecmp(*A, *B);
+  }
+  
+  static void
+***************
+*** 148,154 ****
+       * If so, allow. If not, deny. Reconstruct the username
+       * to have whitespace, to avoid finding wrong string subsets. */
+  
+!     p = bsearch(User,
+       uf->names,
+       uf->Inuse,
+       sizeof(*uf->names),
+--- 148,154 ----
+       * If so, allow. If not, deny. Reconstruct the username
+       * to have whitespace, to avoid finding wrong string subsets. */
+  
+!     p = bsearch(&User,
+       uf->names,
+       uf->Inuse,
+       sizeof(*uf->names),
This page took 0.061201 seconds and 4 git commands to generate.