From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9061F43252; Tue, 31 Oct 2023 16:47:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C69F40ED9; Tue, 31 Oct 2023 16:47:40 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id BDB9C4029E for ; Tue, 31 Oct 2023 16:47:38 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6b5cac99cfdso5199641b3a.2 for ; Tue, 31 Oct 2023 08:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698767258; x=1699372058; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=83i/Y5Q8VuQ1MWAP8e/GcE7J6ILvasoyJtG+OHw/YGc=; b=TxliLTDgb+Bi7jC7x0nfOFmhQB8yBF/aE2Ejf7pPPQmPqvt/bC3nItSC9yuFPL765X tHtzmwAaVHcttzTc4KzbE1b+VgmFfLZi6dQKzismf3YNeIrYSOgeWRdua11InvT7RauG DSIMMa22i2wXqSkskmv/86r3HyebOnTvOlMJELSoqgK12Ro4AYQXpQWASeiqLEM0LLK/ IBq1emTf4R0AGr7lhazhfxcBrlzSHBYVEjAHTYmUFjTtQi0EEnbR9dsPFNWmHfIIbyil my9oXTUU+fO3bB6WtzRreVLGHxFTHmSkfeB7UQl0NCXgaXcvtaqszPR0IsMAYhVzTR59 FgzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698767258; x=1699372058; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=83i/Y5Q8VuQ1MWAP8e/GcE7J6ILvasoyJtG+OHw/YGc=; b=wdeUW8+BiPVG36u/vj0ugU6QoYqqhZ1m6y0qG+CHFuEz0XIMrUd6PPLqTegcJ0vOHP JPqfmujiJHgfoAT4PLU3u2fGDg4vh1sIgZ0u43G5SkVPp6ywMutODP42PdKcCkgffPvb AywW9Yn0AsoRKvxIFRP31d04gchCfewwz8twByeIlXHACQJca1sCuGOnPZFWoU6AdRnD E24uMDUT4cgjZBYBAtk32Y1igy3lzlbgH4E3DHHky0IKK8puzW99ouJqQzoQVLreIin9 41kbKXPSyqKdm5xcnZpCoIOmOX8DAK1g5QUWqLCPRr32EDLc599/qo7II0ylv9Gbf7z0 vbCQ== X-Gm-Message-State: AOJu0YzhGkOIDJ+gBqDNQhxWrpfPffpfuAow/b2uG3yGWPR2PEUdPuvl pgATxB2hqLahOQkPSIokgtjhDw== X-Google-Smtp-Source: AGHT+IHbVx4Z0VNzJy68jO74w8lLXzTx21SrFzrRMJ0HGnP1IF3CXlaZBsINgin3jGwPoF/YA/0yug== X-Received: by 2002:a05:6a20:5511:b0:16c:13b1:2c6d with SMTP id ko17-20020a056a20551100b0016c13b12c6dmr8858418pzb.56.1698767257794; Tue, 31 Oct 2023 08:47:37 -0700 (PDT) Received: from fedora ([38.142.2.14]) by smtp.gmail.com with ESMTPSA id o7-20020a056a001b4700b0068ffd56f705sm1401956pfv.118.2023.10.31.08.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 08:47:37 -0700 (PDT) Date: Tue, 31 Oct 2023 08:47:32 -0700 From: Stephen Hemminger To: Akhil Goyal Cc: , , , Subject: Re: [PATCH v2] test/security: fix buffer leaks in error path Message-ID: <20231031084732.6ffba4c1@fedora> In-Reply-To: <20231031064446.150191-1-gakhil@marvell.com> References: <20230822173316.465078-1-gakhil@marvell.com> <20231031064446.150191-1-gakhil@marvell.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, 31 Oct 2023 12:14:46 +0530 Akhil Goyal wrote: > From: Akhil Goyal > To: > CC: , , , Akhil Goyal , > Subject: [PATCH v2] test/security: fix buffer leaks in error path > Date: Tue, 31 Oct 2023 12:14:46 +0530 > X-Mailer: git-send-email 2.25.1 > > In case of failure of a test in macsec autotest, > the buffers were not getting cleaned. > Added appropriate code to clean the buffers. > > Fixes: 993ea577a006 ("test/security: add inline MACsec cases") > Cc: stable@dpdk.org > > Signed-off-by: Akhil Goyal Acked-by: Stephen Hemminger