]> git.proxmox.com Git - ovs.git/commit
ovsdb-idl: Fix assertion failure on error path parsing server reply.
authorBen Pfaff <blp@ovn.org>
Fri, 8 Dec 2017 21:24:28 +0000 (13:24 -0800)
committerBen Pfaff <blp@ovn.org>
Mon, 11 Dec 2017 22:31:03 +0000 (14:31 -0800)
commitfca1b42abe3eb6057d522694b80e92d70b3e51cc
tree9d968c8b8262b6e3adec8e046e5d6a4042ff81a8
parent1ac62a0e09c018b584fbc1882dec6efc58fd40c2
ovsdb-idl: Fix assertion failure on error path parsing server reply.

If the database server sent an error reply to a monitor_cond request, and
the error was not a JSON string, then passing the error to json_string()
caused an assertion failure.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
lib/ovsdb-idl.c