<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] vala: Fix lengths for source/sink port arrays"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106413">106413</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[PATCH] vala: Fix lengths for source/sink port arrays
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>misc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>davidmhewitt@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=139376" name="attach_139376" title="Fix lengths for source/sink port arrays">attachment 139376</a> <a href="attachment.cgi?id=139376&action=edit" title="Fix lengths for source/sink port arrays">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=106413&attachment=139376'>[review]</a>
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.</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>