Thanks Cedric, I have commited.<br><br><div class="gmail_quote">On Thu, Mar 20, 2008 at 6:19 AM, Cédric PAILLE &lt;<a href="mailto:cedricpaille@gmail.com">cedricpaille@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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" target="_blank">cedricpaille@gmail.com</a>&gt;:</span><div>
<div></div><div class="Wj3C7c"><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><br>-- <br>
Cedric PAILLE.
</span></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Cedric PAILLE.
</font><br>_______________________________________________<br>
Bf-committers mailing list<br>
<a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-committers" target="_blank">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>antihc3 a.k.a Rick