Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Mar 2023 22:47:27 +0800
From: Matthias Görgens <matthias.goergens@...il.com>
To: musl@...ts.openwall.com
Subject: Re: [BUG] hasmntopt weirdness

On Thu, 30 Mar 2023 at 21:57, Rich Felker <dalias@...c.org> wrote:
> I'm pretty sure it was agreed upon at one point that this was a bug,
> but never pursued further.

OK, that's good to know!

> From what I remember, I think hasmntopt needs to check that the match
> found is at the start or immediately follows a comma (unless there is
> some awful way to embed literal commas) and that it's followed by an
> equals sign, comma, or nul terminator. Does this sound correct?

For what it's worth, that's close to what glibc does.

Sorry, I'm new to this: Is there a spec to these things, or do we just copy what
the other C standard libraries are doing?

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.