jdanekrh opened a new pull request #448: DISPATCH-1262: fix GCC 8.2 
format-truncation error in router/src/main.c
URL: https://github.com/apache/qpid-dispatch/pull/448
   Gcc warns because `getcwd` on Linux may allocate and return new buffer,
   so don't ignore the returned value. And cur_path may in theory be null
   going in if previous `calloc` failed.
   It is unlikely we would end up with cur_path = NULL as parameter to `%s`
   in a formatting string later below, but it is possible, given very
   careful timing and sufficiently malicious user, I think.
   Change is made to silence GCC warning, so that ``-fsanitize=undefined` 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to