Article View: gnu.emacs.bug
Article #99652Possible security problem -- File variables & `eval'
From: Joseph C. Konczal
Date: Fri, 22 Jun 1990 19:03
Date: Fri, 22 Jun 1990 19:03
25 lines
1544 bytes
1544 bytes
Sorry, I sent out a patch a couple hours ago that is not correct, it produced an error message when I byte compiled it, and it won't work right if your RMAIL file has been changed on disk since the last time emacs has read it. This one compiles correctly, and I tested both changes this time. diff rmail.el.orig rmail.el 106c106,107 < (let* ((file-name (expand-file-name (or file-name-arg rmail-file-name))) --- > (let* ((inhibit-local-variables t) > (file-name (expand-file-name (or file-name-arg rmail-file-name))) 385,388c386,389 < (progn < (find-file (buffer-file-name)) < (if (verify-visited-file-modtime (current-buffer)) < (rmail-forget-messages)))) --- > (let ((inhibit-local-variables t)) > (find-file (buffer-file-name)) > (if (verify-visited-file-modtime (current-buffer)) > (rmail-forget-messages)))) Joe Konczal konczal@mail-gw.ncsl.nist.gov
Technical Details
Message-ID:
<9006221903.AA01499@mail-gw.ncsl.nist.gov>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!MAIL-GW.NCSL.NIST.GOV!konczalShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,3a0d70cd65e07cb9 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-06-22 19:26:22 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!MAIL-GW.NCSL.NIST.GOV!konczal From: konczal@MAIL-GW.NCSL.NIST.GOV (Joseph C. Konczal) Newsgroups: gnu.emacs.bug Subject: Possible security problem -- File variables & `eval' Message-ID: <9006221903.AA01499@mail-gw.ncsl.nist.gov> Date: 22 Jun 90 19:03:52 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 25 Posted: Fri Jun 22 20:03:52 1990