1 autofs-5.0.4 - fix map type info parse error
3 From: Ian Kent <raven@themaw.net>
5 Fix a mistake in map type info parsing introduced by the IPv6 parse
10 lib/parse_subs.c | 4 +++-
11 2 files changed, 4 insertions(+), 1 deletions(-)
14 diff --git a/CHANGELOG b/CHANGELOG
15 index 05e0206..3fd97d3 100644
19 - remount we created mount point fix.
20 - fix double free in sasl_bind().
21 - mannual umount recovery fixes.
22 +- fix map type info parse error.
24 4/11/2008 autofs-5.0.4
25 -----------------------
26 diff --git a/lib/parse_subs.c b/lib/parse_subs.c
27 index 0cba95a..0608cb7 100644
28 --- a/lib/parse_subs.c
29 +++ b/lib/parse_subs.c
30 @@ -315,6 +315,7 @@ struct map_type_info *parse_map_type_info(const char *str)
32 struct map_type_info *info;
33 char *buf, *type, *fmt, *map, *tmp;
38 @@ -335,11 +336,12 @@ struct map_type_info *parse_map_type_info(const char *str)
42 - } else if (*tmp == ',') {
43 + } else if (!seen_colon && *tmp == ',') {
47 } else if (*tmp == ':') {