> On Tue, 5 Mar 2013 11:28:55 +0100
> "Roberto De Ioris" <[email protected]> wrote:
>
>>
>> > IP "0.0.0.0" and port "0" looks hardcoded to me:
>> >
>> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
>> >> "0.0.0.0",
>> > 7);
>> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
>> >> "0.0.0.0",
>> > 7);
>> >> plugins/corerouter/corerouter.c:  memcpy(cs->client_address,
>> >> "0.0.0.0",
>> > 7);
>> >
>> > Or I'm reading memcpy wrong.
>> >
>>
>>
>> no you are right, then it must be something else
>
> BTW: Shouldn't we copy NULL termination too (8 instead of 7 bytes) ? -
> just a suggestion as I haven't looked into the code and the real
> problem might lie somewhere else..
>

that memory is already cleared on request's accept(), so it should not be
a problem
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to