https://bugs.freedesktop.org/show_bug.cgi?id=89883

--- Comment #4 from Raymond <[email protected]> ---
if you look at
http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/utils/pacat.c

static void do_stream_write(size_t length) {
    size_t l;
    pa_assert(length);

    if (!buffer || !buffer_length)
        return;

    l = length;
    if (l > buffer_length)
        l = buffer_length;

    if (pa_stream_write(stream, (uint8_t*) buffer + buffer_index, l, NULL, 0,
PA_SEEK_RELATIVE) < 0) {
        pa_log(_("pa_stream_write() failed: %s"),
pa_strerror(pa_context_errno(context)));
        quit(1);
        return;
    }

    buffer_length -= l;
    buffer_index += l;

    if (!buffer_length) {
        pa_xfree(buffer);
        buffer = NULL;
        buffer_index = buffer_length = 0;
    }
}




either length is no multiple of frame size

or

index which is not multiple of frame size 

are invalid when call pa_stream_write()


:

2015-04-01T19:50:39.905427-06:00 localhost pulseaudio[28649]: W: [pulseaudio]
protocol-native.c: Client sent non-aligned memblock: index 2841, length 1255,
frame size: 4

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to