From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: linux@horizon.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.7: random.c - potential security problem
Date: Fri, 10 Aug 2001 09:30:47 +0200 [thread overview]
Message-ID: <3B73A9C7.19685.5F525A@localhost> (raw)
In-Reply-To: <20010810070319.10233.qmail@science.horizon.com>
On 10 Aug 2001, at 7:03, linux@horizon.com wrote:
> The test is "if ((t - rekey_time) > REKEY_INTERVAL)", where rekey_time is *unsigned*.
>
> Thus, if t ever drops below rekey_time (large backward time jump), the difference
> will be a large number and it will be rekeyed.
Thanks,
first at school they try to teach you about negative numbers, then with
computers you have to forget about them again. Sorry abou the
confusion, I never felt save with type promotion rules in C.
>
> Setting the time back by a small amount, less than REKEY_INTERVAL, can stretch the time,
> but it's hard to think if a reasonable application where that will happen often enough
> in a row to seriously stretch the rekey interval.
Yes!
Ulrich
next parent reply other threads:[~2001-08-10 7:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010810070319.10233.qmail@science.horizon.com>
2001-08-10 7:30 ` Ulrich Windl [this message]
2001-08-10 5:53 2.4.7: random.c - potential security problem Ulrich Windl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B73A9C7.19685.5F525A@localhost \
--to=ulrich.windl@rz.uni-regensburg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@horizon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox