diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-30 14:41:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-30 17:25:17 -0700 |
commit | 261eba73353edd48b0c0cb7aad59553dfc712ebc (patch) | |
tree | 0bc64028f987e7777ed5002f0b4debf4422c28ad /net/dsa | |
parent | 40251b8eb46e48c011939a3ddf056fe13a223319 (diff) | |
download | linux-3.10-261eba73353edd48b0c0cb7aad59553dfc712ebc.tar.gz linux-3.10-261eba73353edd48b0c0cb7aad59553dfc712ebc.tar.bz2 linux-3.10-261eba73353edd48b0c0cb7aad59553dfc712ebc.zip |
drivers/message/i2o/i2o_config.c: bound allocation
Fix a case where users can try to allocate arbitarily large amounts of
memory. 64K is overkill for a config request so apply an upper bound.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions