Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Initial Version and Version 1 of Ticket #2926


Ignore:
Timestamp:
03/14/17 21:28:40 (7 years ago)
Author:
Joel Sherrill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2926

    • 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
  • Ticket #2926 – Description

    initial v1  
    11Coverity 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.
    22
    3 https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967451&mergedDefectId=1255330
     3The first issue is: https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967451&mergedDefectId=1255330
    44
    55The long analysis ends with:
     
    1212228  value >>= RELOC_VALUE_RIGHTSHIFT (type);
    1313229  value &= mask;
     14
     15The others are:
     16
     17https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967452&mergedDefectId=1255332
     18https://scan5.coverity.com/reports.htm#v29808/p10069/fileInstanceId=109360252&defectInstanceId=30967450&mergedDefectId=1255342