0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-07-28 07:48:48 +02:00
dendrite/setup/config
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.go Mention unstable features in /_matrix/client/versions (#1710) 2021-01-18 13:09:28 +00:00
config_appservice.go Fix SIGSEGV in IsInterestedInRoomID (#1846) 2021-06-07 09:13:40 +01:00
config_clientapi.go Mention unstable features in /_matrix/client/versions (#1710) 2021-01-18 13:09:28 +00:00
config_eduserver.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
config_federationapi.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
config_federationsender.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_global.go Add Sentry support (#1803) 2021-03-24 10:25:24 +00:00
config_kafka.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_keyserver.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_mediaapi.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_mscs.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_roomserver.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_signingkeyserver.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_syncapi.go Fix database default connection limits for CI (#1794) 2021-03-08 13:18:29 +00:00
config_test.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
config_userapi.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00