summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-24Merge pull request #1002 from SaberUK/insp20+fix-cgiirc-crashAttila Molnar
[2.0] Fix a minor crash when a user has no class after OnCheckReady.
2015-02-23Fix a minor crash when a user has no class after OnCheckReady.Peter Powell
This bug looks serious but it can only be triggered with a very unusual server configuration problem. If you haven't already had a crash then you probably aren't at any risk. The way this crash happens is: 1. InspIRCd::DoBackgroundUserStuff is called by the main loop. 2. In the switch statement curr->registered is set to REG_NICKUSER so InspIRCd::AllModulesReportReady is called. 3. InspIRCd::AllModulesReportReady calls the OnCheckReady event in m_cgiirc. 4. m_cgiirc calls RecheckClass which sets the user's class to NULL and calls LocalUser::SetClass followed by LocalUser::CheckClass. 5. The user doesn't match any classes in LocalUser::SetClass so LocalUser::CheckClass quits the user with with "Access denied by configuration". 6. Control flow returns to InspIRCd::DoBackgroundUserStuff when InspIRCd::AllModulesReportReady returns false. 7. The if statement at the end of InspIRCd::DoBackgroundUserStuff calls ConnectClass::GetRegTimeout on curr->MyClass. 8. ConnectClass::GetRegTimeout tries to access a member of this which is NULL. 9. The server crashes with a SEGFAULT.
2015-02-17Merge pull request #992 from SaberUK/insp20+fix-error-messageAttila Molnar
[2.0] Fix erroneous error messages in configure.
2015-02-12Fix erroneous error messages in configure.Peter Powell
2015-02-09Remove outdated ircservices and neostats config examplesAttila Molnar
Issue #991
2015-02-04cmd_userhost List 5 users in the reply even if the query (incorrectly) ↵Attila Molnar
contains more than 5 nicks
2015-02-04m_spanningtree Fix TreeRoot UserCount being possibly wrong if loaded after ↵Attila Molnar
startup
2015-02-02threadengine_pthread Throw CoreExceptions instead of CoreException pointersAttila Molnar
2015-01-21m_abbreviation Fix typo in numeric textAttila Molnar
2015-01-21Fix numeric ERR_NOTREGISTERED not containing the user's nickAttila Molnar
2015-01-21Merge pull request #961 from SaberUK/insp20+fix-snoticeAttila Molnar
Fix a snotice in m_spanningtree incorrectly using an unsigned long.
2015-01-19Merge branch 'insp20+penalty' into insp20Attila Molnar
2015-01-19m_operprefix Fix force joined opers not being given the operprefix modeAttila Molnar
2015-01-19Don't bind ports after an unsuccessful rehashAttila Molnar
2015-01-17Update year in resource file for WindowsAttila Molnar
2015-01-17Merge pull request #967 from SaberUK/insp20+fix-windowsAttila Molnar
Fix modules not being versioned on Windows.
2015-01-17Fix modules not being versioned on Windows.Peter Powell
2015-01-17m_hideoper Fix wrong /WHO output for hidden opers if the channel name ↵Attila Molnar
contains '*'
2015-01-17Fix elines not matching elined users when rechecking elined statusAttila Molnar
2015-01-17Merge pull request #968 from ShutterQuick/insp20+sporderAttila Molnar
cmd_list: Give +s precedence to +p
2015-01-17cmd_list: Give +s precedence to +pDaniel Vassdal
When +ps is set, handle it as +s (most restrictive) instead of +p
2015-01-17Merge pull request #966 from SaberUK/insp20+fix-error-messageAttila Molnar
Fix a blank error message when trying to load a module with a path.
2015-01-16Fix a blank error message when trying to load a module with a path.Peter Powell
2015-01-12Always penalize clients executing a command which fails before running the ↵Attila Molnar
handler, even if the command has 0 penalty
2015-01-12Increase penalty for some core commandsAttila Molnar
2015-01-12Fix harmless uninitialized variable usage on startup if the config is incorrectAttila Molnar
2015-01-11Merge pull request #963 from SaberUK/insp20+nuke-data-dumperAttila Molnar
Don't load Data::Dumper in the configure script.
2015-01-11Don't load Data::Dumper in the configure script.Peter Powell
This is not used and apparently there are some distros which do not include it as part of the system Perl.
2015-01-03Fix a snotice in m_spanningtree incorrectly using an unsigned long.Peter Powell
This value can be negative so it should be a signed long not an unsigned long.
2014-12-30Fix signon time of clients being off by dns_timeout secondsAttila Molnar
2014-12-30Fix User::age being incorrectly used in some places instead of signonAttila Molnar
2014-12-27m_check Fix non-standard format specifier %s passed to strftime() causing ↵Attila Molnar
problems on systems not supporting it (Windows)
2014-12-10m_httpd On module unload close all connections hooked by the module being ↵Attila Molnar
unloaded
2014-11-30Reject empty mode parameters in ModeParser::Process() instead of relying on ↵Attila Molnar
ModeHandlers to do it
2014-11-30Don't submit a reload worker if the module doing the reload is scheduled for ↵Attila Molnar
unload
2014-11-30Validate module reload callback before use in PURE_STATIC buildsAttila Molnar
2014-11-29Fix a couple of helpop issuesAttila Molnar
Fixes issue #949 reported by @webczat
2014-11-12Updated inspircd init script template to make it chkconfig compatible.Dan Parsons
Backported from master, PR #901
2014-11-09Make some config strings a bit more professional and use RFC reserved TLD's ↵JD Horelick
everywhere
2014-11-09Add missing oper-only commands to oper class blocksJD Horelick
2014-10-31Remove formatting from the IRC link in README.mdAttila Molnar
It does not work, people don't see the address on the page
2014-10-31Merge pull request #945 from SaberUK/insp20+even-more-module-manager-fixesAttila Molnar
Fix modulemanager not being able to download modules (again!).
2014-10-29Fix modulemanager not being able to download modules (again!).Peter Powell
2014-10-27Allow setting a limit of less than 64 entries for non-ban listmodes via ↵Attila Molnar
<banlist> Fixes regression introduced in 234be2f3cb
2014-10-26Release v2.0.18Attila Molnar
2014-10-26Remove some dead code found by CoverityAttila Molnar
2014-10-25Merge pull request #944 from SaberUK/insp20+gnutls-rndAttila Molnar
[2.0] Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.
2014-10-25Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.Peter Powell
This is a modified version of 690c372. Fixes #905.
2014-10-25Merge pull request #940 from SaberUK/insp20+fix-makefileAttila Molnar
[2.0] Fix some small bugs in the makefile template.
2014-10-24Use clang++ on FreeBSD 10 instead of g++.Peter Powell