mbox series

[0/6] SAST fixes

Message ID 20240220105612.31058-1-mateusz.kusiak@intel.com (mailing list archive)
Headers show
Series SAST fixes | expand

Message

Mateusz Kusiak Feb. 20, 2024, 10:56 a.m. UTC
This patchset contains minor fixes for issues reported by SAST tool.

Mateusz Kusiak (6):
  Create: add_disk_to_super() fix resource leak
  mdadm: signal_s() init variables
  Monitor: open file before check in check_one_sharer()
  Grow: remove dead condition in Grow_reshape()
  super1: check fd before passing to get_dev_size() in add_to_super1()
  mdmon: refactor md device name check in main()

 Create.c  |  6 +++++-
 Grow.c    |  6 +-----
 Monitor.c | 13 +++++--------
 mdadm.h   |  5 ++---
 mdmon.c   | 21 +++++++++++----------
 super1.c  |  5 ++++-
 6 files changed, 28 insertions(+), 28 deletions(-)

Comments

Mariusz Tkaczyk Feb. 23, 2024, 11:45 a.m. UTC | #1
On Tue, 20 Feb 2024 11:56:06 +0100
Mateusz Kusiak <mateusz.kusiak@intel.com> wrote:

> This patchset contains minor fixes for issues reported by SAST tool.
> 
> Mateusz Kusiak (6):
>   Create: add_disk_to_super() fix resource leak
>   mdadm: signal_s() init variables
>   Monitor: open file before check in check_one_sharer()
>   Grow: remove dead condition in Grow_reshape()
>   super1: check fd before passing to get_dev_size() in add_to_super1()
>   mdmon: refactor md device name check in main()
> 
>  Create.c  |  6 +++++-
>  Grow.c    |  6 +-----
>  Monitor.c | 13 +++++--------
>  mdadm.h   |  5 ++---
>  mdmon.c   | 21 +++++++++++----------
>  super1.c  |  5 ++++-
>  6 files changed, 28 insertions(+), 28 deletions(-)
> 

All applied! 

Thanks,
Mariusz