From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 aEN9O9SK8WOOsgAAbAwnHQ (envelope-from ) for ; Sun, 19 Feb 2023 03:35:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gKmVO9SK8WMPWwAAauVa8A (envelope-from ) for ; Sun, 19 Feb 2023 03:35:00 +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 01A55376CF for ; Sun, 19 Feb 2023 03:34:59 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=ZJgUiOOE; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676774100; a=rsa-sha256; cv=none; b=qr3VVn7IQRmFlWDmNT7ETJv15GPAS60YdpuQ4akdae3kJCrXsNHI0qKEPEBDjXd077L1N3 /wcSiTaqbnJ6EE7TBSJwaeJ0+BmPLvS6Kcmn86jvu+kK0ElU94odVQCITtyGbMZCJuju7A GW1lIapl0CYjbp+jhdEFwl0r1miHRiVO+5QhwW9h4dUJ7pnVBCKNAk7XEN+OkLtrvSsDU2 MkP2Jldsh1WCy3I79AWb/Giw7EvHHwSgJoBsnIUxl4794CNL1r4sW3gQyrhRS80VVmW2nW pMezTw9aQ38pCKD2QZMlAZG5l/q46SxlUR2w017fkKv8fAg5ewX1/G73sxogXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=qq.com header.s=s201512 header.b=ZJgUiOOE; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676774100; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=52f5XRBw36zPbKKWrYHD+44ZGAhReiVf4zOWJbX+S3s=; b=Fwp3YlWjshqdKlnMovxUXi91UZWoQM+0gqs3g+42aWkmin+klb2dnGeBz2xqtcQSlOPLQa Mf8aAD5BHgAjA0OWRxxV3bAFDURA2477wRVvjgnZUISCQ7qtIUD0m7iYGKCbUF9+F5TTGk e23xlt9yiHP7xNhkQzpFT7qjze7RD99yVIoGy7VMkWRW8sDZ7KYArJmqdxTCEym1vKZ/ze H8hq4Zj7u2ww9cMIM1gCYHUHUh18L4ijbwFBWDhNyanK6aUmOyS4cs1MsKSUHpiZ55IjEa MEkPA7KW64+1eFJkBTJJIHoD23lKQXSItayvIT/PjOgQrVr54C4esXKW+5Nncw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTZWh-0002wH-3s; Sat, 18 Feb 2023 21:34:07 -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 1pTZWf-0002vu-J3 for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 21:34:05 -0500 Received: from out203-205-221-236.mail.qq.com ([203.205.221.236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTZWa-0001nl-V1 for emacs-orgmode@gnu.org; Sat, 18 Feb 2023 21:34:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1676774033; bh=52f5XRBw36zPbKKWrYHD+44ZGAhReiVf4zOWJbX+S3s=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ZJgUiOOEt3Zc2GlNUNe+P5A5llAavPLZnLMaP4FC5I/v/2tMV3BFpQP9kUSyPelSW 3Uore+w9a4PvsaEZXDGrdm5XZYqU4ZsmUnSsQmUwESVulXVNmPsXJS6w7gGW24FtSw noJvyKQ1qukfgosaDzANcod0gCv2NQVaMaegQwp4= Received: from [IPv6:240e:399:e6f:ee32:f815:4044:ba50:97f9] ([240e:399:e6f:ee32:f815:4044:ba50:97f9]) by newxmesmtplogicsvrszb6-0.qq.com (NewEsmtp) with SMTP id 7E998CDE; Sun, 19 Feb 2023 10:31:41 +0800 X-QQ-mid: xmsmtpt1676773901t3y5aom3n Message-ID: X-QQ-XMAILINFO: MmPNY57tR1XnpA8U/CyFiGmlTuIoLo6RAtV81gvg9ggchOeCBDrqAACDsp0Ef1 elFswVuKakcXV7whwFjKNiDMpabaCr4pwtXJFHyHhribqJ5cqqC4t2QBeLDD2bMQTvLFBPh/pY/C 6a7rsn8mL4brBS4GlAM7w46vYRpkrSlKvYYuJu935/EbNTO6ziju/+LY1+tMw/jWeudHkQvu5RXC Hh9/EcjeEcbQlkq9hFp2GrcLjIHm/WexU4wVTiypkqV+2jsfoAXM553uB5YAKpJz8hYvktJJFp1N Np6ecWuty4gh8nUicqLIQxDBEeqrFIGV0QEEEMFeIL5DE89Vxl/3PlRGFCXoMHf6MhJlGqRCc6u7 H2LEYXgDTdFgtbCgUXJgTgDNmbtL4iX31cjB17Kn06uo0mLd4z3M+8nYIaMn8FLTV9p+zFT4DDpz 9BTbS0scOjlRNnhyfe8+MiwQ4vu6Oiqcz13LzTFOX/AcYHy9y/OD8Yf1oVRg7VFWqujpr9/OOaHY BGIG0IaJc4I/sMJj4T59/lWzq5UFILtomzk1EOtZUGKg/5cSAe62NdJaPgxEXKUGf3x2FEtnOYTX S/mtDcBMd7r2oGzeXMsIXaYyltTHbJ0yQpcN5k68xrc4Y5W0Z2nXRRC7D/ON/Eh7owRskLTLRPhh l0WCny1Xt3rsd1sy5hysFvZXgUmHIJUMWa8BvXGATVrM+LElSXT/23ETD0mdHiPC+izysORn2fDE sERRLIyPOMV9fej+lL3UKnZfAuCUxpS96TKBz+k294s/5M74765qg7qagkxUTnl/hlvn2hhR6hXx zsKbXlV//r2gvvkBQur4Mr+4ODz0QU3ZQutMcipzVW402XONf+jO6iIbiWKNnlsX31BQJ1TlUQd/ BtiafuoZEUGyLiFPuCkvioR9zxinYrqL7r94g1T8W/yc2lbBe2qBozDcwm2Z/8UcQWUajtixGg1q FU2p+FG0k= X-OQ-MSGID: Subject: Re: [PATCH] Fix ob-latex.el command injection vulnerability. From: lux To: Ihor Radchenko Cc: Max Nikulin , emacs-orgmode@gnu.org Date: Sun, 19 Feb 2023 10:31:41 +0800 In-Reply-To: <87v8jzjj1p.fsf@localhost> References: <87v8jzjj1p.fsf@localhost> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 Received-SPF: none client-ip=203.205.221.236; envelope-from=lx@shellcodes.org; helo=out203-205-221-236.mail.qq.com X-Spam_score_int: 44 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, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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: 01A55376CF X-Spam-Score: -10.40 X-Migadu-Spam-Score: -10.40 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: mi1pFjPi2bEQ On Sat, 2023-02-18 at 11:43 +0000, Ihor Radchenko wrote: > lux writes: >=20 > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (shell-command (format "mv %s %s" img-out out- > > file))))) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (rename-file img-out out-file)))) >=20 > I think should be (rename-file img-out out-file t) >=20 Yes, my pachted changed it, thank you.