From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yFvFIOm58GMwDwAAbAwnHQ (envelope-from ) for ; Sat, 18 Feb 2023 12:43:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cKXPH+m58GPAWAEAG6o9tA (envelope-from ) for ; Sat, 18 Feb 2023 12:43:37 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A12BCCA7 for ; Sat, 18 Feb 2023 12:43:37 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=K26okpzB; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676720617; a=rsa-sha256; cv=none; b=oVZtmjJr0sl8fuF6mai1/CkU7iKYRmD67CaLfYbSK7Dl5IJ3kfUp2GNws+Cqdqvj97cWXm whIdxCsuHSeGjUh3gR7ZIZxsWz7wVoHEBM1TbLUTrErwACpV30IsLnh8lN1m6A4LGePswp F91Ip65SdoyJdvjn2E+CcvT+OlQ2kKw1JSVLMhS6PLF7H0JuwyfiAUmeGPLT9ERwgC8xf2 deDqLvCv8NYEE9rXqeTDQeQzI1t4WkJWXUMik9GbiuQ1M7AWAo/JNQMxIyssoO66N/9qO5 KZsUuwCEZzwnYyaOUBfFF4Qga8HeCT9eoebDb3Iu4ju4vbFZQTOtmSHn3uOM+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=K26okpzB; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676720617; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=TDpi4tqA6/OejeADjGXuz1980/5vUs2i6aSe3H5pteI=; b=nR4nXQbK37ZrtE88wtP/0BYdWgqylKr4loneLDnrQ+i3nTLDKXZxMi9Ni1A/UaFv6YuNQM Y68r/pTi/KjIWtTnlkSfG3lsT8zlIKQ81Uayc0XWO+DOObvRb9LvbD6knLaHTMqBoGafj+ 8qdwPZS/RBllOnFaXQPo0FcQhXUEPyz3HWYiAjwHf3FHINi7OfZO1le+kMv/jq60L6WKfd c5/N0ezMfBzkOaodKF4yeMVMTr7jBgR6/6dBGn7XVdvHn4GNMwtrqpjeNBfWxdM1J7+0Ee GzJ+8NPzxvl/cAGzWEOn2nem5oarG8ApXykMtbKYRE8SO1HZVIT+CF9gQsv4CA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTLcD-0002Nk-2s; Sat, 18 Feb 2023 06:42:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTLcA-0002NK-VD for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 06:42:51 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTLc7-0001Vc-BQ for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 06:42:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id CEA89240344 for ; Sat, 18 Feb 2023 12:42:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676720565; bh=JJAuWc7lKZRSnlWO7gxqOovuGi+UCDFvrcvaZKIUh6g=; h=From:To:Cc:Subject:Date:From; b=K26okpzBerpPBxU67Vn15j0L7G6+heOi5hwl53fv55uQDg3FfanercieA+AELIrpS me6tCEcoZtV7MkUT0bqX+338hDhNeklhjjni+gRUN9N+Xbxh5EJdawGWpHt/WNtmMz +0aq4eVDhLnsCE+Q/MlGYkJG0dXBqCn51x2RivDwLvSytVtQPjlpY4Dot0Opev3TtP u4IiAo2rJ9ruCxda1gA7S3naenQxMxTschBQD+Z6l2Uo30Rwct7KCNYYzC60sdBXC8 tjIzpVHduu8xtKp5/3Ztq/xFOGR8wFGR+sc8U2X46aqJndfhXiuD/mIhTZilMTjAYv WXs1og4FZfXbg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJmyC1YDCz9rxH; Sat, 18 Feb 2023 12:42:43 +0100 (CET) From: Ihor Radchenko To: lux Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [PATCH] Fix ob-latex.el command injection vulnerability. In-Reply-To: References: Date: Sat, 18 Feb 2023 11:43:14 +0000 Message-ID: <87v8jzjj1p.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 4A12BCCA7 X-Spam-Score: -4.61 X-Migadu-Spam-Score: -4.61 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: o1Kiu0Thki5H lux writes: > - (shell-command (format "mv %s %s" img-out out-file))))) > + (rename-file img-out out-file)))) I think should be (rename-file img-out out-file t) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at