Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPG2z0-wDgckMD5FyaEcJma8qkvshuMs2tsu2EhHUdCaLnUSpA@mail.gmail.com>
Date: Fri, 24 Jun 2022 13:24:48 +0800
From: He X <xw897002528@...il.com>
To: musl@...ts.openwall.com, Rich Felker <dalias@...c.org>
Cc: wolf@...fsden.cz
Subject: Re: g++ fpermissive compilation error for strdupa

> I will explore the possibility of sending a patch to remove this usage
to upstream.

FYI, Wolf, I've opened an issue https://github.com/bazelbuild/bazel/issues/15729

Wolf <wolf@...fsden.cz> 于2022年6月24日周五 03:25写道:
>
> On 2022-06-23 10:59:07 +0800, He X wrote:
> > > so it's been kinda nice that this is catching bugs in C++ programs.
> >
> > I agreed. I will see what bazel guys say about the usage of strdupa. Maybe
> > they are willing to remove strdupa.
>
> As far as I can tell there is exactly one usage of strdupa in bazel [0].
> And that usage should be fairly easily replaceable by a dynamic
> allocation, or static buffer.
>
> I will explore the possibility of sending a patch to remove this usage
> to upstream.
>
> 0: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-sandbox-pid1.cc#L149
>
> --
> There are only two hard things in Computer Science:
> cache invalidation, naming things and off-by-one errors.



-- 
Best regards,
xhe

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.