https://bugs.winehq.org/show_bug.cgi?id=36397
Bug ID: 36397 Summary: valgrind shows a couple warnings in ieframe/tests/intshcut.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
../../../tools/runtest -q -P wine -T ../../.. -M ieframe.dll -p ieframe_test.exe.so intshcut && touch intshcut.ok
preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:ole:CoCreateInstance Class {fbf23b40-e3f0-101b-8488-00aa003e56f8} does not support aggregation fixme:ieframe:UniformResourceLocatorA_SetUrl ignoring unsupported flags 0x1 fixme:ieframe:UniformResourceLocatorA_SetUrl ignoring unsupported flags 0x1 preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 ==28304== Syscall param write(buf) points to uninitialised byte(s) ==28304== at 0x421ECF3: __write_nocancel (syscall-template.S:81) ==28304== by 0x7BC48C5A: NtWriteFile (file.c:1073) ==28304== by 0x7B83D0FA: WriteFile (file.c:563) ==28304== by 0x520B8B4: FileLockBytesImpl_WriteAt (filelockbytes.c:286) ==28304== by 0x523858F: StorageImpl_WriteBigBlock (objidl.h:5753) ==28304== by 0x523F1C7: BlockChainStream_Flush (storage32.c:6430) ==28304== by 0x523F20D: StorageImpl_Flush (storage32.c:3284) ==28304== by 0x52376D7: StgStreamImpl_Write (storage32.h:268) ==28304== by 0x5233412: PropertyStorage_WritePropertyToStream (objidl.h:4384) ==28304== by 0x52337D6: PropertyStorage_PropertiesWriter (stg_prop.c:1861) ==28304== by 0x5209ABB: dictionary_enumerate (dictionary.c:189) ==28304== by 0x523588A: IPropertyStorage_fnCommit (stg_prop.c:1875) ==28304== by 0x4A96E0C: test_ReadAndWriteProperties (propidl.h:540) ==28304== by 0x4A97720: func_intshcut (intshcut.c:390) ==28304== by 0x4A9532B: main (test.h:584) ==28304== Address 0x4c8e8ce is 150 bytes inside a block of size 8,260 alloc'd ==28304== at 0x7BC508EB: RtlAllocateHeap (heap.c:255) ==28304== by 0x523FCD3: BlockChainStream_Construct (storage32.c:6398) ==28304== by 0x5240991: StorageImpl_Construct.isra.29 (storage32.c:3213) ==28304== by 0x524307E: Storage_Construct.isra.34 (storage32.c:5544) ==28304== by 0x5243243: create_storagefile.isra.35 (storage32.c:7768) ==28304== by 0x5243885: StgCreateStorageEx (storage32.c:7862) ==28304== by 0x69716E1: create_shortcut (intshcut.c:820) ==28304== by 0x697297C: InternetShortcut_Create (intshcut.c:855) ==28304== by 0x51F950D: CoCreateInstance (unknwn.h:226) ==28304== by 0x4A966F1: test_ReadAndWriteProperties (intshcut.c:191) ==28304== by 0x4A97720: func_intshcut (intshcut.c:390) ==28304== by 0x4A9532B: main (test.h:584) ==28304== Uninitialised value was created by a stack allocation ==28304== at 0x4A9647F: test_ReadAndWriteProperties (intshcut.c:170) ==28304==
==28304== Conditional jump or move depends on uninitialised value(s) ==28304== at 0x4AA6C35: winetest_vok (test.h:311) ==28304== by 0x4AA6DFA: winetest_ok (test.h:357) ==28304== by 0x4A96A85: test_ReadAndWriteProperties (intshcut.c:269) ==28304== by 0x4A97720: func_intshcut (intshcut.c:390) ==28304== by 0x4A9532B: main (test.h:584) ==28304== Uninitialised value was created by a stack allocation ==28304== at 0x6971816: PersistFile_Load (intshcut.c:456) ==28304==