WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
165955
pairIntHash: remove sharp edge
https://bugs.webkit.org/show_bug.cgi?id=165955
Summary
pairIntHash: remove sharp edge
JF Bastien
Reported
2016-12-16 09:54:30 PST
It looks like pairIntHash has a gotcha if it's passed a non-unsigned: it'll be preceded by automatic coercion. That would be a disaster if the value it receives were a uint64_t! AFAICT all uses are fine because all hash functions return unsigned, but some basic template overload would prevent the gotcha.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug