httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey W. Baker" <jwba...@acm.org>
Subject [PATCH] Fix 1.3.17 crash in util_uri.c, etc.
Date Sun, 11 Feb 2001 07:55:51 GMT
Hello,

The patch I promised on Friday is attached.  I rewrote
ap_unparse_uri_components and changed ap_default_port_for_scheme to avoid
the crash bugs in 1.3.17.  My new version of ap_unparse also fixes bugs in
the previous routine that allowed it to emit bogus URIs.  The new version
is just as branch-happy as the old version, but takes only one trip
through ap_pstrcat and also doesn't allow bogus URIs.

The new code compiles and runs on Linux 2.4.1/glibs 2.2.1 here at home,
passes 80 tests of my own, and passes modules/test/mod_test_util_uri.c.

Let me know if there are any problems.

-jwb

Mime
View raw message