[ovs-git] [ovn-org/ovn] 4ad7d6: ovn-sbctl: Prevent core dump from ovn-sbctl lflow-...
Alexey Roytman
noreply at github.com
Mon May 10 20:59:09 UTC 2021
Branch: refs/heads/master
Home: https://github.com/ovn-org/ovn
Commit: 4ad7d64a08522a681c3c4de05854268beca43f7a
https://github.com/ovn-org/ovn/commit/4ad7d64a08522a681c3c4de05854268beca43f7a
Author: Alexey Roytman <roytman at il.ibm.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M tests/ovn-sbctl.at
M utilities/ovn-sbctl.c
Log Message:
-----------
ovn-sbctl: Prevent core dump from ovn-sbctl lflow-list [datpath] 0xflow
When ovn-sbctl lflow-list gets lflow argument with 0x prefix, e.g. 0x8131c8a8,
it prints correct output, but fails with coredump.
For example:
ovn-sbctl --uuid lflow-list sw1 0x8131c8a8
Datapath: "sw1" (4b1e53d8-9f0f-4768-b4a6-6cbc58a4bfda) Pipeline: egress
uuid=0x8131c8a8, table=10(ls_out_port_sec_l2 ), priority=100 ,
match=(eth.mcast), action=(output;)
free(): invalid pointer
[2] 616553 abort (core dumped) ovn-sbctl --uuid dump-flows sw1 0x8131c8a8
This patch fixes it.
Signed-off-by: Alexey Roytman <roytman at il.ibm.com>
Signed-off-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Mark Michelson <mmichels at redhat.com>
More information about the git
mailing list