[LIBREPORT PATCH] Increase text size limit from 1Mb to 8 MB. rhbz#887570.

Jiri Moskovcak jmoskovc at redhat.com
Thu Aug 29 15:23:46 UTC 2013


- pushed, thx

On 08/29/2013 02:33 PM, Denys Vlasenko wrote:
> Signed-off-by: Denys Vlasenko <dvlasenk at redhat.com>
> ---
>   src/include/internal_libreport.h | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h
> index da4e982..ae46ad4 100644
> --- a/src/include/internal_libreport.h
> +++ b/src/include/internal_libreport.h
> @@ -749,8 +749,10 @@ struct dump_dir *open_directory_for_writing(
>   // Bumped up to 500k: saw 375252 byte anaconda traceback file
>   // Bumped up to 1M: bugzilla.redhat.com/show_bug.cgi?id=746727
>   // mentions 853646 byte anaconda-tb-* file.
> +// Bumped up to 8M: bugzilla.redhat.com/show_bug.cgi?id=887570
> +// (anaconda-tb file of 1.38 MBytes)
>   //
> -#define CD_MAX_TEXT_SIZE (1024*1024)
> +#define CD_MAX_TEXT_SIZE (8*1024*1024)
>
>   // Text bigger than this usually is attached, not added inline
>   // was 2k, 20kb is too much, let's try 4kb
>



More information about the Crash-catcher mailing list