PragmaTwice opened a new pull request, #1891:
URL: https://github.com/apache/kvrocks/pull/1891

   
https://github.com/apache/kvrocks/blob/78f87c409348bbde6839ccf4d7bb2be207efbf5e/src/cli/daemon_util.h#L75
   
   The value of `msg_namelen` may cause potentially overflow since 
`notify_socket` is not the real truncated one. So we need to use 
`strlen(notify_socket)` instead of `strlen(su.sun_path)`.
   
   Besides, some other code has been cleaned up.
   
   


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