You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by GitBox <gi...@apache.org> on 2021/04/19 11:26:12 UTC

[GitHub] [thrift] ulidtko commented on pull request #2369: Abnormal Branch Memory Leak

ulidtko commented on pull request #2369:
URL: https://github.com/apache/thrift/pull/2369#issuecomment-822393437


   > Is this related to THRIFT-5399 maybe? A bit more information could really help to move on with this.
   
   No, that's different AFAICS. There, a socket leaks on `listen` failure; here, a memory allocation leaks on deserialization failure.
   
   I suppose, repro of this issue involves running a `c_glib` client on intentionally malformed buffers & under a leak detector (asan/valgrind). Then, the leak would trigger whenever we expect to read an i32 but get something else instead.


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