summaryrefslogtreecommitdiff
path: root/uapi/linux/debug_linux.h
diff options
context:
space:
mode:
authorVignesh Viswanathan <viswanat@codeaurora.org>2017-09-19 18:37:12 +0530
committersnandini <snandini@codeaurora.org>2017-10-09 19:44:12 -0700
commitffdf994f79e949572d74dd1ae8fc405c76037add (patch)
treeced02dd8cc5bbce796a5fe02821a1eb75c6fad3f /uapi/linux/debug_linux.h
parent4621b188f317f5534878f74374c6b90ab8f460bc (diff)
qcacld-3.0: Fix potential infinite loop in get_container_ies_len
In the function get_container_ies_len, len (uint32) is calculated from the length of the buffer parsed. Then it is copied to the uint8 pnConsumed pointer from the calling function. This could lead to pnConsumed becoming 0 if len exceeds 255 and would cause infinte loop in the function unpack_core. Add changes to make pnConsumed passed from unpack_core to be uint32 so that there are no issues in get_container_ies_len Change-Id: Ia5770b4becf7dd1cf7cb97ec2e0d94f3c5f4ed54 CRs-Fixed: 2101200
Diffstat (limited to 'uapi/linux/debug_linux.h')
0 files changed, 0 insertions, 0 deletions