Marcus Meissner : shell32: memset only gets character (Coverity).

Alexandre Julliard julliard at winehq.org
Tue Mar 15 11:33:57 CDT 2011


Module: wine
Branch: master
Commit: edd696078fa0d60c70c8824751350b69d4174436
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=edd696078fa0d60c70c8824751350b69d4174436

Author: Marcus Meissner <meissner at suse.de>
Date:   Tue Mar 15 02:07:45 2011 +0100

shell32: memset only gets character (Coverity).

---

 dlls/shell32/tests/shlfolder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index c17694b..3d9c959 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -4063,7 +4063,7 @@ static HRESULT WINAPI fsbd_GetFindData_nul(IFileSystemBindData *fsbd,
 static HRESULT WINAPI fsbd_GetFindData_junk(IFileSystemBindData *fsbd,
         WIN32_FIND_DATAW *pfd)
 {
-    memset(pfd, 0xdeadbeef, sizeof(WIN32_FIND_DATAW));
+    memset(pfd, 0xef, sizeof(WIN32_FIND_DATAW));
     return S_OK;
 }
 




More information about the wine-cvs mailing list