Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: aaae71af4bd2952efdc3462fde086faa6a604ee2
      
https://github.com/jenkinsci/jenkins/commit/aaae71af4bd2952efdc3462fde086faa6a604ee2
  Author: Daniel Trebbien <dtrebb...@gmail.com>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M core/src/main/java/hudson/Util.java

  Log Message:
  -----------
  [JENKINS-49971] Fix a race condition in Util.loadFile() (#3225)

* Fix a race condition in Util.loadFile()

If the file is deleted in between when its existence is checked and the
file is opened for reading, then the method will fail to return an empty
string.

* Switch to using FileUtils.readFileToString()


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to