Your message dated Thu, 02 Oct 2014 23:52:19 +0200
with message-id <542dc913.2030...@unex.es>
has caused the report #763820,
regarding gettext: msgunfmt aborts on incomplete UTF-8 character
to be marked as having been forwarded to the upstream software
author(s) bug-gnu-gett...@gnu.org
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
763820: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763820
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Hello.
I received this from the Debian bug system:
-------- Mensaje reenviado --------
Subject: Bug#763820: gettext: msgunfmt aborts on incomplete UTF-8 character
Date: Thu, 2 Oct 2014 23:31:33 +0200
From: Jakub Wilk <jw...@debian.org>
Package: gettext
Version: 0.19.2-2
Severity: minor
Usertags: afl
msgunfmt aborts when trying to print some strings containing incomplete
UTF-8 characters:
$ msgfmt invalid-utf8.po -o invalid-utf8.mo
$ msgunfmt invalid-utf8.mo
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
msgid "x"
Aborted
Backtrace:
#0 0xf7bb6ddc in raise () from /lib/i386-linux-gnu/libc.so.6
#1 0xf7bb8463 in abort () from /lib/i386-linux-gnu/libc.so.6
#2 0xf7f6529b in wrap (mp=0x0, mp@entry=0x80533c8, stream=0x6,
stream@entry=0x80531b0, line_prefix=0x0, extra_indent=0,
css_class=0xf7fbede2 <class_msgstr> "msgstr", name=0xf7fbd425 "msgstr",
value=0x80532d4 "\333", do_wrap=undecided, page_width=79,
charset=0xffffd608 "UTF-8") at write-po.c:805
#3 0xf7f6b3ba in message_print (debug=false, blank_line=<optimized
out>, page_width=79, charset=0xffffd608 "UTF-8", stream=0x80531b0,
mp=0x80533c8) at write-po.c:1356
#4 msgdomain_list_print_po (mdlp=0x80530f0, stream=0x80531b0,
page_width=79, debug=false) at write-po.c:1579
#5 0xf7f60ca5 in msgdomain_list_print (mdlp=0x80530f0,
filename=0xf7fbea0f "standard output", output_syntax=0x8052304
<output_format_po>, force=false, debug=false) at write-catalog.c:246
#6 0x08049ebc in main (argc=2, argv=0xffffd7e4) at msgunfmt.c:411
I would expect that the incomplete character is ignored (with the usual
"invalid multibyte sequence" warning); or at least that a reason for
aborting is given.
This bug was brought to you by american-fuzzy-lop:
https://code.google.com/p/american-fuzzy-lop
[...]
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
msgid "x"
msgstr "\333"
--- End Message ---