[IA64] Do not go beyond ARRAY_SIZE of unw.hash
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 22 Feb 2009 01:33:28 +0000 (02:33 +0100)
committerTony Luck <tony.luck@intel.com>
Wed, 25 Feb 2009 19:48:04 +0000 (11:48 -0800)
commitaa2f63c95439a11dfac35c60d9160dcd0189aed3
tree22ca455654ac97ceb53b66bf3369adde6e42cb6b
parent6b1ff036d4cde7834ef2f9dbea5747adaaac24e0
[IA64] Do not go beyond ARRAY_SIZE of unw.hash

static struct {

... :114
        unsigned short hash[UNW_HASH_SIZE];

... :2152
for (index = 0; index <= UNW_HASH_SIZE; ++index) {

This is a bug, isn't it?

s/<=/</

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unwind.c