[PATCH] Remove use after free and free of uninit value in mainconfig error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
---
 exec/mainconfig.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/exec/mainconfig.c b/exec/mainconfig.c
index d25dbd0..25bd157 100644
--- a/exec/mainconfig.c
+++ b/exec/mainconfig.c
@@ -433,7 +433,6 @@ static int corosync_main_config_set (
 
 parse_error:
 	*error_string = error_reason;
-	free(value);
 
 	return (-1);
 }
-- 
1.7.7.6

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux