This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001490] C99 snprintf() does not include terminated null intruncated strings

Please do not reply to this email. Use the web interface provided at:

--- Comment #3 from Sergei Gavrikov <> 2012-08-07 17:44:01 BST ---
(In reply to comment #2)
> > I have verified the issue, and that the attached patch solves it.
> > However, I have not run the affected ecos tests in this patch
> > (Although I have run the test suite for our project).
> Note: the test case as it was attached fails in "snprintf double test
> #2", which has to be changed like the other test cases.

Thank you for testing. But I do not see any "snprintf double test #2" in
CVS sources

  % grep -nr 'printf\W\+double' packages/language/c/
     "snprintf double test #1");
     "snprintf double test #1 return code");

Could you clarify, please, what the test does not pass?


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]