Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check return value of read_all(...) call
All other users of read_all(...) check the return value: ``` hsmd/hsm.c: if (!read_all(fd, &secretstuff.hsm_secret, sizeof(secretstuff.hsm_secret))) test/test_protocol.c: if (!read_all(fd, p, len)) wire/wire_sync.c: if (!read_all(fd, &len, sizeof(len))) wire/wire_sync.c: if (!read_all(fd, msg, wirelen_to_cpu(len))) ```
- Loading branch information