commit | 8165cfdabdd8f15c63bea533054560a4299bb019 | [log] [tgz] |
---|---|---|
author | Harshal Ahire <hahire@codeaurora.org> | Tue Jan 12 17:09:34 2021 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Jan 30 04:45:59 2021 -0800 |
tree | 94b2477002223d98cf1f69b92ca5d14577422291 | |
parent | 989605a308e760bc4e65bf8a70eace857c627535 [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: Harshal Ahire <hahire@codeaurora.org>