Files
libuev/test
Joachim Wiberg 0b5461d5ff Fix NULL pointer dereference in uev_timer_init()
uev_timer_init() crashes when called without a watcher:

    uev_timer_init(ctx, NULL, cb, NULL, 100, 0);

The cleanup after a failed setup resets the descriptor in the watcher
without checking that there is one.

Check the arguments first, like the other watcher types do.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-11-16 15:08:43 +01:00
..
2021-08-01 22:40:35 +02:00
2021-08-01 22:40:35 +02:00
2021-08-01 22:40:35 +02:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2024-01-04 17:16:49 +01:00
2021-08-01 22:40:35 +02:00