mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* array subscript out of range
@ 2005-06-28  9:12 d binderman
  2005-06-28 10:56 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: d binderman @ 2005-06-28  9:12 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-28 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-28  9:12 array subscript out of range d binderman
2005-06-28 10:56 ` Andrew Morton

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®