[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21641: 25.0.50; Emacs crash on network connection?
From: |
Eli Zaretskii |
Subject: |
bug#21641: 25.0.50; Emacs crash on network connection? |
Date: |
Wed, 07 Oct 2015 20:30:13 +0300 |
> From: Glenn Morris <rgm@gnu.org>
> Cc: larsi@gnus.org, 21641@debbugs.gnu.org
> Date: Wed, 07 Oct 2015 13:22:32 -0400
>
> Eli Zaretskii wrote:
>
> > Can you show the details of the error message?
>
> #1 0x00000000005da170 in styled_format (nargs=2, args=0x7ffffffd9800,
> message=true) at editfns.c:4060
> minus_flag = false
> space_flag = false
> conversion = 115 's'
> num_end = 0x6cca19 "s')"
> raw_field_width = 0
> precision_given = false
> plus_flag = false
> sharp_flag = false
> zero_flag = false
> field_width = 0
> precision = 18446744073709551615
> n0 = 0
> format0 = 0x6cca18 "%s')"
> convbytes = 1
> convsrc = 0x6cca18 "%s')"
> format_char = 37 '%'
> used = 0
> n = 1
> initial_buffer = "Invalid image size (see
>
> ‘\000\000\000\000\000\365\350\037\001\000\000\000\000\002\000\000\000\016\000\000\000\245\330z\001",
> '\000' <repeats 12 times>
Ouch! Does the below help?
diff --git a/src/image.c b/src/image.c
index b586c53..6add400 100644
--- a/src/image.c
+++ b/src/image.c
@@ -647,7 +647,8 @@ image_error (const char *format, ...)
static void
image_size_error (void)
{
- image_error ("Invalid image size (see `%s')", "max-image-size");
+ image_error ("Invalid image size (see `%s')",
+ build_string ("max-image-size"));
}