Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
infosvr: Disable vulnerable code while awaiting for a proper fix from…
Browse files Browse the repository at this point in the history
… upstream
  • Loading branch information
RMerl committed Jan 9, 2015
1 parent 2d7a085 commit 4f41f9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release/src/router/infosvr/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ char *processPacket(int sockfd, char *pdubuf)
sendInfo(sockfd, pdubuf_res);
return pdubuf_res;

#if 0 // Vulenrable code
case NET_CMD_ID_MANU_CMD:
{
#define MAXSYSCMD 256
Expand Down Expand Up @@ -541,6 +542,7 @@ fprintf(stderr, "3. NET_CMD_ID_MANU_CMD:\n");
}
return pdubuf_res;
}
#endif // Disable vulnerable code
#ifdef BTN_SETUP // This option can not co-exist with WCLIENT
case NET_CMD_ID_SETKEY_EX:
{
Expand Down

0 comments on commit 4f41f9a

Please sign in to comment.