diff options
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git')
-rw-r--r-- | recipes-networking/openvswitch/openvswitch-git/CVE-2017-9263.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/CVE-2017-9263.patch b/recipes-networking/openvswitch/openvswitch-git/CVE-2017-9263.patch new file mode 100644 index 00000000..0fc3aa1a --- /dev/null +++ b/recipes-networking/openvswitch/openvswitch-git/CVE-2017-9263.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | A buggy or malicious switch could send a role status message with a bad | ||
2 | reason code, which if printed by OVS would cause it to abort. This fixes | ||
3 | the problem. | ||
4 | |||
5 | CVE: CVE-2017-9263 | ||
6 | Upstream-Status: Submitted | ||
7 | |||
8 | Reported-by: Bhargava Shastry <bshastry at sec.t-labs.tu-berlin.de> | ||
9 | Signed-off-by: Ben Pfaff <blp at ovn.org> | ||
10 | --- | ||
11 | lib/ofp-print.c | 3 ++- | ||
12 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/lib/ofp-print.c b/lib/ofp-print.c | ||
15 | index 7ca953100539..1932baf4871f 100644 | ||
16 | --- a/lib/ofp-print.c | ||
17 | +++ b/lib/ofp-print.c | ||
18 | @@ -2147,7 +2147,8 @@ ofp_print_role_status_message(struct ds *string, const struct ofp_header *oh) | ||
19 | break; | ||
20 | case OFPCRR_N_REASONS: | ||
21 | default: | ||
22 | - OVS_NOT_REACHED(); | ||
23 | + ds_put_cstr(string, "(unknown)"); | ||
24 | + break; | ||
25 | } | ||
26 | } | ||
27 | |||
28 | -- | ||
29 | 2.10.2 | ||