Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/common/types/hugeint.cpp:68:33: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int' #1444

Closed
fuzzerofducks opened this issue Mar 1, 2024 · 0 comments

Comments

@fuzzerofducks
Copy link
Collaborator

Issue found by DuckFuzz (Functions) on git commit hash 05176 using seed 796114504.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
SELECT lcm(c1, c2) FROM test_vector_types(CAST(NULL AS HUGEINT), CAST(NULL AS HUGEINT)) AS test_vector_types(c1, c2);

Error Message

src/common/types/hugeint.cpp:68:33: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants