[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 3/4] opcservices: Fix potential uninitialized memory access (Coverity)
From:       Nikolay Sivov <nsivov () codeweavers ! com>
Date:       2018-09-29 20:13:46
Message-ID: 20180929201347.20364-3-nsivov () codeweavers ! com
[Download RAW message or body]

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
---
 dlls/opcservices/package.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/opcservices/package.c b/dlls/opcservices/package.c
index 5f4f955253..9bdd4b1f15 100644
--- a/dlls/opcservices/package.c
+++ b/dlls/opcservices/package.c
@@ -1891,8 +1891,8 @@ static HRESULT opc_package_write_rels(struct zip_archive \
                *archive, IOpcRelations
             'p','a','c','k','a','g','e','/','2','0','0','6','/','r','e','l','a','t','i','o','n','s','h','i','p','s',0};
                
     static const WCHAR relationshipsW[] = \
{'R','e','l','a','t','i','o','n','s','h','i','p','s',0};  IOpcRelationshipEnumerator \
*enumerator; +    BSTR rels_part_uri = NULL;
     IOpcPartUri *rels_uri;
-    BSTR rels_part_uri;
     IStream *content;
     BOOL has_next;
     HRESULT hr;
-- 
2.19.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic