bryancall opened a new pull request, #14115:
URL: https://github.com/apache/trafficserver/pull/14115

   Fixes eight Coverity Scan reports of an ignored return value.
   
   - `RecFileGetSize()` returns -1 when `fstat()` fails, so 
`RecFileImport_Xmalloc()` fails instead of allocating from an uninitialized 
size. Adds a unit test; the failure case fails without the fix.
   - `UnixNetVConnection::connectUp()` fails when a plugin-supplied fd 
(`TSVConnFdCreate()`) cannot be made non-blocking, like every other caller of 
`set_nonblocking()`.
   - secure_link example: a failed digest is logged and treated as a token 
mismatch.
   - certifier: debug-log a failure to create the certificate directory.
   - Mark four results as ignored on purpose, each with the reason: the accept 
throttle's `poll()` in `safe_delay()`, the error signal in `net_write_io()`, 
the ja4h client request lookup, and the header_rewrite set-destination URL 
refresh.
   
   Tested with ASAN in the fedora:45 CI image: all 1419 unit tests, and the 
Uranium tests for header_rewrite, jax_fingerprint, certifier and TSVConnFd (49 
passed).
   


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