VFS: Fix uninitialized varaible reading from 7z
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Aug 2016 01:23:44 -0700
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -30,6 +30,7 @@ - PSP2: Delete threads after they return
- GBA Video: WIN0/1 take priority over OBJWIN - PSP2: Fix mapping/unmapping from not at 0 - Wii: Fix garbage flash at startup + - VFS: Fix uninitialized varaible reading from 7z Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure
M
src/util/vfs/vfs-lzma.c
→
src/util/vfs/vfs-lzma.c
@@ -301,6 +301,7 @@ vf->d.unmap = _vf7zUnmap;
vf->d.truncate = _vf7zTruncate; vf->d.size = _vf7zSize; vf->d.sync = _vf7zSync; + vf->offset = 0; return &vf->d; }