You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loging in to my account, quaternion tries to sync and segfaults, pointing at a malformed user Id:
quotient.main: Malformed userId: "@a_null_punisher:nerdsin.space,"
quotient.main: Could not get a user object for "@a_null_punisher:nerdsin.space,"
quotient.main: Malformed userId: "@a_null_punisher:nerdsin.space,"
zsh: segmentation fault (core dumped) quaternion
this likely related to a ban event that had a typo:
A few months ago 3c85f04 introduced validation of user ids but the rest
of the library code wasn't updated to the fact that Connection::user()
may quite legitimately (if not routinely) return nullptr, leading to
crashes particularaly when malformed ids come from the wire. This commit
adds necessary checks before using the value returned from user().
Closes#456.
A few months ago 3c85f04 introduced validation of user ids but the rest
of the library code wasn't updated to the fact that Connection::user()
may quite legitimately (if not routinely) return nullptr, leading to
crashes particularaly when malformed ids come from the wire. This commit
adds necessary checks before using the value returned from user().
Closes#456.
Description
After loging in to my account, quaternion tries to sync and segfaults, pointing at a malformed user Id:
this likely related to a ban event that had a typo:
Steps to reproduce
Expected behavior:
Quaternion ignores malformed id and keeps working
Version information
The text was updated successfully, but these errors were encountered: