diff options
| author | Yaniv Gardi <ygardi@codeaurora.org> | 2015-04-08 12:05:03 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:59:37 -0700 |
| commit | 8746cedefa3b6d17268b512c473f500c230a39a3 (patch) | |
| tree | 7e54ae3e5f7c8389e9e44d60dca9dd5760c95aa7 /scripts/checkstack.pl | |
| parent | 797f8f7f8d5ae27c00d977cfaf33b3e728b90f13 (diff) | |
scsi: ufs: fix a bug where accessing an array in invalid index
Add range check on tag statistics array index to avoid a potential
situation where the array index is out-of-bounds in case
TS_NOT_SUPPORTED is returned as the index.
Change-Id: Ib35fd0abe9553f6ea259efd2f98c7a4ef490d6ed
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
