[PATCH] httpd: don't drop QUERY_STRING when /cgi-bin/index.cgi is used
Peter Korsgaard
jacmet at sunsite.dk
Fri Dec 16 09:13:39 UTC 2011
>>>>> "Denys" == Denys Vlasenko <vda.linux at googlemail.com> writes:
>> Denys> Let's just use xstrcpy().
>>
>> I don't see any xstrcpy in busybox. Did you perhaps mean xstrdup or
>> strdupa?
Denys> Oops. I meant xstrdup.
But then we would have to take care to not leak memory, which is a bit
complicated because of send_file_and_exit() / send_cgi_and_exit(). What
is the reason you don't like alloca / strdupa?
--
Bye, Peter Korsgaard
More information about the busybox
mailing list