projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e586b
)
Protect against (NIL ...) bodystructures (bug#9314).
author
Lars Magne Ingebrigtsen
<larsi@tmp-office.(none)>
Fri, 19 Aug 2011 14:36:33 +0000
(16:36 +0200)
committer
Lars Magne Ingebrigtsen
<larsi@tmp-office.(none)>
Fri, 19 Aug 2011 14:37:54 +0000
(16:37 +0200)
lisp/nnimap.el
patch
|
blob
|
history
diff --git
a/lisp/nnimap.el
b/lisp/nnimap.el
index
c940e06
..
2dbc465
100644
(file)
--- a/
lisp/nnimap.el
+++ b/
lisp/nnimap.el
@@
-216,9
+216,10
@@
textual parts.")
(let ((structure (ignore-errors
(read (current-buffer)))))
(while (and (consp structure)
- (not (
stringp
(car structure))))
+ (not (
atom
(car structure))))
(setq structure (car structure)))
(setq lines (if (and
+ (stringp (car structure))
(equal (upcase (nth 0 structure)) "MESSAGE")
(equal (upcase (nth 1 structure)) "RFC822"))
(nth 9 structure)