2.5.60 make cciss driver compile
Fix possible array bounds overrun in cciss driver
(patch 4 of 11)
-- steve
drivers/block/cciss.c renamed from drivers/block/cciss.c~fix_open_bug +1 -1
@@ -345,7 +345,7 @@ static int cciss_open(struct inode *inodprintk (KERN_DEBUG "cciss_open %x (%x:%x)\n" , inode->i_rdev, ctlr, dsk);#endif /* CCISS_DEBUG */ -if (ctlr >MAX_CTLR || hba[ctlr] ==NULL ) +if (ctlr >=MAX_CTLR || hba[ctlr] ==NULL )return -ENXIO ;/* * Root is allowed to open raw volume zero even if its not configured
_