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 A66F145CF9; Wed, 13 Nov 2024 19:57:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9602540E1B; Wed, 13 Nov 2024 19:57:32 +0100 (CET) Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id 27A8B406B8 for ; Wed, 13 Nov 2024 19:57:31 +0100 (CET) Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2e2a97c2681so5664421a91.2 for ; Wed, 13 Nov 2024 10:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731524250; x=1732129050; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Xxp2A9FmT0k5ix/1m1fnz2O6wsZjBhWLWG5Tk1GH9fE=; b=GeHhj/FhBYY01+wYv+7uJ38LRPoBbGVeRUcFIMjQAMdBUaEZ36FHQrFhHQxTGhlQnK zwdsgSN38y58W36E4l1iyQ0mlqrqL8jFWpMQGswBKtJsQ5XWHYB0fPNxCBtbhIHKg2ie 72Ke77WRtjEArkqI0ni1FOQf/Vng26lyz6WbaDYbiISjZHkem7kYr6Nf+Uwxj/ZO5wPh j9C7rTf1Yh7IHmBYS2Pvdcnteb9ctnyC8dINivd9Sk/a3vgMQJ7u12vVnzOtAl8tFOuD TIX6oJz+K5Ae2FMRKxCap+uIUyQwnx4owcOhlKqAK55WYLkt8FeANjkLyIoiUHOqgYgp NwpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731524250; x=1732129050; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Xxp2A9FmT0k5ix/1m1fnz2O6wsZjBhWLWG5Tk1GH9fE=; b=qtGZdtk73Q+lIdDLYjh1mHucb1vGnwsdlj7/IYVN94Q/w0PenttIVuGGD+NptQ2IvP RpIj0vh63hksMDi+iXpLWV07PFvIVk4Uzyf2WbtTVpTfkYg++qEpaRGWYyMiApvMT7Lu xheNxffEGx13IeZJNYWETV5Ltd0fZm56ullm0FTfP5Gp48J5+NVz/K4M/dUXqfN1PWmI 0ubZB8xeWBpeZEm1tJMfM0kDTDqZXkUgvs0toY1bJMndzfQMCm8o/IbAlCJ0bLy+RiFW 9yPzSGU0EraMWnFkv8R0GCLsnzh2EZbi1LD7VsZ7knM+WJymI0kY9Akw5JTIzdFef8z/ 3vfg== X-Gm-Message-State: AOJu0Yx3Us6rKurx5zSKUTA3hQdD2IwmayJDAKfbChb8fnleX7gXQA7S 6WGu4ec77xSwc1ddL2rwc7dQsWo7hweRFO0JdHFmwgq4X14x1QyFII1NogL+X/FfLQEuprLPGcU 9 X-Google-Smtp-Source: AGHT+IHkmWxCVaDva8gldKMuw9DiYLpEWnzgFz4NLtBOPIuR0soPDnmo1LTHN+p36ROH4MqmmdKo/g== X-Received: by 2002:a17:90b:280d:b0:2e0:f81c:731f with SMTP id 98e67ed59e1d1-2e9e4c73aefmr9827560a91.24.1731524250210; Wed, 13 Nov 2024 10:57:30 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e9f3e977d7sm1817935a91.8.2024.11.13.10.57.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Nov 2024 10:57:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 0/5] Fix memset usage Date: Wed, 13 Nov 2024 10:55:59 -0800 Message-ID: <20241113185720.28706-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Bruce mentioned recent security scan of DPDK https://pvs-studio.com/en/blog/posts/cpp/1183/ There are some low hanging fruit things that can be easily addressed. Stephen Hemminger (5): crypto/qat: fix memset of SHA3 state crypto/qat: use secure memset bus/uacce: remove memset before free compress/octeontx: remove memset before rte_free test: remove unneeded memset app/test/test_cmdline_cirbuf.c | 2 -- drivers/bus/uacce/uacce.c | 1 - drivers/compress/octeontx/otx_zip.c | 1 - drivers/compress/octeontx/otx_zip_pmd.c | 2 -- drivers/crypto/qat/qat_asym.c | 2 +- drivers/crypto/qat/qat_sym_session.c | 10 +++++----- 6 files changed, 6 insertions(+), 12 deletions(-) -- 2.45.2