On 21/10/2013 06:20, Guillem Jover wrote:
> Source: freebsd-glue
> Source-Version: 0.1.11
> Severity: important
> 
> Hi,
> 
> The funopen() implementation in this package uses nested functions to
> wrap the argument hooks, but it returns a FILE structure pointing to
> those nested functions and their references to arguments from the
> stack, to be accessed outside of the function lexical scope, which is
> just wrong. I've not tested if this currently breaks, but this is
> explicitly stated as broken usage.

Oh right. Silly me...

> In 2011 I started some draft code to add funopen() support to libbsd,
> but left it aside given the various issues with the interface. I've
> just finished and polished a full implementation, and pushed to libbsd's
> git master, it will be included in 0.7.0.

If there's a readily available implementation, we can just use that.
What is the ETA?

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5265b841.4070...@debian.org

Reply via email to