From fstinglmayr at gmail.com Mon May 10 19:02:07 2010 From: fstinglmayr at gmail.com (Florian Stinglmayr) Date: Mon, 10 May 2010 19:02:07 +0200 Subject: Odd client identification, with garbage text alongside. Message-ID: Hello, I'm using btpd on a server of mine and I've noticed, in another client - uTorrent - that the btpd identification contains random junk like binary data: btpd/0.15| The corresponding source code line would be btpd.c:120 where it seems the version is copied into that buffer which is then terminated with an | instead of a nul character. I wonder if this behaviour is intentional or a bug? Regards, Florian Stinglmayr From fstinglmayr at gmail.com Mon May 10 19:12:10 2010 From: fstinglmayr at gmail.com (Florian Stinglmayr) Date: Mon, 10 May 2010 19:12:10 +0200 Subject: Odd client identification, with garbage text alongside. In-Reply-To: References: Message-ID: On Mon, May 10, 2010 at 7:02 PM, Florian Stinglmayr wrote: > > btpd/0.15| > I fixed it in my local version now and added the patch to correct this issue, if it really is one. Regards, Florian Stinglmayr -------------- next part -------------- A non-text attachment was scrubbed... Name: btpd.c.patch Type: application/octet-stream Size: 426 bytes Desc: not available Url : http://lists.stargirl.org/pipermail/btpd-users/attachments/20100510/a95a79ba/attachment.obj