This repository was archived by the owner on Mar 22, 2022. It is now read-only.
Commit c3e1107
committed
Fix NULL dereferencing in mrsPeerConnectionCreate
Ensure that mrsPeerConnectionCreate() returns an error code when the
internal peer connection implementation object fails to instantiate or
initialize, instead of dereferencing it.1 parent 59c425e commit c3e1107
File tree
2 files changed
+5
-1
lines changed- libs/Microsoft.MixedReality.WebRTC.Native
- include
- src/interop
2 files changed
+5
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
804 | 807 | | |
805 | 808 | | |
806 | 809 | | |
| |||
0 commit comments