Skip Menu |

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 133194
Status: new
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: public [...] khwilliamson.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Undefined behavior now found
Date: Wed, 19 Aug 2020 16:10:32 -0600
To: bug-Scalar-List-Utils [...] rt.cpan.org
From: Karl Williamson <public [...] khwilliamson.com>
ListUtil.xs:1500:38: runtime error: negation of -9223372036854775808 cannot be represented in type 'IV' (aka 'long'); cast to an unsigned type to negate this value to itself SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ListUtil.xs:1500:38 in ListUtil.xs:1510:45: runtime error: left shift of negative value -9223372036854775808 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ListUtil.xs:1510:45 in ListUtil.xs:1510:52: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ListUtil.xs:1510:52 in ListUtil.xs:1516:27: runtime error: signed integer overflow: -9223372036854775808 * -1 cannot be represented in type 'long' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ListUtil.xs:1516:27 in