[OpenSIPS-Devel] [OpenSIPS/opensips] 830200: dialog: Fix uninitialized variable

Liviu Chircu noreply at github.com
Thu Apr 18 03:36:32 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 83020028285e0e2414a1760644d3fe98641c93c3
      https://github.com/OpenSIPS/opensips/commit/83020028285e0e2414a1760644d3fe98641c93c3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-04-18 (Thu, 18 Apr 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: Fix uninitialized variable

This patch prevents broadcast_profiles() from sometimes starting off by
broadcasting an empty packet (should it read a large, positive integer
off the stack garbage), then proceeding normally.

Reported by Bogdan-Andrei Iancu

(cherry picked from commit 8e42ffaa42a4a486affe9e4d61b48733747ca58e)





More information about the Devel mailing list