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

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


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




More information about the Devel mailing list