Closed
Description
Version
18.16.1
Platform
No response
Subsystem
deps/ada
What steps will reproduce the bug?
As far as I can tell, any use of the URL constructor which now calls into native code from ada:
new URL('s://g');
This is reported when building with ubsan
.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No undefined behavior caused by using the URL constructor.
What do you see instead?
An integer overflow.
Additional information
This was fixed upstream by using uint64 literals instead of signed ints: ada-url/ada@38d6eae.