Commit cffe91e
committed
Fix crash in ExtractTeraTypeFromEmbed from unvalidated Split
Add bounds check before accessing Split result to prevent IndexOutOfRangeException if embed format is malformed or missing colon separator.1 parent a3452c2 commit cffe91e
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1763 | 1763 | | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | | - | |
1767 | | - | |
1768 | | - | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
1769 | 1773 | | |
1770 | 1774 | | |
1771 | 1775 | | |
| |||
0 commit comments