bryancall opened a new pull request, #14080: URL: https://github.com/apache/trafficserver/pull/14080
Fixes 14 Coverity Scan copy-instead-of-move and auto-copy reports. - abuse_shield, jax_fingerprint, rate_limit, stek_share: move locals on their last use (the reloaded config, a fingerprint registry, the config file name, the SNI limiter tag and prefix, and the raft log buffer). - txn_box: pass loop-local YAML nodes as rvalues. yaml-cpp's Node has no move constructor, so this still copies; it matches the existing call in Comparison.cc and clears the report. - NextHop strategy parsing: name `std::string` where `auto` already copied a YAML scalar, so the copy is visible. No behavior change. Each moved-from object was checked for later reads and for aliasing with the destination. Tested with ASAN: the unit tests (1400 passed) and the Uranium tests for these plugins and the next hop strategies (123 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]
