Commit 879ea7d3 authored by Iulia Manda's avatar Iulia Manda Committed by Greg Kroah-Hartman
Browse files

Staging:vt6656: Replace some kzalloc calls with kcalloc in iwctl.c



This replacement is justified by the fact that kcalloc could prevent integer
overflow resulted from the multiplications used in kzalloc.

The semantic patch that showed this suggestion is kzalloc.cocci

Signed-off-by: default avatarIulia Manda <iulia.manda21@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0481dccb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment