mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
ircd::buffer: Add canary on copy/move.
This commit is contained in:
parent
41d60ec2f7
commit
bc82a5a12c
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,7 @@ ircd::buffer::copy(const mutable_buffer &dst,
|
||||||
|
|
||||||
template<class it>
|
template<class it>
|
||||||
it
|
it
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::buffer::move(it &dest,
|
ircd::buffer::move(it &dest,
|
||||||
const it &stop,
|
const it &stop,
|
||||||
const const_buffer &src)
|
const const_buffer &src)
|
||||||
|
@ -307,6 +308,7 @@ ircd::buffer::move(it &dest,
|
||||||
|
|
||||||
template<class it>
|
template<class it>
|
||||||
it
|
it
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::buffer::copy(it &dest,
|
ircd::buffer::copy(it &dest,
|
||||||
const it &stop,
|
const it &stop,
|
||||||
const const_buffer &src)
|
const const_buffer &src)
|
||||||
|
|
Loading…
Reference in a new issue