]> git.pld-linux.org Git - packages/autofs.git/blame - autofs-5.0.4-another-easy-alloca-replacements-fix.patch
- updated to 5.0.5, nfy.
[packages/autofs.git] / autofs-5.0.4-another-easy-alloca-replacements-fix.patch
CommitLineData
e5fd101c
PS
1autofs-5.0.4 - another easy alloca replacements fix
2
3From: Ian Kent <raven@themaw.net>
4
5Fix array out of bounds access in modules/lookup_ldap.c:get_query_dn().
6---
7
8 CHANGELOG | 1 +
9 modules/lookup_ldap.c | 1 -
10 2 files changed, 1 insertions(+), 1 deletions(-)
11
12
13diff --git a/CHANGELOG b/CHANGELOG
14index 8860b2c..4df6a60 100644
15--- a/CHANGELOG
16+++ b/CHANGELOG
17@@ -29,6 +29,7 @@
18 - fix bad token declaration in master map parser.
19 - fix return start status on fail.
20 - fix double free in expire_proc().
21+- another easy alloca replacements fix.
22
23 4/11/2008 autofs-5.0.4
24 -----------------------
25diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c
26index 547ca01..5a54b5f 100644
27--- a/modules/lookup_ldap.c
28+++ b/modules/lookup_ldap.c
29@@ -323,7 +323,6 @@ static int get_query_dn(unsigned logopt, LDAP *ldap, struct lookup_context *ctxt
30 }
31 scope = LDAP_SCOPE_SUBTREE;
32 }
33- query[l] = '\0';
34
35 if (!ctxt->base) {
36 sdns = defaults_get_searchdns();
This page took 0.069537 seconds and 4 git commands to generate.