commit | 4967cb66f0d6715076aa1b0033815f3d2e1926aa | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Wed Sep 14 16:40:28 2016 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Wed Sep 14 16:40:28 2016 +0200 |
tree | a7fae2d29c740fc8abc7acefaddce00d2df7f3f8 | |
parent | cdeb63d58b8c456aaaf79bc00f7528b6b373837f [diff] [blame] |
data tree BUGFIX dereferencing NULL pointer
diff --git a/src/resolve.c b/src/resolve.c index 42354f2..b2c7334 100644 --- a/src/resolve.c +++ b/src/resolve.c
@@ -568,7 +568,7 @@ parsed += ret; id += ret; - if (id[0] == '[') { + if (id[0] == '[' && has_predicate) { *has_predicate = 1; }