[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25649: 26.0.50; Decryption of mail fails silently if tmp directory i
From: |
Lars Ingebrigtsen |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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
- bug#25649: 26.0.50; Decryption of mail fails silently if tmp directory is full,
Lars Ingebrigtsen <=