From: Alexander Lakhin <exclusion@gmail.com>
To: ssubhrajyoti@google.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #17167: UndefinedBehaviorSanitizer: invalid-shift-exponent while running int4shr/int4shl
Date: Mon, 30 Aug 2021 15:00:51 +0300
Message-ID: <b42392ff-e738-2cbb-d6b8-e3a6ab0a7b85@gmail.com> (raw)
In-Reply-To: <17167-028026e4ca333817@postgresql.org>
References: <17167-028026e4ca333817@postgresql.org>
Hello Subhrajyoti,
30.08.2021 12:02, PG Bug reporting form wrote:
> Bug reference: 17167
>
> When executing in an asan instrumented build,
> ```
> postgres=> SELECT int4shr(10, -1);
> ```
> throws an error `runtime error: shift exponent 32 is too large for 32-bit
> type 'int32' (aka 'int')`
This seems like a duplicate of #16790:
https://www.postgresql.org/message-id/flat/16790-c2a81c92a8776c5b%40postgresql.org
Best regards,
Alexander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: exclusion@gmail.com, noreply@postgresql.org
Subject: Re: BUG #17167: UndefinedBehaviorSanitizer: invalid-shift-exponent while running int4shr/int4shl
In-Reply-To: <b42392ff-e738-2cbb-d6b8-e3a6ab0a7b85@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox