From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from integral2.. (unknown [125.163.245.210]) by gnuweeb.org (Postfix) with ESMTPSA id 918797E53F; Fri, 27 May 2022 00:14:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1653610477; bh=N8CR4KAXmiHvh8gHdzD+MjkTu1K5PfUk4vtzKf3Eaeo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QUNzuqJHNC08MHyGIEn3RRzCuSN9tnUNx81F+xkdNV9M5ytf0FuQZkg67LfvyhaEZ jlCnPCPzllytEwZeFiKjw5XbW9hZGb9GDYqJ3eTLK6biINMkglLzK7TF6mSWADgGxN H4L04wfC3MD3D/2RIYw/rrpck4lHn/sjkWqhjKP72iiUz0fVTwBlnFyNMUl57glsdO ahr/w4qHSlKjJhyv0W9uuhPD2cKNdDz57/sQMHDmjeqNoEFMCU0qF/Lv+ZXMZQoTzx s8+PGJUve179nFENSOrdJxCB147K9NDJ0vgOrc5Rmqehj8+mHOmJ5LwPieN7qGQG9k iHbaRKdAR6E7A== From: Ammar Faizi To: Alviro Iskandar Setiawan Cc: Ammar Faizi , Ammar Faizi , Tea Inside Mailing List , Michael Arminto , Louvian Lyndal , GNU/Weeb Mailing List Subject: Re: [PATCH teavpn2 0/3] teavpn2 fixes Date: Fri, 27 May 2022 07:14:16 +0700 Message-Id: <165361029468.375291.11178308260252768138.b4-ty@gnuweeb.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220527000227.1253934-1-alviro.iskandar@gnuweeb.org> References: <20220527000227.1253934-1-alviro.iskandar@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Id: On Fri, 27 May 2022 00:02:24 +0000, Alviro Iskandar Setiawan wrote: > I have a few TeaVPN2 fixes, please review. 3 patches below: > > ### Patch 1 > The calloc() function from libc sets the @errno variable to ENOMEM > when overflow, not to EOVERFLOW. Change it to ENOMEM to follow libc > error code. > > [...] Applied, thanks! [1/3] allocator: Fix `@errno` value when overflow commit: 3541908d4fe36522b6fbffec6d8455a824c89237 [2/3] net: iface: Fix a potential NULL pointer dereference commit: 7c9b07476d86fb27df835d977c07319954661a10 [3/3] arch/linux: syscall: Fix retval checking in libc syscall commit: c157b7221901d0b2f2ede5ab0f01471ecac91fed Best regards, -- Ammar Faizi