From: Eric Sesterhenn Date: Fri, 28 Apr 2006 01:39:20 +0000 (-0700) Subject: [PATCH] fix array overrun in drivers/char/mwave/mwavedd.c X-Git-Tag: v2.6.17-rc4~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d698f1c72629ff43d0cb6b9f1d17c491c057a0d9;p=pandora-kernel.git [PATCH] fix array overrun in drivers/char/mwave/mwavedd.c this fixes coverity id #489. Since the last element in the array is always ARRAY_SIZE-1 we have to check for ipcnum >= ARRAY_SIZE() Signed-off-by: Eric Sesterhenn Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed