sahvx655-wq opened a new pull request, #310:
URL: https://github.com/apache/calcite-avatica/pull/310

   CursorFactory.fromProto resolves a wire-supplied class name with 
Class.forName(String), which initializes the class and runs its static 
initializer. The server hits this while parsing an ExecuteRequest from an 
untrusted client (StatementHandle -> Signature -> CursorFactory), so a client 
can make the server load and initialize any class on its classpath. Resolve 
with the three-arg form and initialize=false; the class is still linked but no 
static code runs at parse time.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to