diff options
author | Qiheng Lin <[email protected]> | 2023-02-10 01:02:53 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-09 17:05:43 -0700 |
commit | 460e9bed82e49db1b823dcb4e421783854d86c40 (patch) | |
tree | e019088b160d1d66f407d6a6d251e6c71e70f719 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | b87c52e431adfe2dfe8634216b317b4a952aa9fc (diff) |
s390/dasd: Fix potential memleak in dasd_eckd_init()
`dasd_reserve_req` is allocated before `dasd_vol_info_req`, and it
also needs to be freed before the error returns, just like the other
cases in this function.
Fixes: 9e12e54c7a8f ("s390/dasd: Handle out-of-space constraint")
Signed-off-by: Qiheng Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Haberland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions