public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1000731] New: Incomplete buffer clear with memset() call
@ 2009-03-26 13:33 bugzilla-daemon
  2009-03-26 14:11 ` [Bug 1000731] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2009-03-26 13:33 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000731

           Summary: Incomplete buffer clear with memset() call
           Product: eCos
           Version: CVS
          Platform: Other (please specify)
               URL: http://ecos.sourceware.org/cgi-
                    bin/cvsweb.cgi/~checkout~/ecos/host/tools/ecostest/commo
                    n/ResetAttributes.cpp?rev=1.4&content-
                    type=text/plain&cvsroot=ecos
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: minor
          Priority: normal
         Component: Other
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: squatch@gmail.com
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


In the file ecos/host/tools/ecostest/common/ResetAttributes.cpp there
is a memset() call with an incorrect size argument, leading to an incomplete
buffer clear.

  TCHAR buf[1+BUFSIZE];
  memset(buf,0,BUFSIZE); // safety for string functions in IsValidReset

It appears that the size argument should be BUFSUZE+1.


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1000731] Incomplete buffer clear with memset() call
  2009-03-26 13:33 [Bug 1000731] New: Incomplete buffer clear with memset() call bugzilla-daemon
@ 2009-03-26 14:11 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2009-03-26 14:11 UTC (permalink / raw)
  To: ecos-bugs

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000731


John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jifl@ecoscentric.com        |john@dallaway.org.uk
          Component|Other                       |ConfigTool
         OS/Version|Other                       |All
           Platform|Other (please specify)      |All




--- Comment #1 from John Dallaway <john@dallaway.org.uk>  2009-03-26 14:11:03 ---
Setting component to "ConfigTool"


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-26 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 13:33 [Bug 1000731] New: Incomplete buffer clear with memset() call bugzilla-daemon
2009-03-26 14:11 ` [Bug 1000731] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).