[Bug 239493] signal SIGABRT in .__sys_thr_kill () from /lib/libc.so.7 on r350103 ppc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 28 20:47:02 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239493

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org

--- Comment #5 from Jilles Tjoelker <jilles at FreeBSD.org> ---
Also, there is undefined behaviour here. If lshift_com() is run with cnt == 0
(which happens if i == 0), tnc will be 8 * sizeof (unsigned long) which is too
much for shifting an unsigned long.

It is possible that the CFLAGS request some non-standard C dialect where this
is not undefined behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list