Hi think there's the same error in "getClipboard(...)" function in the same file.<br><br>Cheers.<br><br><div><span class="gmail_quote">2008/3/20, Cédric PAILLE <<a href="mailto:cedricpaille@gmail.com">cedricpaille@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I found a bug that crashed my python scripts at line 1017 & 1023 of GHOST_SystemX11.cpp:<br><br>original -> <span style="font-weight: bold;">txt_cut_buffer = (char*) malloc(strlen(buffer));</span><br><br>
patched -> <span style="font-weight: bold;">txt_cut_buffer = (char*) malloc(strlen(buffer)<span style="text-decoration: underline;">+1</span>);</span><br><br>Hope it will help.<br clear="all"><span class="sg"><br>-- <br>
Cedric PAILLE.
</span></blockquote></div><br><br clear="all"><br>-- <br>Cedric PAILLE.