Skip to content
Commit cd6ff773 authored by Vito Caputo's avatar Vito Caputo Committed by Zbigniew Jędrzejewski-Szmek
Browse files

swap: check p->what for NULL

Commit 61f9cf4e introduced swap_get_parameters(s) but only
checked its return for NULL and not its ->what.

Fixes https://github.com/systemd/systemd/issues/15070

(cherry picked from commit d4a3494e)
parent 9ac1ab16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment