WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
254035
Fix undefined behavior in pas_bitvector.h's PAS_BITVECTOR_BIT_MASK()
https://bugs.webkit.org/show_bug.cgi?id=254035
Summary
Fix undefined behavior in pas_bitvector.h's PAS_BITVECTOR_BIT_MASK()
Chris Dumez
Reported
2023-03-16 10:33:00 PDT
Fix undefined behavior in pas_bitvector.h's PAS_BITVECTOR_BIT_MASK(): /Volumes/Work/WebKit/OpenSource/Source/bmalloc/libpas/src/libpas/pas_bitvector.h:97:24: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Volumes/Work/WebKit/OpenSource/Source/bmalloc/libpas/src/libpas/pas_bitvector.h:97:24 in
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2023-03-16 10:36:20 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/11613
EWS
Comment 2
2023-03-16 13:26:31 PDT
Committed
261764@main
(0d4acd6a56aa): <
https://commits.webkit.org/261764@main
> Reviewed commits have been landed. Closing PR #11613 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-03-16 13:27:16 PDT
<
rdar://problem/106823872
>
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