Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 14:48:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209616] [ndis][patch] compat/ndis rand() doesn't respect the seed
Message-ID:  <bug-209616-8-XKeTsgaEcC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209616-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209616-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209616

Pedro F. Giffuni <pfg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #170525|0                           |1
        is obsolete|                            |

--- Comment #4 from Pedro F. Giffuni <pfg@FreeBSD.org> ---
Created attachment 170529
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170529&action=
=3Dedit
Use internal seeding procedure

(In reply to Andrey Chernov from comment #3)

It is tempting to just use arc4random()) and ignore the seed. The main func=
tion
of ndis is to mimic MS-Windows though so for bare compatibility it seems be=
tter
to just wrap things around random() and srandom() respecting the internal
seeding procedures.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209616-8-XKeTsgaEcC>