Re: Entropy sources under WinXP
- From: Mark Nudelman <markn@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 21 May 2007 09:38:22 -0700
On 5/20/2007 10:05 PM, Ben Rudiak-Gould wrote:
Sebastian G. wrote:
You're forgetting another important condition: if you have a lock on
the key (access mask contains NOT_SHARED), or it doesn't change in
between. In any other case the NT kernel will happily overflow your
buffer.
If so, this is contrary to the documented behavior of the function and
is a serious bug. (If you disagree with that, quote me the part of the
documentation that supports you.) Furthermore, it's a bug that has never
been published. (If you disagree with that, direct me to a publication.)
So, if you can supply evidence that this bug exists, you should publish
it. I guarantee you it will cause a huge uproar and Microsoft will
quickly release a patch and update their documentation, since to do
otherwise would be a PR disaster.
I too would like to see some evidence supporting this assertion. I have
code that would break if what you say is true (as do thousands of other
people I'm sure) and I've never seen any evidence that it is causing a
problem.
--Mark
.
- References:
- Entropy sources under WinXP
- From: keith
- Re: Entropy sources under WinXP
- From: Mark Nudelman
- Re: Entropy sources under WinXP
- From: Sebastian G.
- Re: Entropy sources under WinXP
- From: Mark Nudelman
- Re: Entropy sources under WinXP
- From: Sebastian G.
- Re: Entropy sources under WinXP
- From: Mark Nudelman
- Re: Entropy sources under WinXP
- From: Sebastian G.
- Re: Entropy sources under WinXP
- From: Ben Rudiak-Gould
- Entropy sources under WinXP
- Prev by Date: Re: Entropy sources under WinXP
- Next by Date: Re: Entropy sources under WinXP
- Previous by thread: Re: Entropy sources under WinXP
- Next by thread: Re: Entropy sources under WinXP
- Index(es):
Relevant Pages
|
|