<GitHub181>
[smoltcp] whitequark commented on issue #261: This is interesting. The logic in `Assembler::add` is not trivial. Do you think you could record a trace under `rr` so that I can step back through it? https://github.com/m-labs/smoltcp/issues/261#issuecomment-423736883
<GitHub91>
[smoltcp] whitequark commented on issue #261: I don't actually know! I wrote this code a while ago and I don't remember the exact rationale for that condition. How about adding a fuzzer-based test that generates and feeds the assembler random data ranges and sees what happens? That should discover a reduced test case for the crash very rapidly. https://github.com/m-labs/smoltcp/issues/261#issuecomment-423738655
<GitHub190>
[smoltcp] pothos commented on issue #261: I'm new to reading it as well and reported this here in case others also observe it. By reading quickly, I'm very suspicious about this part because it can explain why suddenlty the 1-length packet was not dropped anymore:... https://github.com/m-labs/smoltcp/issues/261#issuecomment-423739161
<GitHub72>
[smoltcp] pothos commented on issue #261: I'm new to reading it as well and reported this here in case others also observe it. By reading quickly, I'm very suspicious about this part because it can explain why suddenly the 1-length packet was not dropped anymore:... https://github.com/m-labs/smoltcp/issues/261#issuecomment-423739161
Wobni has quit [Remote host closed the connection]
silentbicycle23 has joined #m-labs
silentbicycle23 has quit [Remote host closed the connection]
<GitHub53>
[smoltcp] whitequark commented on issue #264: 64 contigs means 128 machine words per TCP socket, so usually 0.5K. This is quite a bit for the smallest targets. How about *either* a preallocated set of 4 gaps (for the smallest targets) *or* a heap-allocated assembler buffer (if you can spare 0.5K that'll usually go unused you probably have `Box` already)? https://github.com/m-labs/smoltcp/pull/264#issuecomment-4237
depesz25 has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
depesz25 has quit [Remote host closed the connection]
<GitHub154>
[smoltcp] pothos opened pull request #265: Only change the assembler state on success (master...assember_rejected_add_keeps_state) https://github.com/m-labs/smoltcp/pull/265
<GitHub3>
[smoltcp] m-labs-homu closed pull request #265: Only change the assembler state on success (master...assember_rejected_add_keeps_state) https://github.com/m-labs/smoltcp/pull/265
<travis-ci>
m-labs/smoltcp#1170 (auto - 68869de : Kai Lüke): The build passed.
<GitHub162>
[smoltcp] pothos commented on issue #264: Seems that `cargo test` has a bug in evaluating the cfg macros: There is a compile error because some definitions are compiled with cfg std and some without!? https://github.com/m-labs/smoltcp/pull/264#issuecomment-423765754