pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD's funopen (libc) seemingly the cause of "pkg audit -F" segfault



On Mon, Nov 14, 2016 at 10:57:09AM -0600, John Marino wrote:
> I don't understand how funopen could return this memory location(value 
> of "remote" variable in log).  It seems that the result should only be 
> NULL or a valid pointer to a FILE.

Typical cause: you don't have a prototype for funopen() in scope and the
compiler assumes it would return int.

Martin


Home | Main Index | Thread Index | Old Index