[ovs-git] [openvswitch/ovs] 518711: ofp-print: Avoid array overread in print_table_ins...
GitHub
noreply at github.com
Thu Jun 1 23:46:19 UTC 2017
Branch: refs/heads/branch-2.6
Home: https://github.com/openvswitch/ovs
Commit: 518711bcc8488847366b00c4aacc9afadccb8a18
https://github.com/openvswitch/ovs/commit/518711bcc8488847366b00c4aacc9afadccb8a18
Author: Ben Pfaff <blp at ovn.org>
Date: 2017-06-01 (Thu, 01 Jun 2017)
Changed paths:
M lib/ofp-actions.c
M lib/ofp-print.c
Log Message:
-----------
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.
Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762675&defectInstanceId=4305296&mergedDefectId=179859
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
More information about the git
mailing list