mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
ircd::server: Apply stack protected canary on key frames.
This commit is contained in:
parent
049828290f
commit
446964bb67
1 changed files with 8 additions and 0 deletions
|
@ -278,6 +278,7 @@ ircd::server::request::opts_default
|
||||||
/// request go out of scope at virtually any time without disrupting the
|
/// request go out of scope at virtually any time without disrupting the
|
||||||
/// pipeline and other requests.
|
/// pipeline and other requests.
|
||||||
bool
|
bool
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::cancel(request &request)
|
ircd::server::cancel(request &request)
|
||||||
{
|
{
|
||||||
if(!request.tag)
|
if(!request.tag)
|
||||||
|
@ -321,6 +322,7 @@ ircd::server::cancel(request &request)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::submit(const hostport &hostport,
|
ircd::server::submit(const hostport &hostport,
|
||||||
request &request)
|
request &request)
|
||||||
{
|
{
|
||||||
|
@ -1647,6 +1649,7 @@ ircd::server::link::wait_writable()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::link::handle_writable(const error_code &ec)
|
ircd::server::link::handle_writable(const error_code &ec)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -1820,6 +1823,7 @@ ircd::server::link::wait_readable()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::link::handle_readable(const error_code &ec)
|
ircd::server::link::handle_readable(const error_code &ec)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -2547,6 +2551,7 @@ const
|
||||||
/// through specific callbacks so the peer can learn information.
|
/// through specific callbacks so the peer can learn information.
|
||||||
///
|
///
|
||||||
ircd::const_buffer
|
ircd::const_buffer
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::tag::read_buffer(const const_buffer &buffer,
|
ircd::server::tag::read_buffer(const const_buffer &buffer,
|
||||||
bool &done,
|
bool &done,
|
||||||
link &link)
|
link &link)
|
||||||
|
@ -2830,6 +2835,7 @@ ircd::server::tag::read_content(const const_buffer &buffer,
|
||||||
}
|
}
|
||||||
|
|
||||||
ircd::const_buffer
|
ircd::const_buffer
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::tag::read_chunk_head(const const_buffer &buffer,
|
ircd::server::tag::read_chunk_head(const const_buffer &buffer,
|
||||||
bool &done,
|
bool &done,
|
||||||
const uint8_t recursion_level)
|
const uint8_t recursion_level)
|
||||||
|
@ -3014,6 +3020,7 @@ ircd::server::tag::read_chunk_content(const const_buffer &buffer,
|
||||||
}
|
}
|
||||||
|
|
||||||
ircd::const_buffer
|
ircd::const_buffer
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::tag::read_chunk_dynamic_head(const const_buffer &buffer,
|
ircd::server::tag::read_chunk_dynamic_head(const const_buffer &buffer,
|
||||||
bool &done,
|
bool &done,
|
||||||
const uint8_t recursion_level)
|
const uint8_t recursion_level)
|
||||||
|
@ -3237,6 +3244,7 @@ ircd::server::tag::read_chunk_dynamic_content(const const_buffer &buffer,
|
||||||
/// whether it receiving HTTP head data or whether it is in content mode.
|
/// whether it receiving HTTP head data or whether it is in content mode.
|
||||||
///
|
///
|
||||||
ircd::mutable_buffer
|
ircd::mutable_buffer
|
||||||
|
__attribute__((stack_protect))
|
||||||
ircd::server::tag::make_read_buffer()
|
ircd::server::tag::make_read_buffer()
|
||||||
const
|
const
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue