1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00
Files
apache/include
Stefan Fritsch 0d77ab651b make varbuf functions treat AP_VARBUF_UNKNOWN consistently, improve docs
ap_varbuf_pdup(): copying the whole buffer in case strlen ==
AP_VARBUF_UNKNOWN does not make sense as the caller can not set
the exact buffer size, only a minimum. No API change as previously
the behavior with AP_VARBUF_UNKNOWN was undocumented.

regsub_core(): Checking for vb->buf is useless, it cannot be NULL
unless ap_varbuf_init has not been called.

ap_varbuf_cfg_getline(): Initially, allocate enough memory to hold
an empty line. If strlen == AP_VARBUF_UNKNOWN, use strlen(buf) instead
of undefined behavior.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1359884 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:19:03 +00:00
..
2006-07-11 20:33:53 +00:00
2012-02-25 05:28:11 +00:00
2012-02-25 05:30:43 +00:00
2012-02-10 22:45:48 +00:00
2011-11-13 00:20:32 +00:00
2011-11-14 21:39:19 +00:00
2011-11-13 00:20:32 +00:00
2011-11-13 00:20:32 +00:00
2011-11-14 21:39:19 +00:00
2011-11-14 21:39:19 +00:00
2011-11-14 21:39:19 +00:00
2009-07-28 20:37:33 +00:00
2006-07-11 20:33:53 +00:00