]> git.proxmox.com Git - ovs.git/commit
expr: Initialize 'relop' of allocated exprs in crush_and_string().
authorBen Pfaff <blp@ovn.org>
Wed, 3 Aug 2016 05:46:18 +0000 (22:46 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 8 Aug 2016 18:00:46 +0000 (11:00 -0700)
commit6fdd4feedf71a0f687e086fc5b1622106eb48024
treee9437912f727c6d439dd3b23e1a0b68f1cdc73ec
parent46baac6df441f3db4dceb9c9d332f0069187cb65
expr: Initialize 'relop' of allocated exprs in crush_and_string().

Every relop at this point is always EXPR_R_EQ, and therefore it seems that
no code actually examined it, so this doesn't appear to fix an existing
bug, but some code I was working on was affected by the uninitialized
member.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
ovn/lib/expr.c