[RTEMS Project] #4377: covoar/Explanations Explanations::writeNotFound() NULL check of wrong variable
RTEMS trac
trac at rtems.org
Wed Apr 7 20:36:40 UTC 2021
#4377: covoar/Explanations Explanations::writeNotFound() NULL check of wrong
variable
------------------------------+-------------------------
Reporter: Alex White | Owner: Alex White
Type: defect | Status: closed
Priority: normal | Milestone: 6.1
Component: tool | Version: 6
Severity: normal | Resolution: fixed
Keywords: coverage, covoar | Blocked By:
Blocking: |
------------------------------+-------------------------
Changes (by Alex White <alex.white@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"e84b9f3a94c35c80785cf7a855a50f34bfe601e0/rtems-tools"
e84b9f3/rtems-tools]:
{{{
#!CommitTicketReference repository="rtems-tools"
revision="e84b9f3a94c35c80785cf7a855a50f34bfe601e0"
covoar: Fix NULL check of wrong variable (CID #1399602)
CID 1399602: Dereference null return value in
Explanations::writeNotFound().
In Explanations::writeNotFound() there were two NULL checks of the
`fileName` variable where only one is needed. The second check has been
changed to a NULL check of `notFoundFile` to match the original intent.
Closes #4377
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4377#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list