]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE12-SMB_BadFetch.patch
- updated to 2.5.STABLE13
[packages/squid.git] / squid-2.5.STABLE12-SMB_BadFetch.patch
CommitLineData
2da448ae 1Index: squid/helpers/ntlm_auth/SMB/libntlmssp.c
2diff -c squid/helpers/ntlm_auth/SMB/libntlmssp.c:1.7.2.3 squid/helpers/ntlm_auth/SMB/libntlmssp.c:1.7.2.4
3*** squid/helpers/ntlm_auth/SMB/libntlmssp.c:1.7.2.3 Sun Feb 20 12:07:44 2005
4--- squid/helpers/ntlm_auth/SMB/libntlmssp.c Sun Dec 11 03:23:02 2005
5***************
6*** 178,191 ****
7--- 178,194 ----
8 char *p = credentials;
9 lstring tmp;
10 tmp = ntlm_fetch_string((char *) auth, auth_length, &auth->domain);
11+ *p = '\0';
12 if (tmp.str == NULL)
13 return NULL;
14 memcpy(p, tmp.str, tmp.l);
15 p += tmp.l;
16 *p++ = '\\';
17+ *p = '\0';
18 tmp = ntlm_fetch_string((char *) auth, auth_length, &auth->user);
19 if (tmp.str == NULL)
20 return NULL;
21+ memcpy(p, tmp.str, tmp.l);
22 *(p + tmp.l) = '\0';
23 return credentials;
24 }
This page took 0.068566 seconds and 4 git commands to generate.