GNU bug report logs -
#49001
28.0.50; MML grinds on empty url tags
Previous Next
Reported by: dick <dick.r.chiang <at> gmail.com>
Date: Sun, 13 Jun 2021 12:28:02 UTC
Severity: normal
Tags: patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 49001 <at> debbugs.gnu.org (full text, mbox):
dick <dick.r.chiang <at> 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
This bug report was last modified 3 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.