[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaSocket: No way to protect against fuzzing attacks?
- From: Sam Roberts <vieuxtech@...>
- Date: Wed, 12 Oct 2011 09:16:01 -0700
On Tue, Oct 11, 2011 at 10:36 PM, HyperHacker <email@example.com> wrote:
> I can't seem to reproduce the missing-last-bytes issue except in my
> server, which is rather large and complex for a testcase and is using
> threading and the acceptfd patch. (I did test acceptfd in a smaller
> script as well.) Who knows why that's happening.
What's the acceptfd patch?
Instrument the code with some cutting edge technology, printf, in the
buffer sections to allow you to see what's happening, if you want to
track this down. Make sure your threads aren't eating each other's
data, and its not the CR/LFs that you are missing.