[Asterisk-code-review] Resources/res phoneprov: fix memory leak and heap-use-after-... (asterisk[master])
Badalian Vyacheslav
asteriskteam at digium.com
Thu Feb 11 13:28:24 CST 2016
Hello Anonymous Coward #1000019, George Joseph,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/2230
to look at the new patch set (#2).
Change subject: Resources/res_phoneprov: fix memory leak and heap-use-after-free
......................................................................
Resources/res_phoneprov: fix memory leak and heap-use-after-free
* heap-use-after-free happens when we free "cfg"
but then use "value" which refers to it
* A memory leak occurs because in some cases
it is not released "defaults"
ASTERISK-25721 #close
Reported by: Badalyan Vyacheslav
Tested by: Badalyan Vyacheslav
Change-Id: I3807d3f4726df6864430ec144cf6265d3f538469
---
M res/res_phoneprov.c
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/2230/2
--
To view, visit https://gerrit.asterisk.org/2230
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3807d3f4726df6864430ec144cf6265d3f538469
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Badalian Vyacheslav <v.badalyan at open-bs.ru>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-code-review
mailing list