[OpenSIPS-Devel] [OpenSIPS/opensips] f1cabf: b2b_entities: alocate mem for empty str

Răzvan Crainea noreply at github.com
Mon Sep 9 10:59:48 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f1cabf1cdb65dfc7131e45a562a6b93c2f4f20c8
      https://github.com/OpenSIPS/opensips/commit/f1cabf1cdb65dfc7131e45a562a6b93c2f4f20c8
  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