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

   ## Summary
   
   Add default member initializers for pointer, scalar, and enum members
   that Coverity flagged as uninitialized in QUIC transport and C++ plugin
   API classes:
   
   - `QUICStreamError::stream` → `{nullptr}`
   - `QUICSentPacketInfo` fields: `packet_number`, `ack_eliciting`, 
`in_flight`, `sent_bytes`, `time_sent`, `type`, `pn_space`
   - `QUICSentPacketInfo::FrameInfo::_generator` → `{nullptr}`
   - `QUICTransferProgressProviderSA::_adapter` → `{nullptr}`
   - `InterceptPlugin::state_` → `{nullptr}`
   - `AsyncTimer::state_` → `{nullptr}`
   
   These are all simple in-class brace initializers with zero behavioral
   change — every construction path already assigns these members, but
   Coverity correctly notes that between base-class initialization and the
   constructor body they are indeterminate.
   
   ## Test plan
   
   - [x] Full build passes (macOS, default preset, ninja)
   - [x] All pre-commit hooks pass (clang-format, yapf, cmake-format, 
whitespace, line endings)
   - [ ] CI


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