diff options
| author | Arungopal Kondaveeti <c_kondav@codeaurora.org> | 2021-03-04 22:51:23 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-03-19 00:35:32 -0700 |
| commit | f4ebe999042b05ad5b9f3c9e4d189793d0c82b19 (patch) | |
| tree | 86c56d3eb9a50f973e29143f2b6cf51ca33f1a46 /lib/flex_array.c | |
| parent | 9278e31eba93a3fda47c81e77590656c5b8451e2 (diff) | |
asoc: Add check to handle negative value passed for num_app_cfg_type
Long int negative value passed as part of ucontrol structure
is assigned to int num_app_cfg_type making it positive and
leading to overflow while populating maximum supported
lsm_app_type_cfg structures.
Change-Id: I81e3c75eea82265c8e8e1b3f8f95d9e334c895c4
Signed-off-by: Arungopal Kondaveeti <c_kondav@codeaurora.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
