emacs-devel
[Top][All Lists]
Advanced

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

Re: master eaf224f: Repad the Face header in Gnus


From: Robert Pluim
Subject: Re: master eaf224f: Repad the Face header in Gnus
Date: Tue, 29 Sep 2020 17:02:35 +0200

>>>>> On Mon, 28 Sep 2020 08:09:18 -0400 (EDT), larsi@gnus.org (Lars 
>>>>> Ingebrigtsen) said:
    Lars> +  (let ((splitstr (split-string str "[\r\n]" t)))
    Lars> +    (when (and reject-newlines (> (length splitstr) 1))
    Lars> +      (error "Invalid Base64 string"))
    Lars> +    (dolist (substr splitstr)
    Lars> +      (when (and line-length (> (length substr) line-length))
    Lars> +     (error "Base64 string exceeds line-length"))
    Lars> +      (when (string-match "[^A-Za-z0-9+/=]" substr)
    Lars> +     (error "Invalid Base64 string")))

This signals an error because at this point 'substr' is a line of the
Face header with a leading space. Any of Lars' messages will trigger it.

Robert



reply via email to

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