aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-12-11 03:30:24 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-12-11 03:30:24 +0800
commit4996c3207568837e3d56fab16fb29719d3542d85 (patch)
tree5256742bb988b1800baf43d128ebb0c978f1b211
parent68f8ea5429fed536060ccfe0ccba459b5bce709c (diff)
downloadgsoc2013-evolution-4996c3207568837e3d56fab16fb29719d3542d85.tar.gz
gsoc2013-evolution-4996c3207568837e3d56fab16fb29719d3542d85.tar.zst
gsoc2013-evolution-4996c3207568837e3d56fab16fb29719d3542d85.zip
Only execute an executable sig file if a magic environment variable is
2001-12-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (get_file_content): Only execute an executable sig file if a magic environment variable is set. svn path=/trunk/; revision=14962
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 548c2f98dd..b32350552b 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-10 Jon Trowbridge <trow@ximian.com>
+
+ * e-msg-composer.c (get_file_content): Only execute an executable
+ sig file if a magic environment variable is set.
+
2001-12-06 Jon Trowbridge <trow@ximian.com>
* e-msg-composer.c (executed_file_output): Added. Executes the
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index b52295314c..d9df329775 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -727,7 +727,8 @@ get_file_content (const char *file_name, gboolean convert, guint flags)
if (stat (file_name, &statbuf) == -1)
return g_strdup ("");
- if (statbuf.st_mode & S_IXUSR) {
+ if ((statbuf.st_mode & S_IXUSR)
+ && getenv ("EVOLUTION_PLEASE_EXECUTE_MY_SIGNATURE_FILE")) {
raw = executed_file_output (file_name);
if (raw == NULL) {
lass='column1'>| | | o Update o Sync with -devel port o Remove expr(1) patch, applied upstream PR: ports/150967 Submitted by: Anonymous <swell.k -at- gmail.com> * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-1/+2 | | | | | Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs * Fix duplicate patch for gettext.philip2010-08-262-40/+0 | | | | | Submitted by: Anonymous <swell.k@gmail.com> Pointy hat to: philip * Reduce diff with ports/149899.philip2010-08-262-0/+21 | | | | | PR: ports/149485 Submitted by: Anonymous <swell.k@gmail.com> * Update to 1.8.4philip2010-08-266-25/+53 | | | | | | | | | | | | - drop desktopfileutils dependency[1] but update database when it's installed - specific directory for desktopfileutils - allow overriding PKG_CONFIG from environ or make.conf - sort pixmaps in plist (cosmetic) [1] it's not mandatory PR: ports/149485 Submitted by: Anonymous <swell.k@gmail.com> * Remove NLS option, plug gettext no-op for WITHOUT_NLS.philip2010-08-263-5/+40 | | | | | PR: ports/148880 Submitted by: Anonymous <swell.k@gmail.com> * - Update graphics/sdl_ttf to version 2.0.10mva2010-08-111-0/+1 | | | | | - Bump portrevisions for all ports depending on graphics/sdl_ttf - Update Mk/bsd.sdl.mk for the new shared library version. * - Update to 1.8.3pav2010-07-2010-8814/+385 | | | | | | PR: ports/147335 Submitted by: Paul Shepel <tacid@tacid.kiev.ua> Approved by: maintainer timeout (philip; 14 days) * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 | * - fix build for png-1.4.1dinoex2010-03-301-0/+6 | | | | PR: 145197 * - update to 1.4.1dinoex2010-03-281-1/+1 | | | | | Reviewed by: exp8 run on pointyhat Supported by: miwi * - update to jpeg-8dinoex2010-02-051-1/+1 | * - Update devel/sdl12 to version 1.2.14.mva2010-01-301-0/+1 | | | | | | | | | | | | - Update audio/sdl_mixer to version 1.2.11. - Update graphics/sdl_gfx to version 2.0.20. - Update graphics/sdl_image to version 1.2.10. - Bump portrevisions for all ports depending on audio/sdl_mixer and graphics/sdl_image. - Update Mk/bsd.sdl.mk accordingly for the new shared lib versions. PR: ports/142147 ports/142248 ports/142249 Approved by: miwi (mentor implicit) * - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with srcmiwi2009-12-291-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | PR: ports/136065 ports/127469 Submitted by: N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com> - Early identify port CONFLICTS PR: 137855 Submitted by: Piotr Smyrak <smyru@heron.pl> - Add --no-same-permissions to the EXTRACT_AFTER_ARGS command. Tijl Coosemans has been reported an issue that when root is extracting from the tarball, and the tarball contains world writable files (sysutils/policykit as an example), there is a chance that the files gets changed by malicious third parties right after the extraction, which makes it possible to inject code into the package thus compromise the system. Submitted by: Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@) - Fix some whitespaces Tested with: exp-run * Work around build breakage when compiling with strict error checking.philip2009-10-011-0/+5 | | | | | PR: ports/138971 Submitted by: Ondřej Majerech <oxyd.oxyd@gmail.com>, Anonymous <swell.k@gmail.com> * Update to 1.6.5.philip2009-09-153-22/+40 | | | | | | | | http://svn.gna.org/viewcvs/wesnoth/tags/1.6.5/changelog?rev=38453&view=download PR: ports/138711 Submitted by: Anonymous <swell.k@gmail.com> Feature safe: yes * Fix CONFLICTS.philip2009-09-021-1/+1 | | | | | PR: ports/138479 Submitted by: amdmi3 * Fix fribidi2 detection and use using pkg-config.philip2009-09-028-37/+148 | | | | | | | | | | | | | | - use autotools - copy fixes from wesnoth 1.7.3 (actually r36767 and r37394) for files configure.ac src/Makefile.am src/font.cpp - adapt existing patches for automake run: patch-Makefile.in -> patch-Makefile.am patch-src-Makefile.in -> patch-src-Makefile.am PR: ports/138105 Submitted by: Anonymous <swell.k@gmail.com> * Fix the build with the new fribidi.marcus2009-08-251-0/+14 | | | | Reported by: cperciva * Chase the fribidi shared lib bump.marcus2009-08-231-1/+2 | * - Switch SourceForge ports to the new File Release System: categories ↵amdmi32009-08-221-2/+2 | | | | starting with G * - Update to 1.6.2miwi2009-08-153-9/+9 | | | | | | PR: 136668 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer timeout * - bump all port that indirectly depends on libjpeg and have not yet been ↵dinoex2009-07-311-0/+1 | | | | | | bumped or updated Requested by: edwin * - Update boost to 1.39pav2009-07-281-1/+1 | | | | | | | - Split boost port to separate components, with boost-all metaport PR: ports/137054 Submitted by: Alexander Churanov <churanov.port.maintainer@gmail.com> (maintainer) * Update to 1.6.2.philip2009-05-184-17/+12 | | | | | | | http://svn.gna.org/viewcvs/wesnoth/tags/1.6.2/changelog?rev=35560&view=download PR: ports/134543 Submitted by: "Anonymous" <swell.k -at- gmail.com>