From: <ope...@li...> - 2012-11-06 11:08:00
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenVPN main development repository". The branch, master has been updated via 1f300fe94f1bd521966bb05dea40edc1fae82b84 (commit) from 0563473601abfbf2142bfa0ca5b863c5aa7953a2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1f300fe94f1bd521966bb05dea40edc1fae82b84 Author: David Sommerseth <da...@re...> Date: Tue Nov 6 10:59:01 2012 +0100 Fix double-free issue in pf_destroy_context() In commit dc7be6d078ba106f9b0de12f3e879c3561c3c537 the string_alloc() call in pf_init_context() was modified to use the gc_arena object for memory allocation. What was not taken into consideration was that pf_destroy_context() was also freeing memory allocated by string_alloc(), and when pf_init_context() is calling gc_free() a double-free situation showed up. Lets remove the explict free, and let gc_free take care of all the memory handling. Reported-by: cu...@16... Signed-off-by: David Sommerseth <da...@re...> Acked-by: Gert Doering <ge...@gr...> Message-Id: 135...@us... URL: http://article.gmane.org/gmane.network.openvpn.devel/7124 ----------------------------------------------------------------------- Summary of changes: src/openvpn/pf.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) hooks/post-receive -- OpenVPN main development repository |