Mercurial > mplayer.hg
view loader/wine/winestring.h @ 18001:a2683ee7cb5a
fix descrambling of asf file,
where signed buffer could cause erroneous values to be filled in descrable variables,
add misssing check for one of these variables
and restore sign of these variables as insurance that these checks will work even in such case.
author | iive |
---|---|
date | Thu, 30 Mar 2006 23:06:18 +0000 |
parents | 3b5f5d1c5041 |
children | 500e245c5425 |
line wrap: on
line source
#ifndef __WINE_WINE_WINESTRING_H #define __WINE_WINE_WINESTRING_H #include "windef.h" LPWSTR WINAPI lstrcpyAtoW(LPWSTR,LPCSTR); LPSTR WINAPI lstrcpyWtoA(LPSTR,LPCWSTR); LPWSTR WINAPI lstrcpynAtoW(LPWSTR,LPCSTR,INT); LPSTR WINAPI lstrcpynWtoA(LPSTR,LPCWSTR,INT); #define lstrncmpiA strncasecmp #endif /* __WINE_WINE_WINESTRING_H */