Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.owncloud.android.lib.common.OwnCloudClientManagerFactory;
import com.owncloud.android.lib.common.utils.Log_OC;
import com.owncloud.android.utils.EncryptionUtils;
import io.github.pixee.security.ObjectInputFilters;

import org.apache.commons.httpclient.HttpConnection;
import org.apache.commons.httpclient.HttpMethodBase;
Expand Down Expand Up @@ -208,6 +209,7 @@ private <T extends Serializable> ByteArrayInputStream serializeObjectToInputStre
private <T extends Serializable> T deserializeObjectAndCloseStream(InputStream is) throws IOException,
ClassNotFoundException {
ObjectInputStream ois = new ObjectInputStream(is);
ObjectInputFilters.enableObjectFilterIfUnprotected(ois);
T result = (T) ois.readObject();
is.close();
ois.close();
Expand Down
Loading