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

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

bug#49001: 28.0.50; MML grinds on empty url tags


From: Lars Ingebrigtsen
Subject: bug#49001: 28.0.50; MML grinds on empty url tags
Date: Sun, 13 Jun 2021 14:42:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

dick <dick.r.chiang@gmail.com> writes:

> # Some new spyware images at github bog MML parsing
> src/emacs -Q --batch -l ./mml.el

[...]

> Proposed patch:
>
>>From adf34a8954b0aa86b1769b2b1fd0e117f9c38afb Mon Sep 17 00:00:00 2001
> From: dickmao <none>
> Date: Sun, 13 Jun 2021 08:20:29 -0400
> Subject: [PATCH] Some kind of spyware is bogging my gnus
>
> * lisp/gnus/mml.el (mml-expand-html-into-multipart-related):
> Avoid parsing null or empty string url tags.

Your test case doesn't seem to call
`mml-expand-html-into-multipart-related' -- did you send the wrong test
or the wrong patch or a missing explanation?

>           (when (and (null (url-type parsed))
> -                    (url-filename parsed)
> +                       (not (zerop (length (url-filename parsed))))

But I think this looks like the right thing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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