[OpenSIPS-Devel] [OpenSIPS/opensips] f09f47: avpops: Fix possible runtime crash

Liviu Chircu liviu at opensips.org
Wed May 27 12:15:06 CEST 2015


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f09f47879dd9e61e5e1008bcdee6a1f9226fc3a0
      https://github.com/OpenSIPS/opensips/commit/f09f47879dd9e61e5e1008bcdee6a1f9226fc3a0
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M modules/avpops/avpops.c
    M modules/avpops/avpops_db.c
    M modules/avpops/avpops_db.h

  Log Message:
  -----------
  avpops: Fix possible runtime crash

The patch corrects a bug in commit 685da74670, since mod_init() is
actually run _before_ module function fixups.

Detection for raw SQL function calls is now done (properly) at fixup time,
rather than at module initialization.

Reported by Antonis Psaras
Closes #523

(cherry picked from commit 91d1b4f4b65b4bf70d8db93d956a42d2f58500f9)




More information about the Devel mailing list