Commit 7b5b429
authored
* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662)
Disable undefined behavior sanitizer (UBSAN) on
faulthandler_sigfpe().
(cherry picked from commit 4173d67)
* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)
Disable undefined behavior sanitizer (UBSan) on
faulthandler._read_null().
(cherry picked from commit 65b92cc)
* bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)
If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.
This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.
(cherry picked from commit 6d0d7d2)
* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)
If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.
(cherry picked from commit ad1b044)
1 parent 9d9dc59 commit 7b5b429
File tree
4 files changed
+55
-11
lines changed- Lib
- ctypes/test
- test
- Misc/NEWS.d/next/Tests
- Modules
4 files changed
+55
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
125 | 129 | | |
126 | 130 | | |
127 | 131 | | |
| 132 | + | |
| 133 | + | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| |||
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
383 | 390 | | |
384 | 391 | | |
385 | 392 | | |
| 393 | + | |
386 | 394 | | |
387 | 395 | | |
388 | 396 | | |
| |||
418 | 426 | | |
419 | 427 | | |
420 | 428 | | |
| 429 | + | |
421 | 430 | | |
422 | 431 | | |
423 | 432 | | |
| |||
438 | 447 | | |
439 | 448 | | |
440 | 449 | | |
| 450 | + | |
441 | 451 | | |
442 | 452 | | |
443 | 453 | | |
| |||
777 | 787 | | |
778 | 788 | | |
779 | 789 | | |
| 790 | + | |
780 | 791 | | |
781 | 792 | | |
782 | 793 | | |
783 | 794 | | |
| 795 | + | |
784 | 796 | | |
785 | 797 | | |
786 | 798 | | |
787 | 799 | | |
| 800 | + | |
788 | 801 | | |
789 | 802 | | |
790 | 803 | | |
791 | 804 | | |
| 805 | + | |
792 | 806 | | |
793 | 807 | | |
794 | 808 | | |
795 | 809 | | |
| 810 | + | |
796 | 811 | | |
797 | 812 | | |
798 | 813 | | |
799 | 814 | | |
800 | 815 | | |
| 816 | + | |
801 | 817 | | |
802 | 818 | | |
803 | 819 | | |
804 | 820 | | |
| 821 | + | |
805 | 822 | | |
806 | 823 | | |
807 | 824 | | |
808 | 825 | | |
809 | 826 | | |
| 827 | + | |
810 | 828 | | |
811 | 829 | | |
812 | 830 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
32 | 49 | | |
33 | 50 | | |
34 | 51 | | |
| |||
1014 | 1031 | | |
1015 | 1032 | | |
1016 | 1033 | | |
1017 | | - | |
| 1034 | + | |
1018 | 1035 | | |
1019 | 1036 | | |
1020 | 1037 | | |
| |||
1103 | 1120 | | |
1104 | 1121 | | |
1105 | 1122 | | |
1106 | | - | |
| 1123 | + | |
1107 | 1124 | | |
1108 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
1109 | 1128 | | |
1110 | 1129 | | |
1111 | 1130 | | |
1112 | | - | |
1113 | 1131 | | |
| 1132 | + | |
1114 | 1133 | | |
1115 | 1134 | | |
1116 | 1135 | | |
| 1136 | + | |
1117 | 1137 | | |
1118 | 1138 | | |
1119 | 1139 | | |
| |||
0 commit comments