[OpenSIPS-Devel] [OpenSIPS/opensips] 40ad6e: avpops: Proper validation for DB_CAP_RAW_QUERY cap...

Liviu Chircu liviu at opensips.org
Tue Mar 3 16:23:19 CET 2015


  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 40ad6e01e615e6eef91cf735371ed1656e61ec9b
      https://github.com/OpenSIPS/opensips/commit/40ad6e01e615e6eef91cf735371ed1656e61ec9b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-03-03 (Tue, 03 Mar 2015)

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

  Log Message:
  -----------
  avpops: Proper validation for DB_CAP_RAW_QUERY capability

Prevent OpenSIPS from starting if avp_db_query() is used and the concerned
DB engine does not support raw SQL queries. This prevents runtime
crashes in some rare cases (e.g. issues with db_http module, which might
not have full support)

Fixes #405

(cherry picked from commit 8d978ac4530ebf95925efc44cb11d0a549e20a52)




More information about the Devel mailing list