[PATCH] amstream: buffer passed to StringFromGUID2 was 1 byte too small
Marcus Meissner
marcus at jet.franken.de
Wed Jul 4 01:04:43 CDT 2018
Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
---
dlls/amstream/tests/amstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/amstream/tests/amstream.c b/dlls/amstream/tests/amstream.c
index 70cd18de1b..9d5b47de21 100644
--- a/dlls/amstream/tests/amstream.c
+++ b/dlls/amstream/tests/amstream.c
@@ -464,7 +464,7 @@ static void test_media_streams(void)
ULONG nb_media_types;
IPin* pin;
PIN_INFO info;
- WCHAR id[40];
+ WCHAR id[41];
/* Pin name is "I{guid MSPID_PrimaryVideo or MSPID_PrimaryAudio}" */
id[0] = 'I';
--
2.18.0
More information about the wine-devel
mailing list