]> git.neil.brown.name Git - history.git/commit
[PATCH] atp870u oops fix
authorAndrew Morton <akpm@osdl.org>
Wed, 22 Oct 2003 01:19:41 +0000 (18:19 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 22 Oct 2003 01:19:41 +0000 (18:19 -0700)
commit16715550feb896067da733edbe8f7020f46cf8d0
treed1fca8fb706e28a9b18fb8eec086b7ebe78c8f0c
parent6edc4f5f8bf6e5742b6d5d84b9172146f21fe9c7
[PATCH] atp870u oops fix

This driver is taking uinitialised stack gunk from the pdev[] array and
feeding it into pci_read_config_byte() and crashing when modprobed with no
hardware present.

Fix it to not index past the initialised members of pdev[].

We don't know if this driver works.
drivers/scsi/atp870u.c