From: "d binderman" <dcb314@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: file kernel/signal.c, 2 * array subscript out of range
Date: Sat, 30 Jul 2005 08:17:48 +0000 [thread overview]
Message-ID: <BAY19-F12E0E449458BCA97C418069CC10@phx.gbl> (raw)
Hello there,
I just tried to compile Redhat Fedora package
kernel-2.6.12-1.1435_FC5 with the Intel C compiler version 8.1
The compiler said
kernel/signal.c(196): warning #175: subscript out of range
The source code is
case 4: ready = signal->sig[3] &~ blocked->sig[3];
Clearly broken code. Array sig has only _NSIG_WORDS elements,
which is set to two on this architecture.
Suggest rework code to use _NSIG_WORDS as the upper limit, not
a fixed constant.
The compiler also said
kernel/signal.c(197): warning #175: subscript out of range
on the next line of source code.
Regards
David Binderman
_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now!
http://toolbar.msn.co.uk/
next reply other threads:[~2005-07-30 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-30 8:17 d binderman [this message]
2005-07-30 16:32 ` Randy.Dunlap
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=BAY19-F12E0E449458BCA97C418069CC10@phx.gbl \
--to=dcb314@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
/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®