diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2026-10-09 18:14:45 +0200 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-10-12 13:19:34 +0200 |
| commit | 829c4d21148a205eca864429e06530319e1f92d5 (patch) | |
| tree | 2975413576026b2e07c3a3102b41ae04d21e7428 /tools/lib/python | |
| parent | 1acc65c30f85d3cce8dbd53ab40d59339a0add85 (diff) | |
dm-snapshot: fix crash if dm_io_client_create fails
If dm_io_client_create() fails, it stores error into the ps->io_client
variable. The code would try to free it later with
dm_io_client_destroy(ps->io_client), causing an invalid pointer
dereference. Fix this by setting ps->io_client = NULL.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Assisted-by: Claude:claude-opus-5
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
