diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-02-26 17:30:34 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 09:42:29 +0400 |
commit | 108ebcd81907cd4818feb3bc1eabcc4a5373da32 (patch) | |
tree | e69136542afe80e595d0d2d0a4668875d434cbea /drivers/mtd/Kconfig | |
parent | 00b79860eb5f72462016046d3841b19ebff6e846 (diff) | |
download | linux-108ebcd81907cd4818feb3bc1eabcc4a5373da32.tar.xz |
mtd: bcm47xxpart: avoid overflowing when registering trx
Our code parsing "trx" header registers few partitions at once (in one
loop iteration). Add extra check in that place.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
0 files changed, 0 insertions, 0 deletions