Gitweb:
http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=14be233ae753ba1c1c2ec64b84ddfb11930115c5
Commit: 14be233ae753ba1c1c2ec64b84ddfb11930115c5
Parent: c259135a1c09b5711243e2eecc13877826d7d61d
Author: David Lutterkort <[email protected]>
AuthorDate: Fri Oct 23 19:10:01 2009 +0200
Committer: David Lutterkort <[email protected]>
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;
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel