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

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 13 Jun 2021 14:42:10 +0200

dick <[email-masked]> 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