<p dir="ltr">On Oct 21, 2015 20:39, "Rinat" <<a href="mailto:ibragimovrinat@mail.ru">ibragimovrinat@mail.ru</a>> wrote:<br>
><br>
> Source: libvdpau<br>
> Version: 1.1.1-1<br>
> Severity: important<br>
> Tags: patch<br>
><br>
> Dear Maintainer,<br>
><br>
> recent version of libvdpau have switched from getenv() to secure_getenv(),<br>
> but due to the missing definition, prototype of secure_getenv() is missing.<br>
> Normally, it would return (char *) as getenv() do, but with missing prototype,<br>
> compiler assumes returning of (int), which clamps 64-bit pointer to lower<br>
> 32-bit part. That have no effect on 32-bit installations, but on 64-bit<br>
> machines results in a corrupted pointer, and subsequent crash.<br>
><br>
> Issue triggers only if system is 64-bit and DRI_PRIME environment variable<br>
> set.<br>
><br>
> Patch fixing the issue was already pushed to the upstream repository, in [1]<br>
> just after libvdpau-1.1.1 release.<br>
><br>
> Please, consider applying the patch to the package.<br>
><br>
><br>
> [1] <a href="http://cgit.freedesktop.org/~aplattner/libvdpau/patch/?id=1cda354bdfd0c9ca107293b84b52f4464fdbedcc">http://cgit.freedesktop.org/~aplattner/libvdpau/patch/?id=1cda354bdfd0c9ca107293b84b52f4464fdbedcc</a></p>
<p dir="ltr">Hi,</p>
<p dir="ltr">Thanks for the report.</p>
<p dir="ltr">Since upstream merged this almost 2 months ago but there's no new release it sounds like a good idea to cherry pick it. I'll test it later tonight.</p>
<p dir="ltr">Kind regards,<br>
Luca Boccassi</p>