[gnutls-help] Issues with both gnutls 3.3.0 and 3.3.1

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Apr 28 15:53:41 CEST 2014


On Tue, Apr 22, 2014 at 4:01 PM, Martin Kletzander <mkletzan at redhat.com> wrote:
> Hello,
> I recently upgraded to gnutls-3.3.0 (from 3.2.13) and found out that
> there are 2 FDs leaked (read-only, pointing to /dev/urandom) into some
> processes.  Looking at the code it looks like there should be
> FD_CLOEXEC set, but it leaks through anyway.  The backtrace when
> opening those files is:

On a second read, I don't quite understand what is the issue you're having
there. Is it that you do a fork-then-exec, and you see the urandom descriptor
open? If you simply do a fork that is expected as the child inherits all the
open descriptors.

regards,
Nikos



More information about the Gnutls-help mailing list