Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Commit0a160bf
authored
In `faulthandler_sigfpe()`, instead of using 1/0 arithmetic, we explicitly raise SIGFPE.We also remove `faulthandler._read_null()` since reading from NULL is an undefinedbehavior and `faulthandler` should not check for low-level C undefined behaviors.
1 parent22e4a40 commit0a160bf
2 files changed
+2
-52
lines changedLines changed: 0 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
170 |
| - | |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
177 |
| - | |
178 |
| - | |
179 |
| - | |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 | 169 |
| |
193 | 170 |
| |
194 | 171 |
| |
|
Lines changed: 2 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1069 | 1069 |
| |
1070 | 1070 |
| |
1071 | 1071 |
| |
1072 |
| - | |
1073 |
| - | |
1074 |
| - | |
1075 |
| - | |
1076 |
| - | |
1077 |
| - | |
1078 |
| - | |
1079 |
| - | |
1080 |
| - | |
1081 |
| - | |
1082 |
| - | |
1083 |
| - | |
1084 | 1072 |
| |
1085 | 1073 |
| |
1086 | 1074 |
| |
| |||
1158 | 1146 |
| |
1159 | 1147 |
| |
1160 | 1148 |
| |
1161 |
| - | |
| 1149 | + | |
1162 | 1150 |
| |
1163 | 1151 |
| |
1164 | 1152 |
| |
1165 |
| - | |
1166 |
| - | |
1167 |
| - | |
1168 |
| - | |
1169 |
| - | |
1170 |
| - | |
1171 |
| - | |
1172 |
| - | |
1173 | 1153 |
| |
1174 |
| - | |
1175 |
| - | |
1176 |
| - | |
1177 |
| - | |
| 1154 | + | |
1178 | 1155 |
| |
1179 | 1156 |
| |
1180 | 1157 |
| |
| |||
1316 | 1293 |
| |
1317 | 1294 |
| |
1318 | 1295 |
| |
1319 |
| - | |
1320 |
| - | |
1321 |
| - | |
1322 |
| - | |
1323 | 1296 |
| |
1324 | 1297 |
| |
1325 | 1298 |
| |
|
0 commit comments
Comments
(0)