<div dir="auto"><div dir="auto">Hi all,</div><div dir="auto">Indeed the problem in my case was unterminated x string but I was passing raw bytes there.</div><div dir="auto">Bil if I recall correctly the load_c_string also needs the string length as a parameter. Couldn&#39;t this help skipping the null termination? If so, then the function could be called load_bytes.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 1, 2021, 10:44 PM  &lt;<a href="mailto:bil@ccrma.stanford.edu">bil@ccrma.stanford.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;d expect a free cell complaint if it was the GC.  Didn&#39;t<br>
Christos run into a similar problem in early July (unbound<br>
variable from s7_load_c_string)? -- I think it turned out<br>
to be a missing null at the end of the string (and maybe<br>
off-by-1 length?).  I believe a file might not end in<br>
0, so gzip/unzip might produce an unterminated string.<br>
s7_load_c_string should check for the 0.<br>
<br>
<br>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank" rel="noreferrer">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
</blockquote></div>