From: Lars Ingebrigtsen <larsi@gnus.org>
To: Marco Wahl <marcowahlsoft@gmail.com>
Cc: 25649@debbugs.gnu.org
Subject: bug#25649: 26.0.50; Decryption of mail fails silently if tmp directory is full
Date: Mon, 23 Sep 2019 18:04:25 +0200 [thread overview]
Message-ID: <87v9tj2e46.fsf@gnus.org> (raw)
In-Reply-To: <84zihxhkom.fsf@tm6592> (Marco Wahl's message of "Tue, 07 Feb 2017 20:20:41 +0100")
Marco Wahl <marcowahlsoft@gmail.com> writes:
> Precondition:
>
> - Have temp directory 100% full.
>
> - Have an encrypted (for you) email.
>
> Action:
>
> - Trigger the decrypt of that email in gnus.
>
> Effect:
>
> - The mailtext is omitted. It looks like the email has no content.
>
> Wish:
>
> - Error indication.
Indeed.
I'm looking at this code, and there seems to be a bunch of error
reporting in place. For instance:
(defun mm-possibly-verify-or-decrypt (parts ctl &optional from)
(let ((type (car ctl))
(subtype (cadr (split-string (car ctl) "/")))
(mm-security-handle ctl) ;; (car CTL) is the type.
[...]
(if func
(setq parts (funcall func parts ctl))
(mm-set-handle-multipart-parameter
mm-security-handle 'gnus-details
(format "Unknown sign protocol (%s)" protocol))))))
[...]
parts))
And mm-security-handle indeed has a file-related error message after
this. But it's just discarded? I mean, it's bound locally and then not
returned, so I think there's a thinko here somewhere...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-09-23 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 19:20 bug#25649: 26.0.50; Decryption of mail fails silently if tmp directory is full Marco Wahl
2019-09-23 16:04 ` Lars Ingebrigtsen [this message]
2019-09-23 16:24 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9tj2e46.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=25649@debbugs.gnu.org \
--cc=marcowahlsoft@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).