1
linux/drivers/staging/bcm
Kevin McKinney 51935d2259 Staging: bcm: Clean up code in ioctl: IOCTL_BCM_EEPROM_REGISTER_READ
This patch verifies two conditions before executing
a kmalloc call. First, it checks to see that
IoBuffer.OutputLength is not greater than an
unsigned short. If so, an invalid value may be
returned. The second change is a check to make
sure IoBuffer.OutputLength is not equal to
zero. Which simply keeps this code inline with
the other ioctl, IOCTL_BCM_REGISTER_READ_PRIVATE.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-26 17:13:33 -08:00
..
Adapter.h Fix common misspellings 2011-03-31 11:26:23 -03:00
Bcmchar.c Staging: bcm: Clean up code in ioctl: IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:13:33 -08:00
Bcmnet.c
CmHost.c Fix common misspellings 2011-03-31 11:26:23 -03:00
CmHost.h
cntrl_SignalingInterface.h Fix common misspellings 2011-03-31 11:26:23 -03:00
DDRInit.c
DDRInit.h
Debug.h staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
HandleControlPacket.c
headers.h Staging: bcm: Fix a coding style error reported by checkpatch.pl 2011-08-23 15:20:52 -07:00
hostmibs.c Staging: bcm: hostmibs: Added temporary variable to shorten lines 2011-11-26 17:11:12 -08:00
HostMIBSInterface.h Fix common misspellings 2011-03-31 11:26:23 -03:00
InterfaceAdapter.h
InterfaceDld.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceIdleMode.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceIdleMode.h
InterfaceInit.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceInit.h
InterfaceIsr.c Fix common misspellings 2011-03-31 11:26:23 -03:00
InterfaceIsr.h
InterfaceMacros.h
InterfaceMisc.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceMisc.h
InterfaceRx.c staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
InterfaceRx.h
InterfaceTx.c
InterfaceTx.h
Ioctl.h Fix common misspellings 2011-03-31 11:26:23 -03:00
IPv6Protocol.c Fix common misspellings 2011-03-31 11:26:23 -03:00
IPv6ProtocolHdr.h
Kconfig
LeakyBucket.c Fix common misspellings 2011-03-31 11:26:23 -03:00
led_control.c
led_control.h
Macros.h Staging: bcm: Macros: Fixed multiple coding style violations. 2011-08-23 15:21:23 -07:00
Makefile
Misc.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
nvm.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
nvm.h
PHSDefines.h
PHSModule.c staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
PHSModule.h staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
Protocol.h
Prototypes.h
Qos.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Queue.h
sort.c drivers: staging: bcm: sort: kill handrolled bubblesort 2011-07-05 20:36:37 -07:00
target_params.h
TODO
Transmit.c
Typedefs.h
vendorspecificextn.c
vendorspecificextn.h
Version.h