Commit bc06091
committed
Fix nullptr crash in the OpenEXR Python module.
PyErr_NewException() returns null at runtime so guard against it.
It's unclear why the function returns null but guarding against it
doesn't cause any other known issues aside from the loss of the
old `OpenEXR.error` exception class.1 parent be70a89 commit bc06091
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1572 | 1572 | | |
1573 | 1573 | | |
1574 | 1574 | | |
1575 | | - | |
1576 | | - | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
1577 | 1580 | | |
1578 | 1581 | | |
1579 | 1582 | | |
| |||
0 commit comments