diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-07-16 12:17:03 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-07-16 12:17:03 +0000 |
commit | a897448f5d5ffdf8a21902d73233824678cdcecf (patch) | |
tree | 45bcdf80365b7e8ab2ba0e48a909d7445c410791 /navit | |
parent | e1495441068d8bf413d4cc27fe562806d721439f (diff) | |
download | navit-a897448f5d5ffdf8a21902d73233824678cdcecf.tar.gz |
Fix:Core:Avoid overwriting result from arrays
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5191 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit')
-rw-r--r-- | navit/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/command.c b/navit/command.c index 1ed24947b..6aed4059b 100644 --- a/navit/command.c +++ b/navit/command.c @@ -490,6 +490,7 @@ eval_postfix(struct context *ctx, struct result *res) res->attr.type=attr_none; res->attr.u.data=NULL; res->varlen=0; + res->attrn=NULL; while (obj_func->get_attr(obj, attr_type, &attr, iter)) { if (command_evaluate_to_boolean(&attr, ctx->expr, &ctx->error)) res->attr=attr; |