[PATCH] amstream: buffer passed to StringFromGUID2 was 1 byte too small

Alexandre Julliard julliard at winehq.org
Wed Jul 4 08:01:58 CDT 2018


Marcus Meissner <marcus at jet.franken.de> writes:

> @@ -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];

Actually, 40 is enough.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list