mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Added patch to fix a possible leak in codeview_dump_symbols.
This commit is contained in:
parent
55a86c83c0
commit
2585f4dda7
@ -8,6 +8,7 @@ wine-staging (1.8~rc1) UNRELEASED; urgency=low
|
||||
* Added patch to change value for WM_MDICALCCHILDSCROLL to 0x003f.
|
||||
* Added patch to avoid leaking output name in sfnt2fon if specified multiple
|
||||
times.
|
||||
* Added patch to fix a possible leak in codeview_dump_symbols.
|
||||
-- Sebastian Lackner <sebastian@fds-team.de> Sun, 15 Nov 2015 21:20:51 +0100
|
||||
|
||||
wine-staging (1.7.55) unstable; urgency=low
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 792e99d66b40481fb81042d51a12c861d8b33b51 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
|
||||
Date: Mon, 16 Nov 2015 22:36:38 +0100
|
||||
Subject: winedump: Free debug string in case it was not freed in for-loop
|
||||
(Coverity)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: André Hentschel <nerv@dawncrow.de>
|
||||
---
|
||||
tools/winedump/msc.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
|
||||
index 5890b29..3f1fd98 100644
|
||||
--- a/tools/winedump/msc.c
|
||||
+++ b/tools/winedump/msc.c
|
||||
@@ -1378,6 +1378,8 @@ BOOL codeview_dump_symbols(const void* root, unsigned long size)
|
||||
dump_data((const void*)sym, sym->generic.len + 2, " ");
|
||||
}
|
||||
}
|
||||
+
|
||||
+ free(curr_func);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
--
|
||||
2.6.2
|
||||
|
@ -2107,12 +2107,14 @@ fi
|
||||
# Patchset Coverity
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * tools/sfnt2fon/sfnt2fon.c
|
||||
# | * tools/sfnt2fon/sfnt2fon.c, tools/winedump/msc.c
|
||||
# |
|
||||
if test "$enable_Coverity" -eq 1; then
|
||||
patch_apply Coverity/0001-sfnt2fon-Don-t-leak-output-name-if-specified-multipl.patch
|
||||
patch_apply Coverity/0002-winedump-Free-debug-string-in-case-it-was-not-freed-.patch
|
||||
(
|
||||
echo '+ { "André Hentschel", "sfnt2fon: Don'\''t leak output name if specified multiple times (Coverity).", 1 },';
|
||||
echo '+ { "André Hentschel", "winedump: Free debug string in case it was not freed in for-loop (Coverity).", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user