[augeas-devel] augeas: master - * src/fa.c (fa_restrict_alphabet): initialize parse
David Lutterkort
lutter at fedoraproject.org
Fri Oct 23 17:15:22 UTC 2009
Gitweb: http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=14be233ae753ba1c1c2ec64b84ddfb11930115c5
Commit: 14be233ae753ba1c1c2ec64b84ddfb11930115c5
Parent: c259135a1c09b5711243e2eecc13877826d7d61d
Author: David Lutterkort <lutter at redhat.com>
AuthorDate: Fri Oct 23 19:10:01 2009 +0200
Committer: David Lutterkort <lutter at redhat.com>
CommitterDate: Fri Oct 23 19:11:02 2009 +0200
* src/fa.c (fa_restrict_alphabet): initialize parse
---
src/fa.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/fa.c b/src/fa.c
index 3f5b314..6fcb09f 100644
--- a/src/fa.c
+++ b/src/fa.c
@@ -3912,6 +3912,7 @@ int fa_restrict_alphabet(const char *regexp, size_t regexp_len,
struct re_str str;
*newregexp = NULL;
+ MEMZERO(&parse, 1);
parse.rx = regexp;
parse.rend = regexp + regexp_len;
parse.error = REG_NOERROR;
More information about the augeas-devel
mailing list