0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-06 10:38:37 +02:00

m_capab: fix a possible remote crash triggered by the CAPAB parsing code.

This commit is contained in:
William Pitcock 2012-12-31 13:13:05 -06:00
parent d7e4ed772f
commit ac0707aa61

View file

@ -38,7 +38,7 @@ static int me_gcap(struct Client *, struct Client *, int, const char **);
struct Message capab_msgtab = {
"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 = {
"GCAP", 0, 0, 0, MFLG_SLOW,