-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.
Description
Line 164 in a724a9e
| return ThrowInvalidURL(realm->env(), input.ToStringView(), nullptr); |
ThrowInvalidURL takes an std::optional<std::string> as third parameter. Passing nullptr constructs a std::string from that null pointer, this is undefined behaviour (upgraded to ill-formed in C++23). At a glance, it would seem that std::nullopt was the intended third argument.
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.