0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 16:34:13 +01:00

ircd:Ⓜ️ Stack protect around dynamic arrays used here.

This commit is contained in:
Jason Volk 2019-03-13 18:16:12 -07:00
parent 1117947a22
commit 034c2d9030

View file

@ -3950,6 +3950,7 @@ ircd::m::message(const room &room,
}
ircd::m::event::id::buf
__attribute__((stack_protect))
ircd::m::send(const room &room,
const m::id::user &sender,
const string_view &type,
@ -3967,6 +3968,7 @@ ircd::m::send(const room &room,
}
ircd::m::event::id::buf
__attribute__((stack_protect))
ircd::m::send(const room &room,
const m::id::user &sender,
const string_view &type,
@ -4001,6 +4003,7 @@ ircd::m::send(const room &room,
}
ircd::m::event::id::buf
__attribute__((stack_protect))
ircd::m::send(const room &room,
const m::id::user &sender,
const string_view &type,
@ -4017,6 +4020,7 @@ ircd::m::send(const room &room,
}
ircd::m::event::id::buf
__attribute__((stack_protect))
ircd::m::send(const room &room,
const m::id::user &sender,
const string_view &type,