dendrite/setup
bodqhrohro c488d3db75
Fix SIGSEGV in IsInterestedInRoomID (#1846)
* Avoid crash on non-compiled room regex

Roughly fixes #1845 (actual compiling still needed)

Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>

* Compile regexes for all namespaces

Deadheres the regex compiling from building larger regexes for possibly
exclusive namespaces only. A complete fix for #1845, so regexes for
rooms namespaces and other non-whitelisted namespaces can be used
more safely.

Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>

* Appservice config: handle regexp parsing errors

Signed-off-by: diamondburned <datutbrus@gmail.com>
Signed-off-by: Bohdan Horbeshko <bodqhrohro@gmail.com>

Co-authored-by: Kegsay <kegan@matrix.org>
2021-06-07 09:13:40 +01:00
..
config Fix SIGSEGV in IsInterestedInRoomID (#1846) 2021-06-07 09:13:40 +01:00
kafka Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
mscs Update MSC2946 implementation for stable spaces (#1859) 2021-05-18 15:17:37 +01:00
process Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
base.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
federation.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
flags.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
monolith.go Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00