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

RTEMS trac trac at rtems.org
Thu Sep 3 17:33:38 UTC 2015


#2405: CppCheck errors being reported throughout the code
---------------------------+----------------------------------------------
 Reporter:  martin.galvan  |       Owner:  Martin Galvan <martin.galvan@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |
---------------------------+----------------------------------------------

Comment (by Martin Galvan <martin.galvan@…>):

 In [changeset:"cc93c83e00df36124781c9a5bbe213c7c0715fd8/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="cc93c83e00df36124781c9a5bbe213c7c0715fd8"
 cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()

 I also used the 'n' versions of the string functions, #define'd magic
 numbers
 and added a few comments.

 Updates #2405.
 }}}

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


More information about the bugs mailing list