Commit 1dbc8dc
Fix UB of shift >63. (#2922)
* Fix UB of shift >63.
Reported by https://github.com/sondt99
* Split size checks.
Co-authored-by: billow <hoshinoaya@hoshinoaya.com>1 parent d650f67 commit 1dbc8dc
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
999 | 1000 | | |
1000 | 1001 | | |
1001 | 1002 | | |
| |||
1006 | 1007 | | |
1007 | 1008 | | |
1008 | 1009 | | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1009 | 1013 | | |
1010 | 1014 | | |
1011 | 1015 | | |
| |||
1113 | 1117 | | |
1114 | 1118 | | |
1115 | 1119 | | |
1116 | | - | |
| 1120 | + | |
1117 | 1121 | | |
1118 | 1122 | | |
1119 | 1123 | | |
| |||
0 commit comments