liumh8 opened a new issue #1131: URL: https://github.com/apache/incubator-brpc/issues/1131
如果这里[parser](https://github.com/apache/incubator-brpc/blob/4e519089a4f009c6892409a1a70d76fdb07eb5d5/src/brpc/policy/redis_protocol.cpp#L172)返回`PARSE_ERROR_NOT_ENOUGH_DATA`,说明只解析了一部分,但是[arena](https://github.com/apache/incubator-brpc/blob/4e519089a4f009c6892409a1a70d76fdb07eb5d5/src/brpc/policy/redis_protocol.cpp#L192)会把之前已解析参数申请的内存释放掉,那么等这个命令完全解析后,使用时就引用了非法内存地址。 ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
