]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/ChangeLog
Fix EDE security flaw involving loading arbitrary Lisp from Project.ede.
[gnu-emacs] / lisp / cedet / ChangeLog
index d8a4209cc98310d68777505f93e6d8e2b6687ac8..dc43253fcd7d08123fd591005fb9ab1af85a03ef 100644 (file)
@@ -1,3 +1,20 @@
+2012-01-09  Eric Ludlam  <zappo@gnu.org>
+
+       * ede.el (ede-project-directories): New option.
+       (ede-directory-safe-p): Check it.
+       (ede-initialize-state-current-buffer, ede, ede-new)
+       (ede-check-project-directory, ede-rescan-toplevel)
+       (ede-load-project-file, ede-parent-project, ede-current-project):
+       (ede-target-parent): Avoid loading in a project unless it is safe,
+       since it may involve malicious code.  This security flaw was
+       pointed out by Hiroshi Oota.
+
+       * ede/auto.el (ede-project-autoload): Add safe-p slot.
+       (ede-project-class-files): Projects using Project.ede are unsafe.
+       (ede-auto-load-project): New method.
+
+       * ede/simple.el (ede-project-class-files): Mark as unsafe.
+
 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
 
        * ede/pconf.el (ede-proj-tweak-autoconf, ede-proj-flush-autoconf):