Your message dated Mon, 29 Nov 2021 09:41:04 +0100
with message-id 
<CA+7wUszdrtRkgpWreWak-e+8a6mWyVq7sx4=defbsmeoc-4...@mail.gmail.com>
and subject line shifting a negative signed value is undefined
has caused the Debian Bug report #802875,
regarding shifting a negative signed value is undefined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
802875: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802875
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libjpeg-turbo
Version: 1:1.3.1-11
Severity: minor
Tags: upstream

It would be nice to rewrite the following piece of code:

static const int extend_offset[16] = /* entry n is (-1 << n) + 1 */
  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,
    ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,
    ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,
    ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };

Simply moving the negative sign outside the parenthesis should be
fine: ((-1)<<15) + 1 == -(1<<15) + 1

--- End Message ---
--- Begin Message ---
Control: tags -1 wontfix
Control: notfound -1 1:1.3.1-11

The code has always been built with:

#define AVOID_TABLES

So the negative signed value shifting is never actually used in Debian binaries.

Closing as invalid.

--- End Message ---

Reply via email to