commit | eff2b95876f028499cbda837104692402ac45eda | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Nov 17 09:44:29 2023 +0800 |
committer | developer <developer@mediatek.com> | Tue Nov 21 14:31:15 2023 +0800 |
tree | b26dffd01484ddf1a2b271d56bf8a1e98b3dffcf | |
parent | 869dfb1a1e0fc1a563edf22f7199e63b65026a21 [diff] |
[][openwrt][mt7988][pce][fix out-of-bound array access] [Description] Fix potential out-of-bound array access. The CDRT can only be accessed within 1 ~ 31 while the CDRT find function's error checking mechanism is checked the FE_MEM_CDRT_MAX_INDEX which is 96. Ajust the error checking mechanism so that we can ensure the input is within 1 ~ 31 [Release-log] N/A Change-Id: I85565f16e641800baee6dcfdcf8697ac64625d20 Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8263662