# HG changeset patch # User Chris Porter # Date 1206322412 0 # Node ID 2da2b881d9f5f4226c0beec0c753a07e3672050a # Parent ee21279cce9be90cfbfcc5c502a00d4c0aaa9ad0 Apply remote crash exploit fix to public repo. --- a/ircd/s_user.c Sat Mar 08 02:20:20 2008 +0000 +++ b/ircd/s_user.c Mon Mar 24 01:33:32 2008 +0000 @@ -1429,7 +1429,7 @@ ClearParanoid(sptr); break; case 'r': - if (what == MODE_ADD) { + if ((what == MODE_ADD) && *(p + 1)) { account = *(++p); SetAccount(sptr); }