2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00
Eelco Chaudron ca9e67c801 daemon-unix: Handle potential negative values from sysconf().
Coverity reports that daemon_set_new_user() may receive a large
unsigned value from get_sysconf_buffer_size(), due to sysconf()
returning -1 and being cast to size_t.

Although this would likely lead to an allocation failure and abort,
it's better to handle the error in place.

Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
2025-06-12 15:28:31 +02:00
..
2024-03-08 20:18:05 +01:00
2025-04-25 21:29:10 +02:00
2025-04-25 21:29:10 +02:00
2016-05-16 17:46:55 -07:00
2022-10-18 12:20:55 +02:00
2022-03-30 16:59:02 +02:00
2017-12-01 13:22:18 -08:00
2025-01-17 00:20:48 +01:00
2025-01-17 00:20:48 +01:00
2016-04-27 15:00:37 -07:00
2016-04-27 15:00:37 -07:00
2025-04-17 16:51:46 -04:00
2022-11-30 13:31:11 +01:00
2020-03-24 07:36:14 -07:00
2025-01-17 00:20:48 +01:00
2025-01-17 00:20:48 +01:00
2020-03-25 20:26:51 -07:00
2022-11-30 13:28:37 +01:00
2022-08-15 19:43:57 +02:00
2022-08-15 19:43:57 +02:00
2024-02-21 20:45:23 +01:00
2018-05-25 13:36:05 -07:00
2024-02-15 22:24:43 +01:00
2016-03-30 13:01:21 -07:00
2017-08-03 14:48:33 -07:00
2017-03-20 10:23:04 -07:00
2024-05-17 13:25:25 +02:00
2018-02-01 13:03:44 -08:00
2025-05-30 10:29:58 +02:00
2022-09-27 01:17:56 +02:00
2022-09-27 01:17:56 +02:00