Commit 8f3ae23
Merge commit from fork
* fix(protocol): Treat string descriptor with zero dsc_length as invalid slice descriptor
Do not use this descriptor in calculation due to possible division by zero;
* fix(protocol): Check data length and dsc length separately
---------
Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>1 parent 4c1e421 commit 8f3ae23
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
920 | | - | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
921 | 925 | | |
| 926 | + | |
922 | 927 | | |
923 | 928 | | |
924 | 929 | | |
| |||
0 commit comments