You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/07/01 08:41:50 UTC

[GitHub] [dubbo-hessian-lite] manzhizhen opened a new pull request #35: 对反序列化添加校验

manzhizhen opened a new pull request #35:
URL: https://github.com/apache/dubbo-hessian-lite/pull/35


   参见:https://github.com/apache/dubbo/pull/5733#issuecomment-626606397
   
   org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation#decode方法中
                   args = new Object[pts.length];
                   for (int i = 0; i < args.length; i++) {
                       try {
                           args[i] = in.readObject(pts[i]);
                       } catch (Exception e) {
                           if (log.isWarnEnabled()) {
                               log.warn("Decode argument failed: " + e.getMessage(), e);
                           }
                       }
                   }
   
    in.readObject 在内部的反序列化是没有使用传入的类型(即pts[i])


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-hessian-lite] chickenlj closed pull request #35: 对反序列化添加校验

Posted by GitBox <gi...@apache.org>.
chickenlj closed pull request #35:
URL: https://github.com/apache/dubbo-hessian-lite/pull/35


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-hessian-lite] chickenlj commented on pull request #35: 对反序列化添加校验

Posted by GitBox <gi...@apache.org>.
chickenlj commented on pull request #35:
URL: https://github.com/apache/dubbo-hessian-lite/pull/35#issuecomment-659811723


   Thanks. We've already added whitelist mechanism in 3.2.8


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org