[PATCH v5] newlib: libc: Fix crash on fprintf to a wide-oriented stream.

Takashi Yano takashi.yano@nifty.ne.jp
Thu Nov 9 15:36:02 GMT 2023


On Thu, 9 Nov 2023 13:49:41 +0100
Corinna Vinschen wrote:
> On Nov  9 19:26, Takashi Yano wrote:
> > On Thu, 9 Nov 2023 11:08:03 +0100
> > Corinna Vinschen wrote:
> > > Looks good, please push.
> > 
> > Thanks. Should this also be applied to cygwin-3_4-branch?
> 
> Tricky question.  It's a bugfix, yeah, but a bugfix for an undefined
> situation.  And it's also a behavioral change.  So, from my POV we
> shouldn't backport it.

I see. I'll push it only for master branch.

> But if you have another POV, we can discuss it.  It occured to me that
> you didn't mention where the testcase is coming from.  Was that a
> real-world problem?  If so, where and in which circumstances?

No. It was discovered by an accidental mistake while writing
a test case for another problem.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Newlib mailing list