mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 12:18:54 +02: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>
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue