commit | 57a9e7b7ccb900a8d0d8808098fd5beaf75d6332 | [log] [tgz] |
---|---|---|
author | Andrew Gaul <gaul@apache.org> | Mon Aug 01 21:19:15 2022 +0900 |
committer | Andrew Gaul <andrew@gaul.org> | Thu Aug 04 21:17:44 2022 +0900 |
tree | 6fc3b0ff688fd135b9097c36e9ad20086568d18f | |
parent | 5067897ff5f9d6405215e9cb71771072f9a58a7b [diff] |
Deep copy Blob in LocalBlobStore.getBlob ByteSourcePayload.openStream is not thread safe and lack of synchronization can throw ArrayIndexOutOfBoundsExceptions. Instead deep copy the underlying Payload. Fixes gaul/s3proxy#303.
Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.
For more information about using or contributing to jclouds, please visit our website at jclouds.apache.org.
Copyright (C) 2009-2022 The Apache Software Foundation
Licensed under the Apache License, Version 2.0