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 1001586] BSD nc_test_slave chrashes

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

--- Comment #4 from Ilija Kocho <> 2012-05-15 18:53:49 BST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > That doesn't sound right. [snip]
> > 
> > Sorry Jifl, FAOD, I couldn't find out whether this refers to my comment or is
> > just a pretext for your next sentence (here snipped out)? Pse. clarify.
> I mean that if the BSD stack can crash due to a particular buffer size in
> nc_test_slave, then there is a problem in the BSD stack that needs fixing, not
> a problem in the test.
> But then, it does depend on exactly what you mean by "crashing".

I wanted to say that the test crashes not BSD stack./in_buf[]/ (/out_buf[]/) is
not a buffer under control of the stack but a store for incoming (outgoing)
messages. Since buffer size is 8 KiB and some tests involve messages of 10240
bytes my conclusion is that overflow occurs. Dependent on what gets corrupted
program may crash, stale or... sometimes it seems that program works fine - the
test reaches the end.

I have experienced the same _instability_ (originally) with lwIP (Bug 1001344)

The proposed buffer enlargement _stabilizes_ both BSD and lwIP instances of


Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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