[RTEMS Project] #4469: rtems-exeinfo.cpp: Not restoring ostream format errors spotted by Coverity

RTEMS trac trac at rtems.org
Tue Jul 27 18:42:06 UTC 2021


#4469: rtems-exeinfo.cpp: Not restoring ostream format errors spotted by Coverity
-----------------------+--------------------------------------
 Reporter:  Ryan Long  |       Owner:  Ryan Long <ryan.long@…>
     Type:  defect     |      Status:  closed
 Priority:  normal     |   Milestone:  6.1
Component:  tool       |     Version:  6
 Severity:  normal     |  Resolution:  fixed
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+--------------------------------------
Changes (by Ryan Long <ryan.long@…>):

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


Comment:

 In [changeset:"e1469279a7a8b7e9bfdd47587bd8a1956752233c/rtems-tools"
 e146927/rtems-tools]:
 {{{
 #!CommitTicketReference repository="rtems-tools"
 revision="e1469279a7a8b7e9bfdd47587bd8a1956752233c"
 rtems-exeinfo.cpp: Restore ostream format

 CID 1503006: Not restoring ostream format
 CID 1503007: Not restoring ostream format

 Used a variable to store the format of the ostream before any changes,
 and copied what was originally there back into the stream before
 returning from the function.

 Closes #4469
 }}}

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


More information about the bugs mailing list