Discussion:
[LIBREPORT PATCH] Increase text size limit from 1Mb to 8 MB. rhbz#887570.
Denys Vlasenko
2013-08-29 12:33:01 UTC
Permalink
Signed-off-by: Denys Vlasenko <dvlasenk-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
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
--
1.8.1.4
Jiri Moskovcak
2013-08-29 15:23:46 UTC
Permalink
- pushed, thx
Post by Denys Vlasenko
---
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
Loading...