Eelco Chaudron
d1bd62dae5
ofproto-dpif-upcall: Check odp_tun_key_from_attr() return value.
...
In the IPFIX and flow sample upcall handling, check the validity
of the tunnel key returned by odp_tun_key_from_attr(). If the
tunnel key is invalid, return an error.
This was reported by Coverity, but the change also improves
robustness and avoids undefined behavior in the case of malformed
tunnel attributes.
Fixes: 8b7ea2d48033 ("Extend OVS IPFIX exporter to export tunnel headers")
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Aaron Conole <aconole@redhat.com>
2025-06-10 17:04:09 +02:00
..
2014-11-13 08:03:43 -08:00
2024-07-15 11:15:30 +02:00
2025-04-02 13:46:49 +02:00
2022-09-16 13:58:42 +02:00
2018-02-13 10:43:13 -08:00
2018-05-10 16:40:52 -07:00
2018-04-16 14:51:09 -07:00
2018-04-16 14:51:09 -07:00
2023-10-05 10:36:37 +02:00
2022-04-28 21:27:11 +02:00
2021-07-02 10:59:40 -07:00
2016-09-13 14:46:16 -07:00
2022-03-30 16:59:02 +02:00
2017-12-22 12:58:02 -08:00
2016-06-24 20:41:43 -07:00
2021-06-22 21:29:57 +02:00
2022-07-29 17:05:42 +02:00
2014-11-11 22:08:41 -08:00
2022-03-30 16:59:02 +02:00
2015-07-23 15:48:51 -07:00
2025-02-28 17:19:41 +01:00
2022-06-28 11:48:41 +02:00
2024-07-15 11:31:09 +02:00
2024-07-15 11:31:09 +02:00
2024-07-16 00:28:23 +02:00
2024-07-16 00:28:23 +02:00
2024-02-13 20:53:07 +01:00
2015-08-28 14:55:11 -07:00
2022-02-14 22:35:42 +01:00
2020-10-21 11:28:24 -07:00
2025-02-28 17:19:41 +01:00
2018-01-23 10:31:35 -08:00
2024-05-03 14:16:20 +02:00
2024-05-03 14:16:20 +02:00
2025-06-10 17:04:09 +02:00
2021-07-16 20:05:03 +02:00
2024-07-15 19:12:52 +02:00
2024-07-15 19:12:52 +02:00
2025-06-10 17:03:39 +02:00
2024-07-15 11:31:09 +02:00
2025-03-28 10:42:39 -04:00
2024-07-15 11:31:09 +02:00
2024-07-15 19:12:52 +02:00
2023-03-07 18:29:16 +01:00
2020-03-20 08:50:58 -07:00
2025-02-10 09:27:43 +01:00
2024-11-27 19:20:04 +01:00
2017-11-03 10:47:55 -07:00
2014-12-15 14:15:12 +01:00
2024-07-12 11:54:45 +02:00
2018-05-14 16:21:03 -07:00