ssl: fix initialization of DTLS fragment reassembler

Andreas Schultz <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
Hi,

Ingela imported my DTLS fragment reassembler almost unmodified.
In the meantime, I have found a small problem in it that cause
it to fail if the first fragment is reordered.

Change:

The DTLS fragment reassembler use a list [{Start, End}] for the
fragments. When the first received fragment was not the starting
fragment, that list got initialized with [{Start, Length}],
causing the merge of following fragment to fail.

pull request:

https://github.com/erlang/otp/pull/88

And the usual:

git fetch git://github.com/RoadRunnr/otp.git fix_dtls_fragment_decoder

https://github.com/RoadRunnr/otp/compare/erlang:master...fix_dtls_fragment_decoder
https://github.com/RoadRunnr/otp/compare/erlang:master...fix_dtls_fragment_decoder.patch

Andreas
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.