Skip to content

Commit

Permalink
Revert "webclient: Fix buffer overflow bug"
Browse files Browse the repository at this point in the history
This reverts commit 07938b9f5db5d06c5ed5c2d7b0c40f416f932727.
  • Loading branch information
SPRESENSE committed Mar 29, 2024
1 parent 1394db3 commit 7200f7d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions netutils/webclient/webclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,7 @@ static inline int wget_parsestatus(struct webclient_context *ctx,
}
else
{
if (ndx < CONFIG_WEBCLIENT_MAXHTTPLINE - 1)
{
ndx++;
}
ndx++;
}
}

Expand Down Expand Up @@ -780,10 +777,7 @@ static inline int wget_parseheaders(struct webclient_context *ctx,
}
else
{
if (ndx < CONFIG_WEBCLIENT_MAXHTTPLINE - 1)
{
ndx++;
}
ndx++;
}
}

Expand Down

0 comments on commit 7200f7d

Please sign in to comment.