mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to insert a missing break in dlls/msxml3/node.c (Coverity).
This commit is contained in:
parent
923966f191
commit
11b27f5d7f
@ -0,0 +1,24 @@
|
||||
From 5533c5dcaaecdca695a44018611d37d06ffe6522 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Sat, 18 Apr 2015 23:31:02 +0200
|
||||
Subject: msxml3: Add a missing break (Coverity).
|
||||
|
||||
---
|
||||
dlls/msxml3/node.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
|
||||
index 7119a43..1ddc9bf 100644
|
||||
--- a/dlls/msxml3/node.c
|
||||
+++ b/dlls/msxml3/node.c
|
||||
@@ -2055,6 +2055,7 @@ IXMLDOMNode *create_node( xmlNodePtr node )
|
||||
new_node->ref = 1;
|
||||
init_xmlnode(&new_node->node, node, &new_node->IXMLDOMNode_iface, NULL);
|
||||
pUnk = (IUnknown*)&new_node->IXMLDOMNode_iface;
|
||||
+ break;
|
||||
}
|
||||
default:
|
||||
ERR("Called for unsupported node type %d\n", node->type);
|
||||
--
|
||||
2.3.5
|
||||
|
@ -135,6 +135,7 @@ patch_enable_all ()
|
||||
enable_msvcrt_Math_Precision="$1"
|
||||
enable_msvcrt_atof_strtod="$1"
|
||||
enable_msvfw32_Image_Size="$1"
|
||||
enable_msxml3_Coverity="$1"
|
||||
enable_ntdll_APC_Performance="$1"
|
||||
enable_ntdll_APC_Start_Process="$1"
|
||||
enable_ntdll_Activation_Context="$1"
|
||||
@ -480,6 +481,9 @@ patch_enable ()
|
||||
msvfw32-Image_Size)
|
||||
enable_msvfw32_Image_Size="$2"
|
||||
;;
|
||||
msxml3-Coverity)
|
||||
enable_msxml3_Coverity="$2"
|
||||
;;
|
||||
ntdll-APC_Performance)
|
||||
enable_ntdll_APC_Performance="$2"
|
||||
;;
|
||||
@ -3127,6 +3131,18 @@ if test "$enable_msvfw32_Image_Size" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset msxml3-Coverity
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/msxml3/node.c
|
||||
# |
|
||||
if test "$enable_msxml3_Coverity" -eq 1; then
|
||||
patch_apply msxml3-Coverity/0001-msxml3-Add-a-missing-break-Coverity.patch
|
||||
(
|
||||
echo '+ { "Sebastian Lackner", "msxml3: Add a missing break (Coverity).", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntdll-APC_Performance
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
Reference in New Issue
Block a user