mirror of
https://github.com/mpv-player/mpv
synced 2025-01-31 12:11:52 +00:00
Fix potential segfault in debug printf in expSetFilePointer
Patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26486 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ff0eed8150
commit
61c5bf8d61
@ -3666,7 +3666,7 @@ static WIN_BOOL WINAPI expWriteFile(HANDLE h,LPCVOID pv,DWORD size,LPDWORD wr,LP
|
||||
static DWORD WINAPI expSetFilePointer(HANDLE h, LONG val, LPLONG ext, DWORD whence)
|
||||
{
|
||||
int wh;
|
||||
dbgprintf("SetFilePointer(%d, 0x%x, 0x%x = %d, %d)\n", h, val, ext, *ext, whence);
|
||||
dbgprintf("SetFilePointer(%d, 0x%x, 0x%x = %d, %d)\n", h, val, ext, ext ? *ext : NULL, whence);
|
||||
//why would DLL want temporary file with >2Gb size?
|
||||
switch(whence)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user