<p></p>
<p>(the problem was, that <code>buf_ctx</code> was uninitialized and thus was always some random value when <code>_copy_buffer</code> was called. Also there was a pointer confusion ^^"</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/12907#issuecomment-634099256">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDXCF7JZOVFX4ROIWDRTPOD5ANCNFSM4JYIYHQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYBFSIA36TE6YXW2VH3RTPOD5A5CNFSM4JYIYHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEXFZMOA.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/12907#issuecomment-634099256",
"url": "https://github.com/RIOT-OS/RIOT/pull/12907#issuecomment-634099256",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>