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

RTEMS trac trac at rtems.org
Thu Sep 3 17:34:15 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:"9e2197d5d7ce759f77717d51063d7bfdb340254c/rtems"]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="9e2197d5d7ce759f77717d51063d7bfdb340254c"
 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:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list