ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_sjoin.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/core/m_sjoin.c (file contents):
Revision 3246 by michael, Sun Mar 30 17:37:13 2014 UTC vs.
Revision 3334 by michael, Wed Apr 16 16:42:54 2014 UTC

# Line 230 | Line 230 | ms_sjoin(struct Client *source_p, int pa
230      if (oldmode->limit > mode.limit)
231        mode.limit = oldmode->limit;
232      if (strcmp(mode.key, oldmode->key) < 0)
233 <      strcpy(mode.key, oldmode->key);
233 >      strlcpy(mode.key, oldmode->key, sizeof(mode.key));
234    }
235  
236    set_final_mode(&mode, oldmode);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines