0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-27 22:38:21 +02:00

ircd::buffer: Add canary on copy/move.

This commit is contained in:
Jason Volk 2019-05-07 23:05:38 -07:00
parent 41d60ec2f7
commit bc82a5a12c

View file

@ -287,6 +287,7 @@ ircd::buffer::copy(const mutable_buffer &dst,
template<class it>
it
__attribute__((stack_protect))
ircd::buffer::move(it &dest,
const it &stop,
const const_buffer &src)
@ -307,6 +308,7 @@ ircd::buffer::move(it &dest,
template<class it>
it
__attribute__((stack_protect))
ircd::buffer::copy(it &dest,
const it &stop,
const const_buffer &src)