Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 13:48:33 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Mark Murray <mark@grondar.za>, des@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c
Message-ID:  <20020205134833.T59017@elvis.mu.org>
In-Reply-To: <20020205214703.GA8579@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Feb 06, 2002 at 12:47:03AM %2B0300
References:  <20020205184059.GA6785@nagual.pp.ru> <200202051949.g15Jnhs12003@greenpeace.grondar.org> <20020205205907.GA8005@nagual.pp.ru> <20020205214703.GA8579@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
* Andrey A. Chernov <ache@nagual.pp.ru> [020205 13:47] wrote:
> On Tue, Feb 05, 2002 at 23:59:08 +0300, Andrey A. Chernov wrote:
> 
> > It is OK at this point, but broken _after_ PAM called.
> > Lets imagine srandom(33) produce this hypotetical sequence for random() 
> > calls:
> 
> To see the bug, run following test application with "call_pam" set to 1 
> and 0

I understand the issue you're bringing up, would it make sense
to create/utilize a save/restore random() context function?

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020205134833.T59017>