Mercurial > prosody-hg
view plugins/mod_register.lua @ 14213:75d09be04f13 13.0
util.poll: Reject file descriptors outside of FD_SETSIZE in all methods
To prevent accesses outside the bounds of the FD sets.
Previously only checked on the write, but maybe this could potentially
cause weird behavior as well?
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 31 May 2026 11:51:22 +0200 |
| parents | bb010c3c8c93 |
| children |
line wrap: on
line source
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local allow_registration = module:get_option_boolean("allow_registration", false); if allow_registration then module:depends("register_ibr"); module:depends("watchregistrations"); end module:depends("user_account_management");
