ovsdb: Fix error leak for negative timeout and invalid until case
authorThomas Graf <tgraf@noironetworks.com>
Thu, 28 Aug 2014 12:40:50 +0000 (14:40 +0200)
committerBen Pfaff <blp@nicira.com>
Thu, 28 Aug 2014 15:39:39 +0000 (08:39 -0700)
commit3c5ce2c25c5c688ce23b8f72b0bba691dcd76264
treed1a893e87fdc047bbe735d29b87a3f392f7ba736
parentffd9722066c76f65d543906884f0d4a6d9272cb4
ovsdb: Fix error leak for negative timeout and invalid until case

Although the check for negative timeout is present, the error string
is overwritten if an invalid "until" is found right after. This leaks
an error string and results in not reporting the negative timeout back
to the user even though it is encountered first.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/execution.c