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 4C51543252 for ; Tue, 31 Oct 2023 16:47:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CAAA4029E; Tue, 31 Oct 2023 16:47:39 +0100 (CET) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id A55FA40284 for ; Tue, 31 Oct 2023 16:47:38 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6b3c2607d9bso5197804b3a.1 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=fpuLTiwgYDxjrxTbTgT7O8Ej5Sz7cqzAyZlP+j+0zfuh37qPMm+Pf3uZH45Rz3Dclr EFGdy1cxJqTHWswXcKu6U7+lbVWcuMdbG5mnrVSM8OBqXdOHpbztnqIfKIL9FswAsbHw fLKEGkfRbPNbHo4l39B6PIhglYAVot6hy8JTV2t5kZ6ra5iaiK9F2yNHR3YDJVu7stOl pBMXDea7QqsfibMarSyLKB1hdyOILPTP9KUEu2BaZmPyi7NX2MYUSWBVPeRVtuu1nduF oyeKOgnrGplDAmI7gB98Djh2sFFRT5eoGbyIt34WLYA8KD482u5K4ZT2pmEHKQvoqiL1 P/DQ== X-Gm-Message-State: AOJu0YwAU8NpLYHy+1jMdB4N0QJd5hGTD6HVneeZWq7ALQaSYAgJe4bM oZdQDVvba946hzgd4w8LyjwW0A== 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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