[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5142) NullPointerException in com.novell.ldap.Connection.setSocketTimeOut
--Apple-Mail-7--754879607
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
I, Tim Nowaczyk, hereby place the following modifications to OpenLDAP
Software (and only these modifications) into the public domain.
Hence, these modifications may be freely used and/or redistributed
for any purpose with or without attribution and/or other notice.
--- openldap-jldap.orig/com/novell/ldap/Connection.java 2006-09-07
02:18:29.000000000 -0400
+++ openldap-jldap/com/novell/ldap/Connection.java 2007-09-18
15:56:17.000000000 -0400
@@ -689,7 +689,7 @@
{
try
{
- socket.setSoTimeout(timeout);
+ if (socket != null) socket.setSoTimeout(timeout);
myTimeOut = timeout;
} catch(SocketException e) {}
return;
--
Timothy Nowaczyk
Network Systems Engineer
University of Virginia - ITC
tan7f@virginia.edu
--Apple-Mail-7--754879607
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
name=smime.p7s
Content-Disposition: attachment;
filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPujCCBIIw
ggNqoAMCAQICAQEwDQYJKoZIhvcNAQEFBQAwgZ8xCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhWaXJn
aW5pYTEYMBYGA1UEBxMPQ2hhcmxvdHRlc3ZpbGxlMR8wHQYDVQQKExZVbml2ZXJzaXR5IG9mIFZp
cmdpbmlhMRswGQYDVQQDExJVVkEgVVNIRVIgUEtQIENBIDExJTAjBgkqhkiG9w0BCQEWFnBraW1h
c3RlckB2aXJnaW5pYS5lZHUwHhcNMDcwNzEyMjEyNzE0WhcNMjYwMjI1MDAwMDAwWjCBrzELMAkG
A1UEBhMCVVMxETAPBgNVBAgTCFZpcmdpbmlhMRgwFgYDVQQHEw9DaGFybG90dGVzdmlsbGUxHzAd
BgNVBAoTFlVuaXZlcnNpdHkgb2YgV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