corznoc opened a new issue, #3372:
URL: https://github.com/apache/brpc/issues/3372

   **Describe the bug**
   selective_channel.cpp:
   <img width="1097" height="2425" alt="Image" 
src="https://github.com/user-attachments/assets/1ded39be-3399-4622-a5fe-dbf460d0956a";
 />
   <img width="1200" height="1869" alt="Image" 
src="https://github.com/user-attachments/assets/cfa44d47-07c4-4066-aafd-ad4165795e1e";
 />
   
   对于一些无反射的Message(RedisResponse), GetRelection()会返回空指针。
   看了下PopFree()方法,之前的版本response成员,会使用用户传下来的response,
   从而不会触发message交换。
   
   **To Reproduce**
   CallMethod使用RedisRequest和RedisResponse时,由于触发该问题。
   
   **Expected behavior**
   会引用空指针,触发SIGSEGV,反生coredump
   
   **Versions**
   OS: CentOS
   Compiler: gcc
   brpc: 1.17.0
   protobuf: 3.25.8
   
   **Additional context/screenshots**
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to