[RTEMS Project] #2926: Coverity Reports Multiple Out of Bounds Accesses in rtd-mdreloc-sparc.c

RTEMS trac trac at rtems.org
Wed Mar 15 14:56:54 UTC 2017


#2926: Coverity Reports Multiple Out of Bounds Accesses in rtd-mdreloc-sparc.c
---------------------------+-----------------------
 Reporter:  Joel Sherrill  |       Owner:  chrisj@…
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  4.12
Component:  libdl          |     Version:  4.12
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+-----------------------

Comment (by Gedare):

 These links don't work for me even if I am logged in, so they are of
 minimal utility. I had to use the CID number to pull up the report.

 Joel did not paste enough of Coverity's history to understand the context.
 You have to go back a step to see:

 6. cond_between: Checking type > 45UL implies that type is between 1 and
 45 (inclusive) on the false branch.
 176  if (type > R_TYPE(6))

--
Ticket URL: <http://devel.rtems.org/ticket/2926#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list