httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: parser-related sigsegv
Date Fri, 22 Apr 2005 01:51:40 GMT
Igor Shevchenko wrote:
> script.pl will die on: "$FORM = $apr->param;"
> 
> Looks like apreq doesn't like params with empty names in a "POST" form. "GET" works.
Hi, given the attached html form and mp2 handler

This patch fixes it for me:
Index: param.c
===================================================================
--- param.c     (revision 164006)
+++ param.c     (working copy)
@@ -36,7 +36,7 @@

      param = apr_palloc(p, nlen + vlen + 1 + sizeof *param);

-    if (param == NULL || nlen == 0)
+    if (param == NULL)
          return NULL;

      param->info = NULL;


HTH

-- 
END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
	http://www.liquidityservicesinc.com

Mime
View raw message