anonymousland-synapse/synapse/storage/databases/main
Andrew Morgan 4325be1a52 Fix missing null character check on guest_access room state
When updating room_stats_state, we try to check for null bytes slipping
in to the
content for state events. It turns out we had added guest_access as a
field to
room_stats_state without including it in the null byte check.

Lo and behold, a null byte in a m.room.guest_access event then breaks
room_stats_state
updates.

This PR adds the check for guest_access. A further PR will improve this
function so that this hopefully does not happen again in future.
2020-09-22 19:39:29 +01:00
..
schema Add experimental support for sharding event persister. Again. (#8294) 2020-09-14 10:16:41 +01:00
__init__.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account_data.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
appservice.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
cache.py Separate get_current_token into two. (#8113) 2020-08-19 10:39:31 +01:00
censor_events.py Convert account data, device inbox, and censor events databases to async/await (#8063) 2020-08-12 09:29:06 -04:00
client_ips.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
deviceinbox.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
devices.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
directory.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
e2e_room_keys.py Convert additional database code to async/await. (#8195) 2020-08-28 07:54:27 -04:00
end_to_end_keys.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
event_federation.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
event_push_actions.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
events_bg_updates.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
events_worker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
events.py Add experimental support for sharding event persister. Again. (#8294) 2020-09-14 10:16:41 +01:00
filtering.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
group_server.py Convert additional database code to async/await. (#8195) 2020-08-28 07:54:27 -04:00
keys.py Convert additional database code to async/await. (#8195) 2020-08-28 07:54:27 -04:00
media_repository.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
metrics.py Convert tags and metrics databases to async/await (#8062) 2020-08-11 17:21:20 -04:00
monthly_active_users.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
openid.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
presence.py Make StreamIdGen get_next and get_next_mult async (#8161) 2020-08-25 15:10:08 +01:00
profile.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
purge_events.py Catch-up after Federation Outage (split, 1) (#8230) 2020-09-04 12:22:23 +01:00
push_rule.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
pusher.py Make StreamIdGen get_next and get_next_mult async (#8161) 2020-08-25 15:10:08 +01:00
receipts.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
registration.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
rejections.py Convert simple_select_one and simple_select_one_onecol to async (#8162) 2020-08-26 07:19:32 -04:00
relations.py Convert additional databases to async/await (#8199) 2020-09-01 09:21:48 -04:00
room.py Admin API for reported events (#8217) 2020-09-22 18:15:04 +01:00
roommember.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
search.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
signatures.py Convert additional databases to async/await part 2 (#8200) 2020-09-01 08:39:04 -04:00
state_deltas.py Convert state and stream stores and related code to async (#8194) 2020-08-28 09:37:55 -04:00
state.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
stats.py Fix missing null character check on guest_access room state 2020-09-22 19:39:29 +01:00
stream.py Synapse 1.20.0rc5 (2020-09-18) 2020-09-18 11:17:58 -04:00
tags.py Fix typing for SyncHandler (#8237) 2020-09-03 12:54:10 +01:00
transactions.py Catch-up after Federation Outage (bonus): Catch-up on Synapse Startup (#8322) 2020-09-18 14:59:13 +01:00
ui_auth.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
user_directory.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
user_erasure_store.py Fixed a bug with reactivating users with the admin API (#8362) 2020-09-22 18:19:01 +01:00