commit | cfcd8a5a6927eeefe82e7b373aa17597285c407c | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Mon Sep 04 13:19:57 2017 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Mon Sep 04 13:19:57 2017 +0200 |
tree | fb4b00b1322df0e48836cc4c621309f3c67e97a9 | |
parent | 67fc6613223db9c50e4c489df5951f6e16d96d67 [diff] [blame] |
schema parsers BUGFIX use of uninitialized memory
diff --git a/src/resolve.c b/src/resolve.c index 460d2d1..fcfe246 100644 --- a/src/resolve.c +++ b/src/resolve.c
@@ -4799,6 +4799,7 @@ must[j].ref = lydict_insert(ctx, rfn->must[k].ref, 0); must[j].eapptag = lydict_insert(ctx, rfn->must[k].eapptag, 0); must[j].emsg = lydict_insert(ctx, rfn->must[k].emsg, 0); + must[j].flags = rfn->must[k].flags; } *old_must = must;