NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/52348: sh (alias.c:271) invokes undefined behaviour



>Number:         52348
>Category:       bin
>Synopsis:       sh (alias.c:271) invokes undefined behaviour
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 29 01:50:00 +0000 2017
>Originator:     coypu
>Release:        NetBSD 8.99.1
>Organization:
>Environment:
NetBSD loggy 8.99.1 NetBSD 8.99.1 (GENERIC) #82: Thu Jun 22 15:45:33 IDT 2017  fly@loggy:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64

>Description:
alias.c:271:15: runtime error: left shift of negative value -126

char is signed.
>How-To-Repeat:
build with asan and ubsan.
>Fix:



Home | Main Index | Thread Index | Old Index