Revision: 14709 Author: adrian.chadd Date: Mon May 31 21:58:59 2010 Log: Oops - the URL assembly function from urlMakeCanonical() was using the wrong buffer to write the URL in.
This explains the errorpage weirdness with URLs seen in Issue #114 but likely doesn't fix the memory corruption issues. http://code.google.com/p/lusca-cache/source/detail?r=14709 Modified: /branches/LUSCA_HEAD/libsqurl/url.c ======================================= --- /branches/LUSCA_HEAD/libsqurl/url.c Wed May 26 02:10:52 2010 +++ /branches/LUSCA_HEAD/libsqurl/url.c Mon May 31 21:58:59 2010 @@ -127,7 +127,7 @@ urlMakeHttpCanonical2(char *urlbuf, protocol_t protocol, const char *login, const char *host, int port, const char *urlpath, int urlpath_len) { - LOCAL_ARRAY(char, buf, MAX_URL); + char *buf = urlbuf; LOCAL_ARRAY(char, portbuf, 32); LOCAL_ARRAY(char, loginbuf, MAX_LOGIN_SZ + 1); char *t; -- You received this message because you are subscribed to the Google Groups "lusca-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/lusca-commit?hl=en.
