|
Bugzilla – Full Text Bug Listing |
| Summary: | Out-of-bounds array access | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | ycqzvomd |
| Component: | lte | Assignee: | Biljana Bojović <bbojovic> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | critical | CC: | bbojovic, mmiozzo, natale.patriciello, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch to modify NS_ASSERT conditions | ||
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. |
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.