lhotari commented on pull request #10215:
URL: https://github.com/apache/pulsar/pull/10215#issuecomment-821200495


   > We can simply "clone" the CommandGetSchemaResponse inside 
`handleGetSchemaResponse`, this way we decode the ByteBuf and we return a safe 
object to the caller
   
   @eolivelli  Good idea. I revisited the changes and also found 2 other 
locations where a copy is needed.


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


Reply via email to