Commit ee5f606
Release Manager
gh-37861: Fix segfault for Weil polynomials
Fix segfault for Weil polynomials
Eliminate a segfault that occurs when asking for Weil polynomials of
degree 0 and sign -1 (which do not exist, so the iterator should return
empty). This fixes #37860.
URL: #37861
Reported by: kedlaya
Reviewer(s): Travis Scrimshaw
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
540 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
541 | 546 | | |
542 | 547 | | |
543 | 548 | | |
| |||
0 commit comments