• Shockingly Good's avatar
    Fix crash in RM_GetCurrentUserName() when the user isn't accessible (#13619) · 611c9502
    Shockingly Good authored
    The crash happens whenever the user isn't accessible, for example, it
    isn't set for the context (when it is temporary) or in some other cases
    like `notifyKeyspaceEvent`. To properly check for the ACL compliance, we
    need to get the user name and the user to invoke other APIs. However, it
    is not possible if it crashes, and it is impossible to work that around
    in the code since we don't know (and **shouldn't know**!) when it is
    available and when it is not.
    611c9502
module.c 569 KB