On Sun, Jun 09, 2013 at 01:52:17PM -0000, jaillet...@apache.org wrote:
> --- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
> +++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Sun Jun  9 13:52:17 
> 2013
> @@ -1840,7 +1840,7 @@ static void output_directories(struct en
>              ap_rputs(" ", r);
>              if (!(autoindex_opts & SUPPRESS_LAST_MOD)) {
>                  if (ar[x]->lm != -1) {
> -                    char time_str[MAX_STRING_LEN];
> +                    char time_str[32];
>                      apr_time_exp_t ts;
>                      apr_time_exp_lt(&ts, ar[x]->lm);
>                      apr_strftime(time_str, &rv, MAX_STRING_LEN,

                                                   ^^^^^^^^^^^^^^

...you need to change them both.

Reply via email to