[Bf-committers] Found bug in GHOST_SystemX11.cpp

Cédric PAILLE cedricpaille at gmail.com
Thu Mar 20 12:19:42 CET 2008


Hi think there's the same error in "getClipboard(...)" function in the same
file.

Cheers.

2008/3/20, Cédric PAILLE <cedricpaille at gmail.com>:
>
> Hi,
>
> I found a bug that crashed my python scripts at line 1017 & 1023 of
> GHOST_SystemX11.cpp:
>
> original -> txt_cut_buffer = (char*) malloc(strlen(buffer));
>
> patched -> txt_cut_buffer = (char*) malloc(strlen(buffer)+1);
>
> Hope it will help.
>
> --
> Cedric PAILLE.




-- 
Cedric PAILLE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080320/d64dd8dd/attachment.htm 


More information about the Bf-committers mailing list