[OpenSIPS-Devel] [OpenSIPS/opensips] 5cfe3c: b2b_entities: alocate mem for empty str
Răzvan Crainea
noreply at github.com
Mon Sep 9 11:00:10 UTC 2024
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 5cfe3cfefa4484f7af76a45f047174a13bbb97aa
https://github.com/OpenSIPS/opensips/commit/5cfe3cfefa4484f7af76a45f047174a13bbb97aa
Author: Razvan Crainea <razvan at opensips.org>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M modules/b2b_entities/ua_api.c
Log Message:
-----------
b2b_entities: alocate mem for empty str
Otherwise the `reason` variable points to a volatile memory that
dissapears, leading to an uninitialized variable
(cherry picked from commit 550eb6b7b1e08d5ea235659038fe536ceecf398a)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list