2008/8/24 Dmitry Timoshkov <[EMAIL PROTECTED]>:
> "Muneyuki Noguchi" <[EMAIL PROTECTED]> wrote:
>
>> winex11.drv: Fix buffer overflow bug in X11DRV_KeyEvent() and
>> X11DRV_ToUnicodeEx()
>
>> +Str = (char *)malloc(64);
>> +if (Str == NULL)
>> +ERR("Failed to allocate memory!\n");
>
"Muneyuki Noguchi" <[EMAIL PROTECTED]> wrote:
> winex11.drv: Fix buffer overflow bug in X11DRV_KeyEvent() and
> X11DRV_ToUnicodeEx()
> +Str = (char *)malloc(64);
> +if (Str == NULL)
> +ERR("Failed to allocate memory!\n");
Please don't use malloc() in Wine, use win32 Heap*** APIs