[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug libctf/30836] ld.exe stuck while processing ctf symbols on 64bit Wi
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug libctf/30836] ld.exe stuck while processing ctf symbols on 64bit Windows builds |
Date: |
Tue, 17 Oct 2023 15:33:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30836
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Torbjorn Svensson <azoff@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=998a4f589d68503f79695f180fdf1742eeb0a39d
commit 998a4f589d68503f79695f180fdf1742eeb0a39d
Author: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Date: Wed Sep 13 11:02:36 2023 +0200
libctf: Sanitize error types for PR 30836
Made sure there is no implicit conversion between signed and unsigned
return value for functions setting the ctf_errno value.
An example of the problem is that in ctf_member_next, the "offset" value
is either 0L or (ctf_id_t)-1L, but it should have been 0L or -1L.
The issue was discovered while building a 64 bit ld binary to be
executed on the Windows platform.
Example object file that demonstrates the issue is attached in the PR.
libctf/
Affected functions adjusted.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Co-Authored-By: Yvan ROUX <yvan.roux@foss.st.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug libctf/30836] ld.exe stuck while processing ctf symbols on 64bit Windows builds,
cvs-commit at gcc dot gnu.org <=