[ 
https://issues.apache.org/jira/browse/AMQ-7399?focusedWorklogId=384310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-384310
 ]

ASF GitHub Bot logged work on AMQ-7399:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Feb/20 10:02
            Start Date: 10/Feb/20 10:02
    Worklog Time Spent: 10m 
      Work Description: coheigea commented on pull request #446: [AMQ-7399] 
org.apache.activemq.SERIALIZABLE_PACKAGES doesn't contain java* by default
URL: https://github.com/apache/activemq/pull/446#discussion_r376960252
 
 

 ##########
 File path: 
activemq-client/src/test/java/org/apache/activemq/util/ClassLoadingAwareObjectInputStreamTest.java
 ##########
 @@ -35,6 +35,10 @@
 
 public class ClassLoadingAwareObjectInputStreamTest {
 
+    static {
+        System.setProperty("org.apache.activemq.SERIALIZABLE_PACKAGES", 
"java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper");
 
 Review comment:
   Just java.util here fixes the tests in activemq-client
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 384310)
    Time Spent: 20m  (was: 10m)

> SERIALIZABLE_PACKAGES should exclude java* by default
> -----------------------------------------------------
>
>                 Key: AMQ-7399
>                 URL: https://issues.apache.org/jira/browse/AMQ-7399
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.15.10, 5.15.11
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 5.16.0, 5.15.12
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> To avoid potential security issue when using {{ObjectMessage}}, 
> {{SERIALIZABLE_PACKAGE}} should be limited by default. Now, it contains 
> {{java.lang, ...}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to