-
Bug
-
Resolution: Done
-
Major
-
None
-
None
if (mconf->maxmesssize) maxbufsiz = mconf->maxmesssize; else { /* we calculate it */ maxbufsiz = 9 + JVMROUTESZ; maxbufsiz = bufsiz + (mconf->maxhost * HOSTALIASZ) + 7; maxbufsiz = bufsiz + (mconf->maxcontext * CONTEXTSZ) + 8; } if (maxbufsiz< MAXMESSSIZE) maxbufsiz = MAXMESSSIZE; buff = apr_pcalloc(r->pool, maxbufsiz);
It looks like maxbufsize will never include the 9+JVMROUTESZ since it overwritten with new value in following line. Is this a problem?