GNU bug report logs -
#73444
30.0.50; mingw-w64: Emacs uses CRT's `read` when _FORTIFY_SOURCE > 0
Previous Next
Reported by: Óscar Fuentes <ofv <at> wanadoo.es>
Date: Mon, 23 Sep 2024 22:16:02 UTC
Severity: normal
Merged with 63752
Found in versions 28.2, 30.0.50
Done: Óscar Fuentes <ofv <at> wanadoo.es>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 73444 <at> debbugs.gnu.org (full text, mbox):
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Cc: 73444 <at> debbugs.gnu.org, Cyril Arnould <cyril.arnould <at> outlook.com>
> Date: Tue, 24 Sep 2024 16:06:13 +0200
> X-Spam-Status: No
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> #63752 describes the simptons and tries to identify the cause, this bug
> >> (#73444) provides the cause and discusses a possible fix, hopefully one
> >> that covers the general case and not just `read'.
> >
> > The fix posted here affects only 'read', unless I'm missing
> > something...
>
> Well, if we could think of a general fix that prevents a potential
> problem with the other functions that Emacs redefines, I could try to
> implement it.
AFAIR, that's a very large job, because each redirected function has
its own story. If you have time to work on that, please do, but I'd
consider this low priority unless there are known problems with
specific functions we redirect.
> >> I was not aware of the existence of #63752 when I created this bug. As
> >> what to do with #63752, I have no preferences.
> >
> > That's okay. If you tell that fixing the issue with 'read' solves the
> > problem described in bug#63752, I will merge them. But if some
> > problems caused by _FORTIFY_SOURCE still remain after fixing 'read',
> > then bug#63752 is more general, and I think they should remain
> > separate, so that when we close this one, the other one stays open.
>
> AFAIK the workaround on this bug report fixes #63752. CCing the original
> bug reporter, just in case.
Thanks, I will wait for a while and merge if no objections or comments
to the contrary arise.
This bug report was last modified 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.