linux/drivers/infiniband/hw/ipath
Michael Albaugh 627934448e IB/ipath: Limit length checksummed in eeprom
The small eeprom that holds the GUID etc. contains a data-length, but if 
the actual eeprom is new or has been erased, that byte will be 0xFF,
which is greater than the maximum physical length of the eeprom, and
more importantly greater than the length of the buffer we vmalloc'd.
Sanity-check the length to avoid the possbility of reading past end of
buffer.

Signed-off-by: Michael Albaugh <Michael.Albaugh@Qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-30 10:58:53 -07:00
..
ipath_common.h IB/ipath: Indicate a couple of chip bugs to userspace 2007-10-09 20:57:54 -07:00
ipath_cq.c IB/ipath: Optimize completion queue entry insertion and polling 2007-10-09 20:52:23 -07:00
ipath_debug.h IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_diag.c IB/ipath: Performance optimization for CPU differences 2007-10-09 20:04:14 -07:00
ipath_dma.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ipath_driver.c IB/ipath: Fix IB_EVENT_PORT_ERR event 2007-10-09 21:01:38 -07:00
ipath_eeprom.c IB/ipath: Limit length checksummed in eeprom 2007-10-30 10:58:53 -07:00
ipath_file_ops.c IB/ipath: Minor fix to ordering of freeing and zeroing of tid pages. 2007-10-09 21:03:02 -07:00
ipath_fs.c IB/ipath: Remove unneeded code for ipathfs 2007-10-09 20:43:17 -07:00
ipath_iba6110.c IB/ipath: Fix QHT7040 serial number check 2007-10-09 20:58:49 -07:00
ipath_iba6120.c IB/ipath: Indicate a couple of chip bugs to userspace 2007-10-09 20:57:54 -07:00
ipath_init_chip.c IB/ipath: Workaround problem of errormask register being overwritten 2007-07-30 13:16:46 -07:00
ipath_intr.c IB/ipath: Fix IB_EVENT_PORT_ERR event 2007-10-09 21:01:38 -07:00
ipath_kernel.h IB/ipath: Fix IB_EVENT_PORT_ERR event 2007-10-09 21:01:38 -07:00
ipath_keys.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_mad.c IB/ipath: Remove redundant link state checks 2007-10-09 21:02:08 -07:00
ipath_mmap.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_mr.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ipath_qp.c IB/ipath: Implement IB_EVENT_QP_LAST_WQE_REACHED 2007-10-09 20:51:20 -07:00
ipath_rc.c IB/ipath: Implement IB_EVENT_QP_LAST_WQE_REACHED 2007-10-09 20:51:20 -07:00
ipath_registers.h IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_ruc.c IB/ipath: Fix a race where s_last is updated without lock held 2007-10-30 10:57:24 -07:00
ipath_srq.c IB/ipath: Add barrier before updating WC head in shared memory 2007-07-09 20:12:26 -07:00
ipath_stats.c IB/ipath: Maintain active time on all chips 2007-10-09 21:00:08 -07:00
ipath_sysfs.c IB/ipath: Add ability to set the LMC via the sysfs debugging interface 2007-10-09 20:53:50 -07:00
ipath_uc.c IB/ipath: UC RDMA WRITE with IMMEDIATE doesn't send the immediate 2007-10-09 20:44:56 -07:00
ipath_ud.c IB/ipath: Remove duplicate copy of LMC 2007-10-09 20:55:06 -07:00
ipath_user_pages.c IB/ipath: Remove ipath_get_user_pages_nocopy() 2007-07-17 18:37:43 -07:00
ipath_verbs_mcast.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_verbs.c IB/ipath: Fix IB_EVENT_PORT_ERR event 2007-10-09 21:01:38 -07:00
ipath_verbs.h IB/ipath: Remove duplicate copy of LMC 2007-10-09 20:55:06 -07:00
ipath_wc_ppc64.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
ipath_wc_x86_64.c IB/ipath: Update copyright dates 2007-07-09 20:12:26 -07:00
Kconfig IB: Use menuconfig for InfiniBand menu 2007-07-09 20:12:26 -07:00
Makefile IB/ipath: Remove ipath_layer dead code 2007-07-20 21:19:43 -07:00