From: Rich Felker <dalias@libc.org>
To: Kaihang Zhang <kaihang.zhang@smartx.com>
Cc: musl@lists.openwall.com, 2010267516@qq.com
Subject: Re: [musl] [PATCH v2] fix: Truncate the too-long mntent in function getmntent_r
Date: Wed, 1 Dec 2021 10:24:00 -0500 [thread overview]
Message-ID: <20211201152359.GG7074@brightrain.aerifal.cx> (raw)
In-Reply-To: <20211015122000.2490-1-kaihang.zhang@smartx.com>
On Fri, Oct 15, 2021 at 08:20:00AM -0400, Kaihang Zhang wrote:
> In function getmntent_r in source misc/mntent.c, entry that is too long
> will be truncated rather than discarded. The caller can tell by errno
> whether the supplied buffer is too small, and retry from the beginning
> of the file.
Thanks for resending this. I know I've neglected to take a good look
at it so far, and I'll try to get to it right away this time.
Rich
next prev parent reply other threads:[~2021-12-01 15:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 12:20 Kaihang Zhang
2021-12-01 12:33 ` [musl] " Kaihang Zhang
2021-12-01 15:24 ` Rich Felker [this message]
2022-01-09 3:12 ` [musl] " Rich Felker
2022-01-18 10:17 ` Kaihang Zhang
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=20211201152359.GG7074@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=2010267516@qq.com \
--cc=kaihang.zhang@smartx.com \
--cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).