[pulseaudio-tickets] [Bug 106413] New: [PATCH] vala: Fix lengths for source/sink port arrays

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 5 20:40:10 UTC 2018


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

            Bug ID: 106413
           Summary: [PATCH] vala: Fix lengths for source/sink port arrays
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: misc
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: davidmhewitt at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Created attachment 139376
  --> https://bugs.freedesktop.org/attachment.cgi?id=139376&action=edit
Fix lengths for source/sink port arrays

vala assumes that the variable containing the length of an array will be called
the same as the array with a "_length" prefix, unless otherwise specified.

So, in this case, in the generated C code, it expected the length of the ports
arrays to be in ports_length, which doesn't exist.

This patch sets explicitly where it should find the array lengths.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20180505/04b4a0d3/attachment.html>


More information about the pulseaudio-bugs mailing list