]> git.meshlink.io Git - meshlink/commitdiff
Fix potential channel buffer corruption when using an application-provided buffer.
authorGuus Sliepen <guus@meshlink.io>
Wed, 17 Mar 2021 20:19:45 +0000 (21:19 +0100)
committerGuus Sliepen <guus@meshlink.io>
Wed, 17 Mar 2021 20:24:59 +0000 (21:24 +0100)
If data was still in MeshLink's internal buffer in a wrapped state, and
the application called meshlink_set_channel_*buf_storage(), the wrong
amount of data was copied into the new buffer.


No differences found