-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
None
-
usermode-1.114-5.el9
-
None
-
Moderate
-
rhel-sst-cs-system-management
-
ssg_core_services
-
25
-
1
-
QE ack, Dev ack
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
Pass
-
usermode-1.114-5.el9
-
RegressionOnly
-
Release Note Not Required
-
None
fix issue found by SAST testing (see RHEL-23320)
Error: RESOURCE_LEAK (CWE-772):
usermode-1.114/gsmclient.c:200: alloc_fn: Storage is returned from allocation function "g_get_current_dir".
usermode-1.114/gsmclient.c:200: noescape: Resource "g_get_current_dir()" is not freed or pointed-to in "smprop_new_string".
usermode-1.114/gsmclient.c:200: leaked_storage: Failing to save or free storage allocated by "g_get_current_dir()" leaks it.
- 198| * with an empty proplist)
- 199| */
- 200|-> push_prop (client, smprop_new_string (GSM_CLIENT_PROPERTY_CURRENT_DIRECTORY,
- 201| g_get_current_dir (), -1));
- 202|
Please provide the package NVR for which bug is seen:
usermode-1.114
- links to
-
RHBA-2024:137134 usermode update