Commit 0a55aa8
committed
Fix crash when calling C-style callbacks with a null HighsCallbackInput* argument.
The fix avoids copying to and from the null pointer.1 parent a52140a commit 0a55aa8
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2328 | 2328 | | |
2329 | 2329 | | |
2330 | 2330 | | |
2331 | | - | |
| 2331 | + | |
| 2332 | + | |
2332 | 2333 | | |
2333 | | - | |
| 2334 | + | |
2334 | 2335 | | |
2335 | 2336 | | |
2336 | 2337 | | |
| |||
0 commit comments