From: "d binderman" <dcb314@hotmail.com>
To: linux-kernel@vger.kernel.org
Subject: array subscript out of range
Date: Tue, 28 Jun 2005 09:12:52 +0000 [thread overview]
Message-ID: <BAY19-F255ACFD14A7CB3309260039CE10@phx.gbl> (raw)
Hello there,
I just tried to compile the Linux Kernel version 2.6.11.12
with the most excellent Intel C compiler. It said
drivers/media/video/bt819.c(239): warning #175: subscript out of range
init[0x19*2-1] = decoder->norm == 0 ? 115 : 93; /* Chroma burst delay */
^
This is clearly broken code, since the init data is declared
with 44 elements, but the index is for number 49.
Suggest code rework.
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
next reply other threads:[~2005-06-28 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 9:12 d binderman [this message]
2005-06-28 10:56 ` Andrew Morton
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-F255ACFD14A7CB3309260039CE10@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®