httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: svn commit: r1188950 - in /httpd/httpd/trunk: CHANGES include/ap_mmn.h include/httpd.h include/util_varbuf.h modules/filters/mod_substitute.c server/util.c
Date Wed, 26 Oct 2011 15:55:27 GMT

On Oct 25, 2011, at 6:29 PM, sf@apache.org wrote:
> 
> +    if (len > maxlen && maxlen > 0)
> +        return APR_ENOMEM;
> +
>     if (!vb) {
> -        dest = dst = apr_pcalloc(p, len + 1);
> +        *result = dst = apr_pcalloc(p, len + 1);

if len == maxlen and == APR_SIZE_MAX then doesn't
the len+1 blow us up?


Mime
View raw message