- Timestamp:
-
03/14/17 21:28:40 (7 years ago)
- Author:
-
Joel Sherrill
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Summary
changed from
Out of Bounds Access in rtd-mdreloc-sparc.c
to
Coverity Reports Multiple Out of Bounds Accesses in rtd-mdreloc-sparc.c
-
initial
|
v1
|
|
1 | 1 | Coverity spots an out of bounds read in rtl-mdreloc-sparc.c. Given the comment at the top that it was "Taken from NetBSD and stripped of the relocations not needed on RTEMS", I am unsure how to correlate the code back to the original to see if the issue exists upstream. Also I do not know where in the NetBSD source this came from. |
2 | 2 | |
3 | | https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967451&mergedDefectId=1255330 |
| 3 | The first issue is: https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967451&mergedDefectId=1255330 |
4 | 4 | |
5 | 5 | The long analysis ends with: |
… |
… |
|
12 | 12 | 228 value >>= RELOC_VALUE_RIGHTSHIFT (type); |
13 | 13 | 229 value &= mask; |
| 14 | |
| 15 | The others are: |
| 16 | |
| 17 | https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967452&mergedDefectId=1255332 |
| 18 | https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967450&mergedDefectId=1255342 |