Commit 9c58018
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 7464f45 commit 9c58018
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
932 | 936 | | |
| 937 | + | |
933 | 938 | | |
934 | 939 | | |
935 | 940 | | |
| |||
0 commit comments