commit | e54e2ae2472b6d4f4251b01f8b3fe6a0626df553 | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@codeaurora.org> | Mon Jul 18 17:56:20 2016 -0700 |
committer | Jeff Johnson <jjohnson@codeaurora.org> | Thu Jul 21 07:59:14 2016 -0700 |
tree | db57331c98066513353be2a961f2e441e98a153d | |
parent | 74da41bcc2cea822aa99a5406b74605389129224 [diff] |
qcacld-3.0: Prevent overread of UP to AC mapping table Currently the User Priority (UP) returned by hdd_wmm_classify_pkt() is used without any checks by hdd_get_queue_index() to lookup the Access Category (AC) in the mapping table hdd_linux_up_to_ac_map[]. Although the UP returned by hdd_wmm_classify_pkt() should be within the valid range, for safety add an explicit check to prevent an overread of the table. Change-Id: Iacd8d97bcc7a3939cdb2469f6830adc2ffc24765 CRs-Fixed: 1041989