[RTEMS Project] #2405: CppCheck errors being reported throughout the code

RTEMS trac trac at rtems.org
Tue Sep 1 22:02:50 UTC 2015


#2405: CppCheck errors being reported throughout the code
---------------------------+---------------------
 Reporter:  martin.galvan  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+---------------------

Comment (by martin.galvan):

 Replying to [comment:1 joel.sherrill]:
 > I posted proposed fixes for all of these except the rtems_dhcp.c one.
 Please review and let me know.

 It looks fine to me. However, if you don't mind me asking:

 1) What's wrong with the rtems_dhcp fix?
 2) In nios2/ptf.c I added a check for the return value of malloc, but the
 patch you sent only adds the missing {{{free}}}. Was there something wrong
 with that check?

 Thanks a lot!

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


More information about the bugs mailing list