diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-26 09:21:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-28 19:54:06 +0200 |
commit | 58901d181f12807d6bfa7ef29547b560740dd305 (patch) | |
tree | 76fa8a59d70d31f5827c95db25514e3e81b037dc /lib/fdt_strerror.c | |
parent | ath9k: Fix chainmask selection for AR9462 (diff) | |
download | linux-58901d181f12807d6bfa7ef29547b560740dd305.tar.xz linux-58901d181f12807d6bfa7ef29547b560740dd305.zip |
brcmfmac: use kcalloc() to prevent integer overflow
The multiplication here looks like it could overflow. I've changed it
to use kcalloc() to prevent that.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions