[RTEMS Project] #4254: shell.c: Dereference before null check error spotted by Coverity

RTEMS trac trac at rtems.org
Thu Feb 18 19:39:33 UTC 2021


#4254: shell.c: Dereference before null check error spotted by Coverity
-----------------------+-------------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <thisisryanlong@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  lib        |     Version:  6
 Severity:  normal     |  Resolution:  fixed
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+-------------------------------------------
Changes (by Ryan Long <thisisryanlong@…>):

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


Comment:

 In [changeset:"fa25b73ac191fd9e4664da3197aef874488cee0e/rtems"
 fa25b73/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="fa25b73ac191fd9e4664da3197aef874488cee0e"
 shell.c: Fix Dereference before null check (CID #1467420)

 CID 1467420: Dereference before null check in rtems_shell_line_editor().

 Closes #4254
 }}}

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


More information about the bugs mailing list