Say what is true for a TLV too, and cover the to half of the check
Mirror / push (push) Successful in 5s
Test / lint (pull_request) Successful in 21s
Test / test (18) (pull_request) Successful in 30s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 31s
Test / test (24) (pull_request) Successful in 29s
Test / test (26) (pull_request) Successful in 30s

This commit is contained in:
2026-09-21 08:20:59 +02:00
parent dc690b912f
commit a7eb4923f5
5 changed files with 38 additions and 35 deletions
+6
View File
@@ -189,6 +189,12 @@ and is also what the panel ranked hardest — two methods, one answer.
### Correctness, ahead of everything below
- [ ] **Refuse a non-finite number where a text field coerces one.** `wantText()` in `defs/types.ts`
stringifies a number so `message_id: 123` writes `"123"`, which is deliberate and tested. It
takes `NaN` and `Infinity` on the same path, so `sendSms({ from: NaN })` puts the literal sender
`NaN` on the wire and reports success — goal 2. Gate the numeric branch on `Number.isFinite`.
Predates the latin1 guard; found by the stability review of #16.
- [ ] **Answer `alert_notification` and `outbind` by not answering them.** Both are response-less in
SMPP 3.4, both fall through `route()`'s default into `unhandled()`, which calls
`sendReturn(pduObj, 'ESME_RINVCMDID')`; `pduReturn()` then finds no response command, and the