File CVE-2014-3423.patch of Package emacs.3898
Based on revno: 117068
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-05-05 20:55:54 -0700
message:
browse-url.el comment
modified:
lisp/net/browse-url.el
browseurl.el-20091113204419-o5vbwnq5f7feedwu-1785
--- lisp/net/browse-url.el
+++ lisp/net/browse-url.el 2014-05-08 11:54:48.194721113 +0000
@@ -1335,6 +1335,9 @@ used instead of `browse-url-new-window-f
(kill-buffer nil)))
(if (and pid (zerop (signal-process pid 0))) ; Mosaic running
(save-excursion
+ ;; This is a predictable temp-file name, which is bad,
+ ;; but it is what Mosaic uses/used.
+ ;; So it's not Emacs's problem. http://bugs.debian.org/747100
(find-file (format "/tmp/Mosaic.%d" pid))
(erase-buffer)
(insert (if (browse-url-maybe-new-window new-window)