[RTEMS Project] #4282: pwdgrp.c: Unchecked return value from library error spotted by Coverity

RTEMS trac trac at rtems.org
Tue Mar 23 13:45:55 UTC 2021


#4282: pwdgrp.c: Unchecked return value from library error spotted by Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  reopened
 Priority:  normal     |   Milestone:  6.1
Component:  lib        |     Version:  6
 Severity:  normal     |  Resolution:
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+--------------------------------------
Changes (by Joel Sherrill):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 It turns out that at least /etc can be created in multiple places
 depending on the RTEMS application structure. It was discussed that a
 standard mechanism is needed to address additional base file system
 directories. Ticket #4354 has been created for that which allows this
 issue to be strictly about the Coverity issue.

 Changing the _Assert which was used to (void) mkdir should be sufficient
 to close this ticket again. Improvements to the base file system directory
 create can occur under #4354

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


More information about the bugs mailing list