[RTEMS Project] #4485: GcovData.cc: Out-of-bounds acces errors spotted by Coverity

RTEMS trac trac at rtems.org
Fri Aug 20 17:47:02 UTC 2021


#4485: GcovData.cc: Out-of-bounds acces errors spotted by Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  tool       |     Version:  6
 Severity:  normal     |  Resolution:  fixed
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):

 * owner:  (none) => Ryan Long <ryan.long@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0ab060ff2c52159d2fd7aba7ea58454ee7491973/rtems-tools"
 0ab060f/rtems-tools]:
 {{{
 #!CommitTicketReference repository="rtems-tools"
 revision="0ab060ff2c52159d2fd7aba7ea58454ee7491973"
 GcovData.cc: Fix out-of-bounds access errors

 Adjusted number of bytes to be read, removed length variable

 CID 1506208: Out-of-bounds access
 CID 1506209: Out-of-bounds access

 Closes #4485
 }}}

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


More information about the bugs mailing list