Bugzilla – Attachment 831 Details for
Bug 948
high CPU in sshd after tcp_wrappers deny
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check for closed fd in openssl's RAND_query_egd_bytes
openssl-rand.patch (text/plain), 538 bytes, created by
Darren Tucker
on 2005-02-19 13:55:03 AEDT
(
hide
)
Description:
check for closed fd in openssl's RAND_query_egd_bytes
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-02-19 13:55:03 AEDT
Size:
538 bytes
patch
obsolete
>--- crypto/rand/rand_egd.c.orig 2005-02-19 13:43:40.126362200 +1100 >+++ crypto/rand/rand_egd.c 2005-02-19 13:45:53.745049072 +1100 >@@ -216,7 +216,7 @@ > while (numbytes != 1) > { > num = read(fd, egdbuf, 1); >- if (num >= 0) >+ if (num > 0) > numbytes += num; > else > { >@@ -246,7 +246,7 @@ > while (numbytes != egdbuf[0]) > { > num = read(fd, retrievebuf + numbytes, egdbuf[0] - numbytes); >- if (num >= 0) >+ if (num > 0) > numbytes += num; > else > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 948
:
737
|
788
|
822
|
823
|
824
|
825
|
830
|
831
|
832
|
833