Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fix bug when coap response has big payload
_read in sock_dtls callback uses memcpy to copy decrypted message from (uint8_t *) data to sock->buf. The memory areas overlaps when the payload is large (>21 bytes). This fix uses memmove instead of memcpy which is safe for overlapping memory areas.
- Loading branch information