1. 13 Jul, 2015 1 commit
  2. 08 Jul, 2015 1 commit
  3. 28 May, 2015 3 commits
  4. 12 Dec, 2014 2 commits
  5. 11 Dec, 2014 1 commit
    • Neil Fuller's avatar
      Fix for TLS HTTP connections with GMS sockets · bfeba0c4
      Neil Fuller authored
      The logic was incorrect. If the socket is not the platform version all
      connection attempts would be treated as fallbacks.
      
      Bug: 18675956
      Change-Id: I7bb1f84127fbede75f12b0a8dec7d4a7374f0b22
      bfeba0c4
  6. 19 Nov, 2014 3 commits
  7. 10 Oct, 2014 2 commits
  8. 08 Oct, 2014 1 commit
    • Neil Fuller's avatar
      Add support for TLS_FALLBACK_SCSV · 6c9609af
      Neil Fuller authored
      Backport of commits:
      
      external/conscrypt: 8d7e23e117da591a8d48e6bcda9ed6f58ff1a375
      libcore: e6a6e935
      libcore: 957ec8b0
      
      Plus additional changes to:
      luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java
      luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java
      luni/src/test/java/libcore/java/net/URLConnectionTest.java
      luni/src/test/java/org/apache/harmony/xnet/provider/jsse/CipherSuiteTest.java
      support/src/test/java/libcore/java/security/StandardNames.java
      
      to account for KitKat differences.
      
      Bug: 17750026
      Change-Id: Ic6e9474275bc3ffec3b5c2d6df1f8d6ffe77bff8
      6c9609af
  9. 07 Oct, 2014 1 commit
    • Neil Fuller's avatar
      Add support for TLS_FALLBACK_SCSV · 865c83f8
      Neil Fuller authored
      Backport of commits:
      
      external/conscrypt: 8d7e23e117da591a8d48e6bcda9ed6f58ff1a375
      libcore: e6a6e935
      libcore: 957ec8b0
      
      Plus additional changes to:
      luni/src/main/java/libcore/net/http/HttpConnection.java
      luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLServerSocketImpl.java
      luni/src/main/java/org/apache/harmony/xnet/provider/jsse/OpenSSLSocketImpl.java
      luni/src/test/java/libcore/java/net/URLConnectionTest.java
      luni/src/test/java/org/apache/harmony/xnet/provider/jsse/CipherSuiteTest.java
      support/src/test/java/libcore/java/security/StandardNames.java
      
      to account for JellyBean differences.
      
      Bug: 17750026
      Change-Id: I7b60b1260fa0b275631ce9987168c7b5fc7ca138
      865c83f8
  10. 29 Aug, 2014 2 commits
  11. 28 Aug, 2014 1 commit
    • Neil Fuller's avatar
      Add additional field checks for deserialization. · 008b2de6
      Neil Fuller authored
      Check that a field is not static when deserializing.
      
      Contains some additional tests to confirm and document behavior
      and prevent regressions for field deserialization.
      
      (cherry picked from commit f4d72bcf)
      Bug: 17202597
      
      Change-Id: I72456a8b45ca0de1d3dd2b0f9515548b02e0a7be
      008b2de6
  12. 25 Jul, 2014 7 commits
  13. 21 Jul, 2014 8 commits
  14. 17 Jul, 2014 1 commit
    • Neil Fuller's avatar
      Add additional checks in ObjectInputStream · 47f0ec56
      Neil Fuller authored
      Thanks to Jann Horn for reporting a bug in ObjectInputStream
      and sending the initial patch.
      
      Add some checks that the class of an object
      being deserialized still conforms to the requirements
      for serialization.
      
      Add some checks that the class being deserialized matches
      the type information (enum, serializable, externalizable)
      held in the stream.
      
      Delayed static initialization of classes until the
      type of the class has been validated against the stream
      content in some cases.
      
      Added more tests.
      
      Bug: 15874291
      (cherry picked from commit 738c833d)
      
      Change-Id: I9f5437ed60936882de56589537176466624e631d
      47f0ec56
  15. 07 Jul, 2014 1 commit
  16. 08 Jul, 2014 1 commit
    • Mathieu Chartier's avatar
      Fix race condition in WeakHashMapTest. · 23611d7f
      Mathieu Chartier authored
      There was a race condition where the reference queue daemon wouldn't
      necessarily have processed the cleared references by the time we
      called WeakHashMap.size(). The race is fixed by doing a busy wait
      with a 5 second timeout. This should't increase the test time in the
      average case since the cleared weak references should be processed
      shortly after induceFinalization finishes.
      
      Bug: 15775475
      
      Change-Id: Id5a532c2a9b3377641523aaed67f1b48a8ec632b
      
      (cherry picked from commit 97afbd79)
      23611d7f
  17. 30 Apr, 2014 4 commits