projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #2352: yaz-marcdump crashes for certain record.
[yaz-moved-to-github.git]
/
src
/
pquery.c
diff --git
a/src/pquery.c
b/src/pquery.c
index
23d7b64
..
36733a3
100644
(file)
--- a/
src/pquery.c
+++ b/
src/pquery.c
@@
-292,8
+292,7
@@
static Z_AttributesPlusTerm *rpn_term(struct yaz_pqf_parser *li, ODR o,
Z_StringOrNumeric_string;
elements[k]->value.complex->list[0]->u.string =
attr_clist[i];
Z_StringOrNumeric_string;
elements[k]->value.complex->list[0]->u.string =
attr_clist[i];
- elements[k]->value.complex->semanticAction = (int **)
- odr_nullval();
+ elements[k]->value.complex->semanticAction = 0;
elements[k]->value.complex->num_semanticAction = 0;
}
else
elements[k]->value.complex->num_semanticAction = 0;
}
else