diff options
| author | Akeem G Abodunrin <akeem.g.abodunrin@intel.com> | 2014-02-06 05:51:02 +0000 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-03-06 18:41:22 -0800 |
| commit | cc6456af2c05eb02ec1efcddde688ac99da76e57 (patch) | |
| tree | efd88c9def4ed27cbd7515a69bca3a090b7043a2 /net/lapb/lapb_in.c | |
| parent | 17a73f6b14010d4516a05f52e3c87431e86edebb (diff) | |
i40e: Prevent overflow due to kzalloc
To prevent the possibility of overflow due multiplication of number and size
use kcalloc instead of kzalloc.
Change-ID: Ibe4d81ed7d9738d3bbe66ee4844ff9be817e8080
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
