Q-W0 code-review remediation: pitch_shift follower self-heal, T3-03 rate bail, doc/comment riders

This commit is contained in:
2026-07-28 19:27:12 -04:00
parent 15d293b42f
commit 16b2a1b8ca
5 changed files with 79 additions and 14 deletions
+3
View File
@@ -140,6 +140,9 @@ public:
private:
bool fail() { ok_ = false; return false; }
// TODO(Q-W1): strtol does not check errno/range here, so an out-of-range field narrows
// silently to LONG_MAX (then truncates into `int`) instead of failing parse. Flagged for
// the Q-W1 wire-codec collapse rather than fixed in place.
static bool toInt(const std::string& f, int& out) {
const char* b = f.c_str();
char* end = nullptr;