Bugzilla – Bug 2172
Out-of-bounds array access
Last modified: 2018-03-07 05:21:28 UTC
Created attachment 2128 [details] Patch to modify NS_ASSERT conditions GetTbSizeFromMcs is called with nprb = 0 in some tests, which results in out-of-bounds array access. Attached patch modifies assert to prevent such bugs and makes them easy to detect. This bug was detected with AddressSanitizer, I don't know why it happens or how to fix it. After applying the patch, two tests CRASH: lte-fdtbfq-ff-mac-scheduler lte-frequency-reuse I have not found any other bugs using AddressSanitizer.
The patch is not doing anything useful, I am sorry. If you think this needs a reopen, please do it and explain what is the sense to merge a patch that, from 0 crashes, open the doors to 2 crashes.