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

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


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



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list