Commit 5b6b138
committed
Add sz check to ChachaAEADDecrypt to prevent potential underflow.
Thanks to Zou Dikai for the report.1 parent 14dbba7 commit 5b6b138
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20000 | 20000 | | |
20001 | 20001 | | |
20002 | 20002 | | |
20003 | | - | |
| 20003 | + | |
20004 | 20004 | | |
20005 | 20005 | | |
20006 | 20006 | | |
| 20007 | + | |
| 20008 | + | |
| 20009 | + | |
| 20010 | + | |
| 20011 | + | |
20007 | 20012 | | |
20008 | 20013 | | |
20009 | 20014 | | |
| |||
0 commit comments