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:40:21 +0000 (08:40 -0700)
commit2fe70dd8a8106a992afeb9f94865b66b8cf54975
tree07e8eb29e62811f2faa51781766a5d3d2b3a0e06
parent67762780887c61527d2df1f51a636e5ade9a3640
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