Petr Písa?? wrote:
> If an CGI script is requested vith GET method without any query parameters,
> the QUERY_STRING environment value will be an empty string. The old code
> reported an error in this case by returning NULL from cgiInit(). This
> patch fixes it.
>
> This patch also fixes a memory leak in cgiReadVariables(). The query
> string duplicated into line variable was never deallocated. This is
> fixed now. Actually in any error raised from cgiReadVariables() forgets
> to deallocted line and other variables but since it's an error state for
> short-time living CGI script I did not bother fixing them.
Accepted.
Regards
Joey
-- Let's call it an accidental feature. -- Larry WallReceived on Fri Sep 08 2017 - 21:42:55 CEST
This archive was generated by hypermail 2.2.0 : Fri Sep 08 2017 - 21:46:12 CEST