jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7119) Restrict de-serialization mechanism for older serialized cache map in DataStoreCacheUtils to the classes required
Date Wed, 03 Jan 2018 11:21:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309505#comment-16309505
] 

Amit Jain commented on OAK-7119:
--------------------------------

Changed the deserialization code to use the above commons-io wrapper with http://svn.apache.org/viewvc?rev=1819950&view=rev

> Restrict de-serialization mechanism for older serialized cache map in DataStoreCacheUtils
to the classes required
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-7119
>                 URL: https://issues.apache.org/jira/browse/OAK-7119
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-plugins
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>             Fix For: 1.8, 1.7.15
>
>
> We could use the class https://commons.apache.org/proper/commons-io/javadocs/api-2.5/org/apache/commons/io/serialization/ValidatingObjectInputStream.html
to restrict de-serialization to the required classes and throw errors in case of others.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message