We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc2a9c commit 399c297Copy full SHA for 399c297
src/spellfile.c
@@ -1595,6 +1595,9 @@ spell_read_tree(
1595
len = get4c(fd);
1596
if (len < 0)
1597
return SP_TRUNCERROR;
1598
+ if (len >= 0x3ffffff)
1599
+ /* Invalid length, multiply with sizeof(int) would overflow. */
1600
+ return SP_FORMERROR;
1601
if (len > 0)
1602
{
1603
/* Allocate the byte array. */
src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
764
765
static int included_patches[] =
766
{ /* Add new patch number below this line */
767
+/**/
768
+ 322,
769
/**/
770
321,
771
0 commit comments