Hi think there&#39;s the same error in &quot;getClipboard(...)&quot; function in the same file.<br><br>Cheers.<br><br><div><span class="gmail_quote">2008/3/20, Cédric PAILLE &lt;<a href="mailto:cedricpaille@gmail.com">cedricpaille@gmail.com</a>&gt;:</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 &amp; 1023 of&nbsp; GHOST_SystemX11.cpp:<br><br>original -&gt; <span style="font-weight: bold;">txt_cut_buffer = (char*) malloc(strlen(buffer));</span><br><br>

patched -&gt; <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.