Commit 119e9ca
committed
Handle Exceptions during Intent parsing logic to avoid DoS attacks on Android
- Putting a custom Serializable class into an Intent sent to MainActivity of the Android app could cause a crash, which is easily avoidable with a try-catch1 parent ad88cc2 commit 119e9ca
File tree
1 file changed
+11
-7
lines changed- androidApp/src/androidMain/kotlin/org/jetbrains/kotlinconf/android
1 file changed
+11
-7
lines changedLines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 84 | | |
81 | 85 | | |
0 commit comments