diff options
| author | Anmolpreet Kaur <anmolpre@codeaurora.org> | 2019-05-02 17:32:08 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-05-26 23:22:34 -0700 |
| commit | fa9dbbba721023e81c14d7f2b78eedf6418f400c (patch) | |
| tree | 19198e7b49d317a2ec40a48e4c35f4f89d98e990 /lib/mpi/mpi-bit.c | |
| parent | 547234bc39058092bd09dc38b11081cd357060e9 (diff) | |
qcom: smcinvoke: Fix stack overflow for arr_filp
arr_filp is an alias to filp_to_release. It is exposed
to access indices greater than allotted space of 15 bytes,
equal to size of OBJECT_COUNTS_MAX_OO. This change fixes
the stack overflow by taking an independent variable to track
the number of output objects.
Change-Id: Idca9cef3c69693d27d4ca3d0e0b4845fc27c998a
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
