mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:00:41 +00:00
winmm: Buffer size must be at least MMIO_DEFAULTBUFFER (8192) bytes.
mmioOpen() with the length of buffer set to 0 expects the buffer to be at least MMIO_DEFAULTBUFFER (8192) bytes in size, and using buffer of smaller size can lead to various problems when the buffer actually gets used.
This commit is contained in:
parent
72158ac286
commit
7639ea3184
|
@ -199,7 +199,7 @@ static void test_mmioDescend(char *fname)
|
|||
|
||||
static void test_mmioOpen(char *fname)
|
||||
{
|
||||
char buf[256];
|
||||
char buf[MMIO_DEFAULTBUFFER];
|
||||
MMRESULT ret;
|
||||
HMMIO hmmio;
|
||||
MMIOINFO mmio;
|
||||
|
|
Loading…
Reference in a new issue