Message ID | 20221216051132.2569403-1-yieli@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [nfs/nfs-utils/libtirpc] getnetconfigent: avoid potential DoS issue by removing unnecessary sleep | expand |
On 12/16/22 12:11 AM, Zhi Li wrote: > Subject: > [PATCH] [nfs/nfs-utils/libtirpc] getnetconfigent: avoid potential DoS > issue by removing unnecessary sleep > From: > Zhi Li <yieli@redhat.com> > Date: > 12/16/22, 12:11 AM > > To: > linux-nfs@vger.kernel.org > CC: > steved@redhat.com, Zhi Li <yieli@redhat.com> > > > Signed-off-by: Zhi Li<yieli@redhat.com> Committed... steved. > --- > src/getnetconfig.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/src/getnetconfig.c b/src/getnetconfig.c > index cfd33c2..9acd8c7 100644 > --- a/src/getnetconfig.c > +++ b/src/getnetconfig.c > @@ -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 >
diff --git a/src/getnetconfig.c b/src/getnetconfig.c index cfd33c2..9acd8c7 100644 --- a/src/getnetconfig.c +++ b/src/getnetconfig.c @@ -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); }
Signed-off-by: Zhi Li <yieli@redhat.com> --- src/getnetconfig.c | 1 - 1 file changed, 1 deletion(-)