<p></p>
<p><b>@miri64</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16422#discussion_r664111827">sys/include/net/sock/dtls.h</a>:</p>
<pre style='color:#555'>> + * @note For tinyDTLS this function destroys the session object right after notifying the remote
+ *       peer about the closing. This is an interim solution, preventing endlessly blocked session
+ *       slots, but allows as a consequence truncation attacks.
</pre>
<p>Maybe link the tinyDTLS issue here as well, so we can track this in case this somehow gets resolved: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="935539967" data-permission-text="Title is private" data-url="https://github.com/eclipse/tinydtls/issues/95" data-hovercard-type="issue" data-hovercard-url="/eclipse/tinydtls/issues/95/hovercard" href="https://github.com/eclipse/tinydtls/issues/95">eclipse/tinydtls#95</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16422#pullrequestreview-699400786">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBZ6I7MEPHIE64BBY3TWIGNNANCNFSM435B7ZLA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYF6MJVCKC2IDZ6PMJLTWIGNNA5CNFSM435B7ZLKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFGYAEUQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16422#pullrequestreview-699400786",
"url": "https://github.com/RIOT-OS/RIOT/pull/16422#pullrequestreview-699400786",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>