DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Morten Brørup" <mb@smartsharesystems.com>
To: "Bruce Richardson" <bruce.richardson@intel.com>
Cc: "Stephen Hemminger" <stephen@networkplumber.org>, <dev@dpdk.org>
Subject: RE: [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size
Date: Mon, 19 Oct 2026 09:51:16 +0200	[thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F65ABD@smartserver.smartshare.dk> (raw)
In-Reply-To: <atXLLZ90G06UWwx2@bricha3-mobl1.ger.corp.intel.com>

> From: Bruce Richardson [mailto:bruce.richardson@intel.com]
> Sent: Monday, 19 October 2026 09.48
> 
> On Fri, Oct 16, 2026 at 10:13:53PM +0200, Morten Brørup wrote:
> > snprintf() doesn't ensure zero-terminated string.
> 
> Actually it does. If return value is size of more, then truncation has
> occurred, and only size-1 bytes plus null have been written.

Sorry, you're right!
Got it mixed up with strncpy().

-Morten


  reply	other threads:[~2026-10-19  7:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 21:57 [PATCH] eal: increase memzone name size to 64 Stephen Hemminger
2026-09-22 10:42 ` Morten Brørup
2026-10-13  9:01   ` Thomas Monjalon
2026-09-22 15:52 ` [PATCH v2 0/3] increase memzone name size and fix rib/fib prefixes Stephen Hemminger
2026-09-22 15:52   ` [PATCH v2 1/3] app/crypto-perf: fix asymmetric op pool name size Stephen Hemminger
2026-09-22 18:25     ` [EXTERNAL] " Akhil Goyal
2026-09-22 15:52   ` [PATCH v2 2/3] eal: increase memzone name size to 64 Stephen Hemminger
2026-10-13  9:02     ` Thomas Monjalon
2026-09-22 15:52   ` [PATCH v2 3/3] fib, rib: fix name prefixes Stephen Hemminger
2026-09-22 19:46     ` Medvedkin, Vladimir
2026-10-16 15:38 ` [PATCH v3 0/3] increase memzone name size and fix rib/fib prefix Stephen Hemminger
2026-10-16 15:38   ` [PATCH v3 1/3] app/crypto-perf: fix asymmetric op pool name size Stephen Hemminger
2026-10-16 20:13     ` Morten Brørup
2026-10-19  7:47       ` Bruce Richardson
2026-10-19  7:51         ` Morten Brørup [this message]
2026-10-16 15:38   ` [PATCH v3 2/3] eal: increase memzone name size to 64 Stephen Hemminger
2026-10-16 20:11     ` Morten Brørup
2026-10-16 15:38   ` [PATCH v3 3/3] fib, rib: fix name prefixes Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98CBD80474FA8B44BF855DF32C47DC35F65ABD@smartserver.smartshare.dk \
    --to=mb@smartsharesystems.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox