<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-08-10 16:23 GMT+02:00 Joël Krähemann <span dir="ltr"><<a href="mailto:jkraehemann@gmail.com" target="_blank">jkraehemann@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi James,<br>
<br>
It is common that you use for storing uint8_t an entire word.<br>
The use of a uint8_t pointer confused me as you are pointing<br>
to a struct.<br>
<br>
Bests,<br>
Joël<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Aug 10, 2017 at 4:10 PM, James Cowgill <<a href="mailto:jcowgill@debian.org">jcowgill@debian.org</a>> wrote:<br>
> Hi,<br>
><br>
> On 10/08/17 08:31, Joël Krähemann wrote:<br>
>> Package: lv2-dev<br>
>> Version: 1.14.0~dfsg1-1<br>
>> Severity: important<br>
>><br>
>> Dear Maintainer,<br>
>><br>
>> The following header makes use of smallest possible pointer in LV2_Event_Buffer struct's data field.<br>
>><br>
>> lv2/<a href="http://lv2plug.in/ns/ext/event/event.h" rel="noreferrer" target="_blank">lv2plug.in/ns/ext/event/<wbr>event.h</a><br>
>><br>
>> Please change it to biggest possible pointer. It should be definitely void* type because the memory<br>
>> pointed by data shall contain another struct LV2_Event.<br>
>><br>
>> This describes an integer overflow. There shouldn't be any overflow.<br>
><br>
> I'm afraid I don't see what the problem is here, or where the integer<br>
> overflow is. The data field is casted to an appropriate pointer type<br>
> whenever it is used and doing that is portable if you're careful.<br><br></div></div></blockquote><br></div><div class="gmail_quote">Hi Joel,<br><br></div><div class="gmail_quote">You still think it is a bug?<br></div><div class="gmail_quote">Did you contacted upstream author about this issue already?<br><br></div><div class="gmail_quote">best regards<br><br></div><div class="gmail_quote">mira<br></div><br></div></div>