[OpenSIPS-Devel] [OpenSIPS/opensips] 466fcc: usrloc: Never leave 'pinging_mode' uninitialized

Liviu Chircu noreply at github.com
Tue May 28 09:18:01 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 466fcc493bf6477592c65c4014e6e98e996996e6
      https://github.com/OpenSIPS/opensips/commit/466fcc493bf6477592c65c4014e6e98e996996e6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-05-28 (Tue, 28 May 2019)

  Changed paths:
    M modules/usrloc/ul_mod.c

  Log Message:
  -----------
  usrloc: Never leave 'pinging_mode' uninitialized

When omitting 'working_mode_preset', the 'pinging_mode' would remain
uninitialized, possibly leading to future crashes in the contact pinging
routine.

Thanks to Răzvan Crainea for catching this!

(cherry picked from commit 3919f0a8e67092221faa800928ffada80585e688)





More information about the Devel mailing list