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 <az...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=998a4f589d68503f79695f180fdf1742eeb0a39d commit 998a4f589d68503f79695f180fdf1742eeb0a39d Author: Torbjörn SVENSSON <torbjorn.svens...@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.svens...@foss.st.com> Co-Authored-By: Yvan ROUX <yvan.r...@foss.st.com> -- You are receiving this mail because: You are on the CC list for the bug.