Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1318056

Re: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25

From Alan Stern <stern@rowland.harvard.edu>
Newsgroups linux.kernel
Subject Re: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25
Date 2016-01-26 16:30 +0100
Message-ID <qVdJ9-5Zk-25@gated-at.bofh.it> (permalink)
References <qV8T8-2E6-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 26 Jan 2016, Chris Bainbridge wrote:

> Booting 4.5.0-rc1 with new UBSAN checker enabled:
> 
> [    4.556968] ================================================================================
> [    4.556972] UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25
> [    4.556975] shift exponent -1 is negative

Does a left shift by a negative amount matter if the result isn't used?

Alan Stern

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25 Chris Bainbridge <chris.bainbridge@gmail.com> - 2016-01-26 11:20 +0100
  Re: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25 Alan Stern <stern@rowland.harvard.edu> - 2016-01-26 16:30 +0100
    Re: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25 Andrey Ryabinin <aryabinin@virtuozzo.com> - 2016-01-26 17:10 +0100
      Re: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25 Greg KH <gregkh@linuxfoundation.org> - 2016-01-26 17:50 +0100

csiph-web