[OpenSIPS-Devel] [OpenSIPS/opensips] cba996: DB URL parser: Avoid double free on missing URL DB

Liviu Chircu noreply at github.com
Fri Jun 21 11:37:09 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cba99632f18259f8e194246678793fa6e1723c3f
      https://github.com/OpenSIPS/opensips/commit/cba99632f18259f8e194246678793fa6e1723c3f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-06-21 (Fri, 21 Jun 2019)

  Changed paths:
    M db/db_id.c

  Log Message:
  -----------
  DB URL parser: Avoid double free on missing URL DB

On URLs such as:
    mysql://opensips:opensipsrw@master.naudb.service.consul

... the DB URL parser would perform a double free within the error
handling code.

Reported by Kirill Galinurov





More information about the Devel mailing list