Date: Fri, 3 Nov 2017 19:54:39 +0100 (CET) Message-Id: <201711031854.vA3IsdId002989@...2054...> From: Gert Doering In-Reply-To: <1508094315-466-1-git-send-email-selva.nair@...277...> References: <1508094315-466-1-git-send-email-selva.nair@...277...> Subject: [Openvpn-devel] [PATCH applied] Re: Fix missing check for return value of malloc'd buffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Selva Nair Cc: openvpn-devel@lists.sourceforge.net ACK. Patch is actually fairly trivial as soon as one recognizes that "utf8to16()" is one of our functions, which does exactly what the code removed here does - length check, malloc, malloc check, conversion-if-memory-allocated. Your patch has been applied to the master and release/2.4 branch. commit f3d389a2d2b87aeb649bfdccd596f485346a32c7 (master) commit 9ef03874bf0ca35348c58b4b21cb06cc49026efd (release/2.4) Author: Selva Nair Date: Sun Oct 15 15:05:15 2017 -0400 Fix missing check for return value of malloc'd buffer Signed-off-by: Selva Nair Acked-by: Gert Doering Message-Id: <1508094315-466-1-git-send-email-selva.nair@...277...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15641.html Signed-off-by: Gert Doering -- kind regards, Gert Doering