From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: "Michael Menasherov" <mmenashe@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] read_all: Fix buffer too small for long paths
Date: Mon, 07 Sep 2026 06:40:37 +0000 [thread overview]
Message-ID: <6a9e5c66.5d733ffd.75e90.a101@mx.google.com> (raw)
In-Reply-To: <20260906135650.52112-1-mmenashe@redhat.com>
Hi Michael,
> #define QUEUE_SIZE 16384
> -#define BUFFER_SIZE 1024
> +#define BUFFER_SIZE 4096
better to use PATH_MAX here and make sure that when we create a path,
PATH_MAX is always preserved as the maximum size of the strings.
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-09-07 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 13:56 [LTP] [PATCH] read_all: Fix buffer too small for long paths Michael Menasherov via ltp
2026-09-06 16:02 ` [LTP] " linuxtestproject.agent
2026-09-07 6:40 ` Andrea Cervesato via ltp [this message]
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=6a9e5c66.5d733ffd.75e90.a101@mx.google.com \
--to=ltp@lists.linux.it \
--cc=andrea.cervesato@suse.com \
--cc=mmenashe@redhat.com \
/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