Files
linux/fs/overlayfs
Amir GoldsteinandEdward Adam Davis 37f32f5264 ovl: fix memory leak in ovl_parse_param()
On failure to parse parameters in ovl_parse_param_lowerdir(), it is
necessary to update ctx->nr with the correct nr before using
ovl_reset_lowerdirs() to release l->name.

Reported-and-tested-by: [email protected]
Fixes: c835110b58 ("ovl: remove unused code in lowerdir param parsing")
Co-authored-by: Edward Adam Davis <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
2023-11-14 08:09:36 +02:00
..
2023-10-31 00:12:59 +02:00
2023-10-31 00:12:55 +02:00
2023-11-14 08:09:36 +02:00
2023-10-31 00:12:59 +02:00