winmm: Buffer size must be at least MMIO_DEFAULTBUFFER (8192) bytes.
commit7639ea31849e2fbc7654515818ecbc5ca53f9893
authorDmitry Timoshkov <dmitry@codeweavers.com>
Thu, 14 Jan 2010 19:52:14 +0000 (14 13:52 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Jan 2010 13:15:43 +0000 (18 14:15 +0100)
tree2f69fda75104ac674d1d7fbe3dafaddc41d7b509
parent72158ac286dfbf5908c2bc281678422469d0653b
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.
dlls/winmm/tests/mmio.c