Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED JENKINS-37539] - Prevent NPE in Engine#connect() when host or port are null or empty #101

Conversation

@ghost
Copy link

ghost commented Aug 19, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@jglick
Copy link
Member

jglick commented Aug 23, 2016

🐝

@oleg-nenashev
Copy link
Member Author

@reviewbybees done

@oleg-nenashev oleg-nenashev merged commit 98107a2 into jenkinsci:stable-2.x Aug 26, 2016
oleg-nenashev added a commit that referenced this pull request Sep 26, 2016
* [maven-release-plugin] prepare release remoting-2.62

* [maven-release-plugin] prepare for next development iteration

* [FIXED JENKINS-37539] - Prevent NPE in Engine#connect() when host or port are null or empty (#101)

Bug diagnosis:
* https://scan8.coverity.com/reports.htm#v14462/p10499/fileInstanceId=12836372&defectInstanceId=4427367&mergedDefectId=152195
* https://scan8.coverity.com/reports.htm#v14462/p10499/fileInstanceId=12836372&defectInstanceId=4427365&mergedDefectId=152194

* [CID-152201] - Fix resource leak in remoting.jnlp.Main (#102)

* [CID-152200,CID-152202] - Resource leak in Cipher I/O streams on exceptional paths (#104)

* [CID-152200,CID-152202] - Resource leak in Cipher I/O streams on exceptional paths

* https://scan8.coverity.com/reports.htm#v14462/p10499/fileInstanceId=12836377&defectInstanceId=4427377&mergedDefectId=152202
* https://scan8.coverity.com/reports.htm#v14462/p10499/fileInstanceId=12836377&defectInstanceId=4427377&mergedDefectId=152200

* [CID-152202] - Fix typo noticed by @olivergondza

* Fix another merge conflict

* Remove EngineUtil#closeAndLogFailures()
oleg-nenashev added a commit to jenkinsci/jenkins that referenced this pull request Oct 9, 2016
2.61 does not exist, there was an issue during the release
Changes in 2.62: https://github.com/jenkinsci/remoting/blob/stable-2.x/CHANGELOG.md#2622

* [JENKINS-38539](https://issues.jenkins-ci.org/browse/JENKINS-38539) - 
Stability: Turn on SO_KEEPALIVE and provide CLI option to turn it off again.
(jenkinsci/remoting#110)
* [JENKINS-37539](https://issues.jenkins-ci.org/browse/JENKINS-37539) - 
Prevent <code>NullPointerException</code> in <code>Engine#connect()</code> when host or port parameters are <code>null</code> or empty.
(jenkinsci/remoting#101)
* [CID-152201] - 
Fix resource leak in <code>remoting.jnlp.Main</code>.
(jenkinsci/remoting#102)
* [CID-152200,CID-152202] - 
Resource leak in Encryption Cipher I/O streams on exceptional paths.
(jenkinsci/remoting#104)
oleg-nenashev added a commit to jenkinsci/jenkins that referenced this pull request Oct 11, 2016
…2585)

2.61 does not exist, there was an issue during the release
Changes in 2.62: https://github.com/jenkinsci/remoting/blob/stable-2.x/CHANGELOG.md#2622

* [JENKINS-38539](https://issues.jenkins-ci.org/browse/JENKINS-38539) - 
Stability: Turn on SO_KEEPALIVE and provide CLI option to turn it off again.
(jenkinsci/remoting#110)
* [JENKINS-37539](https://issues.jenkins-ci.org/browse/JENKINS-37539) - 
Prevent <code>NullPointerException</code> in <code>Engine#connect()</code> when host or port parameters are <code>null</code> or empty.
(jenkinsci/remoting#101)
* [CID-152201] - 
Fix resource leak in <code>remoting.jnlp.Main</code>.
(jenkinsci/remoting#102)
* [CID-152200,CID-152202] - 
Resource leak in Encryption Cipher I/O streams on exceptional paths.
(jenkinsci/remoting#104)
oleg-nenashev added a commit to jenkinsci/jenkins that referenced this pull request Nov 6, 2016
This PR picks the latest available version of remoting stable-2.x. All the fixes have been integrated into remoting-3.0 and soaked enough.

* [JENKINS-38539](https://issues.jenkins-ci.org/browse/JENKINS-38539) - 
Stability: Turn on SO_KEEPALIVE by default and provide CLI option to turn it off again.
(jenkinsci/remoting#110)
* [JENKINS-37539](https://issues.jenkins-ci.org/browse/JENKINS-37539) - 
Prevent <code>NullPointerException</code> in <code>Engine#connect()</code> when host or port parameters are <code>null</code> or empty.
(jenkinsci/remoting#101)
* [CID-152201] - 
Fix resource leak in <code>remoting.jnlp.Main</code>.
(jenkinsci/remoting#102)
* [CID-152200,CID-152202] - 
Resource leak in Encryption Cipher I/O streams on exceptional paths.
(jenkinsci/remoting#104)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants