[ovs-git] [openvswitch/ovs] 518711: ofp-print: Avoid array overread in print_table_ins...
noreply at github.com
Thu Jun 1 23:46:19 UTC 2017
Author: Ben Pfaff <blp at ovn.org>
Date: 2017-06-01 (Thu, 01 Jun 2017)
ofp-print: Avoid array overread in print_table_instruction_features().
If a switch claimed to support an instruction that OVS does not know about,
then print_table_instruction_features() would read past the end of the
array of instruction names. This fixes the problem.
None of the other uses of print_table_instruction_features() appear to have
the same problem.
Found by Coverity.
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
More information about the git