<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Some improvements in reading the hints table"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71704#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Some improvements in reading the hints table"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71704">bug 71704</a>
from <span class="vcard"><a class="email" href="mailto:hib@hiberis.nl" title="Hib Eris <hib@hiberis.nl>"> <span class="fn">Hib Eris</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=71704#c5">comment #5</a>)
<span class="quote">> Right, but as far as i can see you're discarding those bits (since you're
> not assigning the readBits call to anything) so what's the problem?</span >
That is correct, there is not really a problem with it right now because the
shared object signature is not used anywhere.
Using readBits(128) to _skip _over the shared object signature works, but when
you would use it to _read_ it, it would not work / give you undefined behavior.
As the readBits function will give undefined results when called with n > 32 I
think it would be prudent to not use it with n = 128.
It may be even better to have readBits assert (n <= 32).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>