Skip to contentSkip to conversation

getnetconfigent: avoid potential DoS issue by removing unnecessary sleep

PATCH In review Zhi Li 2 participants 2 messages Dec 16, 2022 – Jan 11, 2023

Subsystems (2)
lore
Share & tools
lore

Zhi Li

author
#0 lore raw

PATCH 1/1 getnetconfigent: avoid potential DoS issue by removing unnecessary sleep

---
 src/getnetconfig.c | 1 -
 1 file changed, 1 deletion(-)
src/getnetconfig.c +0 -1
index cfd33c2..9acd8c7 100644
@@ -439,7 +439,6 @@ getnetconfigent(netid)
 	fprintf(stderr, "See UPDATING entry 20021216 for details.\n");
 	fprintf(stderr, "Continuing in 10 seconds\n\n");
 	fprintf(stderr, "This warning will be removed 20030301\n");
-	sleep(10);
 
     }
 
Signature · 1 line
2.38.1
#1 lore raw
Quoted 7 lines · Zhi Li

Subject:
[PATCH] [nfs/nfs-utils/libtirpc] getnetconfigent: avoid potential DoS issue by removing unnecessary sleep From:
Zhi Li <[email protected]>
Date:
12/16/22, 12:11 AM

Quoted 7 lines

To:
[email protected]
CC:
[email protected], Zhi Li <[email protected]>

Committed...

steved.

Quoted 18 lines
---
  src/getnetconfig.c | 1 -
  1 file changed, 1 deletion(-)
src/getnetconfig.c +0 -2
index cfd33c2..9acd8c7 100644
@@ -439,7 +439,6 @@ getnetconfigent(netid)
  	fprintf(stderr, "See UPDATING entry 20021216 for details.\n");
  	fprintf(stderr, "Continuing in 10 seconds\n\n");
  	fprintf(stderr, "This warning will be removed 20030301\n");
-	sleep(10);
 
      }
 
-- 2.38.1