From: Andries Brouwer <aebr@win.tue.nl>
To: "Ph. Marek" <philipp.marek@bmlv.gv.at>
Cc: aeb@cwi.nl, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fs/partitions/msdos.c Guard against negative sizes
Date: Mon, 27 Jan 2003 15:03:13 +0100 [thread overview]
Message-ID: <20030127140313.GA3156@win.tue.nl> (raw)
In-Reply-To: <200301271230.05814.philipp.marek@bmlv.gv.at>
[ach, I didnt pay attention, had not seen that this was cc-ed to l-k;
let me repeat on l-k]
On Mon, Jan 27, 2003 at 12:30:05PM +0100, Ph. Marek wrote:
> u32 size = NR_SECTS(p)*sector_size;
> - if (!size)
> + if (size <= 0)
This doesnt work since size is unsigned.
Andries
next prev parent reply other threads:[~2003-01-27 13:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-27 11:30 Ph. Marek
2003-01-27 14:03 ` Andries Brouwer [this message]
[not found] <UTC200301271203.h0RC3Sb19647.aeb@smtp.cwi.nl>
2003-01-27 15:38 ` Ph. Marek
2003-01-27 16:48 Andries.Brouwer
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=20030127140313.GA3156@win.tue.nl \
--to=aebr@win.tue.nl \
--cc=aeb@cwi.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=philipp.marek@bmlv.gv.at \
/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
all inboxes | Powered by JetHome®