[OpenSIPS-Devel] [OpenSIPS/opensips] a268b1: db_mysql: properly NULL the result pointer if a qu...

Liviu Chircu liviu at opensips.org
Wed Feb 4 14:09:13 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a268b1d874c79a88309c53ea28ab8e77cfde3c61
      https://github.com/OpenSIPS/opensips/commit/a268b1d874c79a88309c53ea28ab8e77cfde3c61
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M db/db_query.c
    M modules/db_mysql/dbase.c

  Log Message:
  -----------
  db_mysql: properly NULL the result pointer if a query fails

This prevents issues with non-initialized pointers (issue #406)




More information about the Devel mailing list