[OpenSIPS-Devel] [OpenSIPS/opensips] 4b0b2a: Fix FILE stream usage after freeing its buffer.
Bogdan Andrei IANCU
noreply at github.com
Tue Jun 11 10:03:41 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 4b0b2a7600fd85efd82437708462fbb8df362513
https://github.com/OpenSIPS/opensips/commit/4b0b2a7600fd85efd82437708462fbb8df362513
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-06-11 (Tue, 11 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
(cherry picked from commit c51a329affffb588da1cd0b43c95ddf9263ea2d3)
More information about the Devel
mailing list