[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4: |
Date: |
Thu, 25 Mar 2021 16:33:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27628
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Nick Alcock <nix@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=24c877f9b19dc38f9c40e25116175481c8bb78f2
commit 24c877f9b19dc38f9c40e25116175481c8bb78f2
Author: Nick Alcock <nick.alcock@oracle.com>
Date: Thu Mar 25 16:32:46 2021 +0000
include: always do unsigned left-shift in CTF_SET_STID
This turns into a signed left shift by 31 bits, otherwise. This is an
offset and is always treated as unsigned in any case, so add an
appropriate cast.
include/ChangeLog
2021-03-25 Nick Alcock <nick.alcock@oracle.com>
PR libctf/27628
* ctf-api.h: Fix some indentation.
(CTF_SET_STID): Always do an unsigned shift, even if STID is
signed.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/27628] New: UBSAN error: /home/marxin/Programming/binutils-gdb/libctf/ctf-serialize.c:852:4:, mliska at suse dot cz, 2021/03/23
- [Bug binutils/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, mliska at suse dot cz, 2021/03/23
- [Bug binutils/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, mliska at suse dot cz, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, nick.alcock at oracle dot com, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, nick.alcock at oracle dot com, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, nick.alcock at oracle dot com, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, mliska at suse dot cz, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, nick.alcock at oracle dot com, 2021/03/23
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:,
cvs-commit at gcc dot gnu.org <=
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, cvs-commit at gcc dot gnu.org, 2021/03/25
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, cvs-commit at gcc dot gnu.org, 2021/03/25
- [Bug libctf/27628] UBSAN error: binutils-gdb/libctf/ctf-serialize.c:852:4:, nick.alcock at oracle dot com, 2021/03/25