[OpenSIPS-Devel] [OpenSIPS/opensips] c51a32: Fix FILE stream usage after freeing its buffer.

Bogdan Andrei IANCU noreply at github.com
Mon Jun 3 15:06:35 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c51a329affffb588da1cd0b43c95ddf9263ea2d3
      https://github.com/OpenSIPS/opensips/commit/c51a329affffb588da1cd0b43c95ddf9263ea2d3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-06-03 (Mon, 03 Jun 2019)

  Changed paths:
    M cfg_pp.c
    M cfg_pp.h
    M cfg_reload.c

  Log Message:
  -----------
  Fix FILE stream usage after freeing its buffer.

Instead of returning the cfg FILE stream, better directly return the buffer used to build the FILE stream, as anyhow we need a cfg buffer after all





More information about the Devel mailing list