Univention Bugzilla – Attachment 4397 Details for
Bug 27313
[security] Doppelte Speicherfreigabe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix double free
0001-Ticket-2012050221003422-Fix-double-free.patch (text/plain), 1.18 KB, created by
Philipp Hahn
on 2012-05-29 14:27 CEST
(
hide
)
Description:
Fix double free
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2012-05-29 14:27 CEST
Size:
1.18 KB
patch
obsolete
>From ccdba1cd10f4c19ed93a761f31af2c71ef47d86d Mon Sep 17 00:00:00 2001 >Message-Id: <ccdba1cd10f4c19ed93a761f31af2c71ef47d86d.1338294098.git.hahn@univention.de> >From: Philipp Hahn <hahn@univention.de> >Date: Tue, 29 May 2012 12:19:51 +0200 >Subject: [PATCH 1/4] Ticket #2012050221003422: Fix double free >Organization: Univention GmbH, Bremen, Germany > >filename is already freed, leading to a double-free which can corrups >GLIBCs internal memory management or generates a segmentation fault. > >Remove the offending free(). >--- > .../univention-directory-listener/src/main.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/branches/ucs-3.0/ucs/management/univention-directory-listener/src/main.c b/branches/ucs-3.0/ucs/management/univention-directory-listener/src/main.c >index 8bc5ba7..0ad06bc 100644 >--- a/branches/ucs-3.0/ucs/management/univention-directory-listener/src/main.c >+++ b/branches/ucs-3.0/ucs/management/univention-directory-listener/src/main.c >@@ -237,7 +237,6 @@ static void convert_cookie(void) > fclose(fp); > } else > master_entry.schema_id = 0; >- free(filename); > > if ((rv=cache_update_master_entry(&master_entry, NULL)) != 0) > exit(1); /* XXX */ >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 27313
: 4397