solanum-vs-hackint-and-char.../modules/core
Aaron Jones 41390bfe5f
When a remote MODRESTART command is received, it will pass through the
ENCAP module. The ms_encap function is responsible for dispatching the
command handler and then the modules will eventually be reloaded.

However, if the ENCAP module is reloaded to a different address, the
stack now contains the address of a function that no longer exists.

Also, in this version of the IRCd, the module restarting functionality
was located in a function that is itself located in a module, so things
will also go badly if that module is reloaded to a different address,
too.

Return immediately from the command handler and have the event loop
call the function responsible for reloading the modules instead.

c.f. release/3.5 commit db05a36210

Reported-by: mniip (Freenode)
2016-12-28 22:08:14 +00:00
..
m_ban.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
m_die.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_error.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
m_join.c supported: add chantypes_update() 2016-09-16 13:49:02 -05:00
m_kick.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_kill.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_message.c echo-message should work for privmsg/notice to another user 2016-11-23 21:59:43 +00:00
m_mode.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_modules.c When a remote MODRESTART command is received, it will pass through the 2016-12-28 22:08:14 +00:00
m_nick.c Use const hook data where possible 2016-10-30 12:36:50 +00:00
m_part.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
m_quit.c Message handlers should return void. 2016-03-09 01:37:03 -06:00
m_server.c mr_server: Handle certificate validation errors. 2016-12-09 10:08:47 +00:00
m_squit.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00