]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/http: use memmove() for session buffer write
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 7 Jan 2021 12:36:49 +0000 (13:36 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 7 Jan 2021 12:49:45 +0000 (13:49 +0100)
commitdd8efd4870ff2833ed7bda79a112e8888c90794d
tree1600253830940091f939ba335447be7adf455a66
parentd15e6fb8b0ba10bee78086ccb07fc0d69bfbfebb
daemon/http: use memmove() for session buffer write

Since session buffer contains both the raw http data and the resulting
decoded DNS packet, memmove() should be used instead of memcpy().
daemon/http.c