You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
964 B
32 lines
964 B
autofs-5.1.0 - fix hosts map options check in lookup_amd_instance() |
|
|
|
From: Ian Kent <ikent@redhat.com> |
|
|
|
Ongoing bug fixes have caused a hosts map source check in lookup_amd_instance() |
|
to be inconsistent and consequently not find the iexpected map source. |
|
--- |
|
CHANGELOG | 1 + |
|
daemon/lookup.c | 2 +- |
|
2 files changed, 2 insertions(+), 1 deletion(-) |
|
|
|
--- autofs-5.0.7.orig/CHANGELOG |
|
+++ autofs-5.0.7/CHANGELOG |
|
@@ -147,6 +147,7 @@ |
|
- fix leak in parse_mount(). |
|
- add mutex call return check in defaults.c. |
|
- force disable browse mode for amd format maps. |
|
+- fix hosts map options check in lookup_amd_instance(). |
|
|
|
25/07/2012 autofs-5.0.7 |
|
======================= |
|
--- autofs-5.0.7.orig/daemon/lookup.c |
|
+++ autofs-5.0.7/daemon/lookup.c |
|
@@ -843,7 +843,7 @@ static int lookup_amd_instance(struct au |
|
return NSS_STATUS_UNKNOWN; |
|
} |
|
|
|
- if (entry->opts) { |
|
+ if (entry->opts && *entry->opts) { |
|
argv[0] = entry->opts; |
|
argv[1] = NULL; |
|
pargv = argv;
|
|
|