<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - padsp: misaligned fragment size or odd return from read() will cause pa_stream_write() to fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101121#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - padsp: misaligned fragment size or odd return from read() will cause pa_stream_write() to fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101121">bug 101121</a>
from <span class="vcard"><a class="email" href="mailto:aiju-freedesktop@phicode.de" title="aiju-freedesktop@phicode.de">aiju-freedesktop@phicode.de</a>
</span></b>
<pre>Thanks, but your patch is not quite correct. I had to change
+ i->leftover = r - to_write;
to
+ i->leftover += r - to_write;
or else it would fail trying to memmove ~2**63 bytes...
With this correction it fixes the issue (at least in my brief test).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>