emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#16344: closed (24.3; xml-parse-region stuck on spe


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#16344: closed (24.3; xml-parse-region stuck on specific input, uses lots of memory)
Date: Wed, 02 Mar 2016 18:12:02 +0000

Your message dated Wed, 02 Mar 2016 19:11:03 +0100
with message-id <address@hidden>
and subject line Re: bug#16344: 24.3; xml-parse-region stuck on specific input, 
uses lots of memory
has caused the debbugs.gnu.org bug report #16344,
regarding 24.3; xml-parse-region stuck on specific input, uses lots of memory
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
16344: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16344
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; xml-parse-region stuck on specific input, uses lots of memory Date: Sat, 04 Jan 2014 18:39:30 -0500 User-agent: Notmuch/0.16+156~gdb5189a (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)
The function `xml-parse-region' is never returning from parsing this
specific input. It's saturing a CPU core while using huge quantities of
memory. Fortunately it can be aborted with C-g.

    (with-temp-buffer
      (insert "<!----><x>< /x>")
      (xml-parse-region))

The trigger is a comment followed by at least one opening tag followed
by a stray less-than character. This is not valid XML due to that extra
space in the closing tag, but I'm expecting `xml-parse-region' to signal
an error in the case of invalid input rather than lock up Emacs.

Just for the sake of context, this issue was initially discovered here:

https://github.com/skeeto/elfeed/issues/17



--- End Message ---
--- Begin Message --- Subject: Re: bug#16344: 24.3; xml-parse-region stuck on specific input, uses lots of memory Date: Wed, 02 Mar 2016 19:11:03 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)
Fixed in branch emacs-25.

xml-parser will throw an error now.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]