mirror of
https://github.com/anope/anope.git
synced 2026-07-02 16:13:12 +02:00
Properly handle FMODEs from InspIRCd with more than 25 arguments.. reported by Angel-SL
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user