4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-04-02 18:25:04 +01:00
bodqhrohro c488d3db75
Fix SIGSEGV in IsInterestedInRoomID ()
* Avoid crash on non-compiled room regex

Roughly fixes  (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 , 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
..
2020-12-02 17:41:00 +00:00
2021-01-26 12:56:20 +00:00
2021-04-07 13:26:20 +01:00
2020-12-02 17:41:00 +00:00
2020-12-02 17:41:00 +00:00
2021-01-26 12:56:20 +00:00