Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 209bfe369d94aa6e6d0ab65c27920b649c61cdd6
https://github.com/Perl/perl5/commit/209bfe369d94aa6e6d0ab65c27920b649c61cdd6
Author: Karl Williamson <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M handy.h
Log Message:
-----------
handy.h: Avoid UB in nBIT_MASK()
I discovered the hard way that this is undefined behavior when operating
on the widest unsigned integer type available on the platform.
I couldn't think of a way to write this without a branch that worked
both for that condition and a zero length mask
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications