m_capab: fix a possible remote crash triggered by the CAPAB parsing code.
This commit is contained in:
parent
d7e4ed772f
commit
ac0707aa61
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ static int me_gcap(struct Client *, struct Client *, int, const char **);
|
||||||
|
|
||||||
struct Message capab_msgtab = {
|
struct Message capab_msgtab = {
|
||||||
"CAPAB", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
|
"CAPAB", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
|
||||||
{{mr_capab, 0}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
|
{{mr_capab, 2}, mg_ignore, mg_ignore, mg_ignore, mg_ignore, mg_ignore}
|
||||||
};
|
};
|
||||||
struct Message gcap_msgtab = {
|
struct Message gcap_msgtab = {
|
||||||
"GCAP", 0, 0, 0, MFLG_SLOW,
|
"GCAP", 0, 0, 0, MFLG_SLOW,
|
||||||
|
|
Loading…
Reference in a new issue