Parent Directory
|
Revision Log
|
Patch
revision 8247 by michael, Sun Apr 9 16:08:02 2017 UTC | revision 8248 by michael, Mon May 15 17:19:19 2017 UTC | |
---|---|---|
# | Line 52 ms_encap(struct Client *source_p, int pa | Line 52 ms_encap(struct Client *source_p, int pa |
52 | ||
53 | for (i = 1; i < (unsigned int)parc - 1; ++i) | for (i = 1; i < (unsigned int)parc - 1; ++i) |
54 | { | { |
55 | len = strlen(parv[i]) + 1; | len = strlen(parv[i]) + 1; /* +1 for ':' */ |
56 | ||
57 | /* Drop the whole command if the last parameter would be truncated */ | |
58 | if ((cur_len + len) >= sizeof(buffer)) | if ((cur_len + len) >= sizeof(buffer)) |
59 | return 0; | return 0; |
60 |
|
svnadmin@ircd-hybrid.org | ViewVC Help |
Powered by ViewVC 1.1.28 |