diff options
| author | Alexander Barton <alex@barton.de> | 2016-01-07 01:54:11 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2016-01-07 01:54:11 +0100 |
| commit | 7dba1a0766b35d01cd8892753d1e0dd578ca2cd9 (patch) | |
| tree | 441f1cf5edec25aad623117d8924e54e48447012 /doc | |
| parent | 055d6e80561cc56fd2218c7698b3063931c8c17e (diff) | |
| download | ngircd-7dba1a0766b35d01cd8892753d1e0dd578ca2cd9.tar.gz ngircd-7dba1a0766b35d01cd8892753d1e0dd578ca2cd9.zip | |
Send_Message: Fix handling of "empty" targets
Clients can specify multiple targets for the "PRIVMSG", "NOTICE", and
"SQUERY" commands, separated by commas (e. g. "PRIVMSG a,#b,c :text").
Since commit 49ab79d0 ("Limit the number of message targes, and suppress
duplicates"), ngIRCd crashed when the client sent the separator character
only as target(s), e. g. "," or ",,,," etc.!
This patch fixes the bug and adds a test case for this issue.
Thanks to Florian Westphal <fw@strlen.de> for spotting the issue!
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions