Skip to content

hp-bioscfg: Address memory leaks and uninitialized variable errors

Jorge Lopez lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hp-bioscfg: Fix memory leaks in string_elements_from_package()drivers/platform/x86/hp/hp-bioscfg/string-attributes.c+4 -10 replies
2/5hp-bioscfg: Fix memory leaks in ordered_list_elements_from_packagedrivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c+8 -26 replies
3/5hp-bioscfg: Fix memory leaks in integer_elements_from_packagedrivers/platform/x86/hp/hp-bioscfg/int-attributes.c+6 -10 replies
4/5hp-bioscfg: Fix memory leaks in enumeration_elements_from_package()drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c+7 -10 replies
5/5hp-bioscfg: Fix memory leaks in password_elements_from_package()drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c+9 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] hp-bioscfg: Address memory leaks and uninitialized variable errors

Submit individual patches to address memory leaks and uninitialized variable errors for each source file listed below.

- hp_populate_string_elements_from_package() drivers/platform/x86/hp/hp-bioscfg/string-attributes.c

- hp_populate_ordered_list_elements_from_package() drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c

- hp_populate_integer_elements_from_package() drivers/platform/x86/hp/hp-bioscfg/int-attributes.c

- hp_populate_enumeration_elements_from_package() drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c

- hp_populate_password_elements_from_package() drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c

Changes were tested with a HP EliteBook x360 1030 G3

Jorge Lopez (5):
hp-bioscfg: Fix memory leaks in string_elements_from_package()
hp-bioscfg: Fix memory leaks in ordered_list_elements_from_package
hp-bioscfg: Fix memory leaks in integer_elements_from_package
hp-bioscfg: Fix memory leaks in enumeration_elements_from_package()
hp-bioscfg: Fix memory leaks in password_elements_from_package()

 drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c   |  8 +++++++-
 drivers/platform/x86/hp/hp-bioscfg/int-attributes.c    |  7 ++++++-
 .../platform/x86/hp/hp-bioscfg/order-list-attributes.c | 10 ++++++++--
 .../platform/x86/hp/hp-bioscfg/passwdobj-attributes.c  | 10 +++++++++-
 drivers/platform/x86/hp/hp-bioscfg/string-attributes.c |  5 ++++-
 5 files changed, 34 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1