diff options
author | Adam <Adam@anope.org> | 2010-07-25 02:37:55 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-07-25 02:37:55 -0400 |
commit | 49064ec67dfe684abb075305ce9433ed801eab68 (patch) | |
tree | 84c3667b8bebd023d80576908ee9b2a26b7e0d31 | |
parent | a9fa7edf82dbcea696654bf1c91cf634e5505ee7 (diff) |
Properly handle FMODEs from InspIRCd with more than 25 arguments.. reported by Angel-SL
-rw-r--r-- | src/protocol/inspircd11.c | 2 | ||||
-rw-r--r-- | src/protocol/inspircd12.c | 2 | ||||
-rw-r--r-- | version.log | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index cd2895f82..799ecb3ac 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -682,7 +682,7 @@ int anope_event_opertype(char *source, int ac, char **av) int anope_event_fmode(char *source, int ac, char **av) { - char *newav[25]; + char *newav[128]; int n, o; Channel *c; diff --git a/src/protocol/inspircd12.c b/src/protocol/inspircd12.c index 03743d2fc..b6a92231a 100644 --- a/src/protocol/inspircd12.c +++ b/src/protocol/inspircd12.c @@ -733,7 +733,7 @@ int anope_event_opertype(char *source, int ac, char **av) int anope_event_fmode(char *source, int ac, char **av) { - char *newav[25]; + char *newav[128]; int n, o; Channel *c; diff --git a/version.log b/version.log index c9db416f3..51d25ca07 100644 --- a/version.log +++ b/version.log @@ -8,9 +8,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="4" VERSION_EXTRA="-git" -VERSION_BUILD="3015" +VERSION_BUILD="3016" # $Log$ # Changes since the 1.8.4 Release +#Revision 3016 - Fixed a potential crash from receiving a very long FMODE from InspIRCd #Revision 3015 - Allow clearing of access lists while in XOP mode #Revision 3014 - Increased command buffer size. Insp 2.0 has a bigger appetite it seems.. #Revision 3012 - Removed enc_encrypt_in_place, it is unnecessary and it can easially be used improperly |