Simulavr: an AVR simulator - Patches: patch #7078, fix potential string overflows in...
You are not allowed to post comments on this tracker with your current authentication level.
patch #7078: fix potential string overflows in 0.1.2.6
Submitter: | Juergen Weigert <jnweiger> | ||
Submitted: | Sun 31 Jan 2010 12:19:33 PM UTC | ||
Category: | None | Priority: | 5 - Normal |
Status: | Wont Do | Privacy: | Public |
Assigned to: | None | Open/Closed: | Closed |
Component Version: | simulavr |
Sun 31 Jan 2010 11:39:22 PM UTC, comment #2: |
Juergen Weigert <jnweiger> |
Sun 31 Jan 2010 12:41:29 PM UTC, comment #1: Nice catch. (Oh those pesky C string functions. How difficult to get right. And how boring.)
|
Petr Hluzin <petrh> |
Sun 31 Jan 2010 12:19:33 PM UTC, original submission:
I've compiled with latest gcc-4.4.1 and at extra mean warning levels. This is what I found:
|
Juergen Weigert <jnweiger> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-10-25 | tomk | Status | None | Wont Do | |
Open/Closed | Open | Closed | |||
2010-01-31 | petrh | Attached File | - | Added happy_gcc_v2.patch, #19585 | |
2010-01-31 | jnweiger | Attached File | - | Added happy_gcc.patch, #19581 |
Powered by Savane 3.13-4448.
Corresponding source code
Yes, you did it right. I only went after the obvious. Sorry.
strncat() should not be used anyway. It was designed to fool the user. Nobody would assume that POSIX blessed an interface where both caller and function would need to count the bytes.