Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 8185471180c6da6b6849071b2e279ab0e614abb4
https://github.com/OpenSIPS/opensips/commit/8185471180c6da6b6849071b2e279ab0e614abb4
Author: Bogdan-Andrei Iancu <[email protected]>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M xlog.c
Log Message:
-----------
Fix pkg mem leak by var spec copying
Commit fff57ac introduces a relativly useless memcpy (only for arm32 related).
This copy of the var spec leaks the returned buffer containing the value of the
spec, as per $dlg_val() - this implementation of the $dlg_val relys on the fact
that the same spec will be received all the time, so a re-size-able buffer is
attached to it.
So, let's get rif of the culprit memcpy and replace it with a simpler cast, as
per 7dc20e471bf89eef0e4586adae26744d38c38c01
Credits and many thanks go to Arto Kuiri for reporting and pin pointing the
culprit commit.
(cherry picked from commit f07e90aac92f33d3321d73ed69ca19850b7e10b4)
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel