diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-16 18:13:05 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-09-18 10:15:48 +0200 |
commit | 62e5f8f96114a872354103ef566b5c74a16154d4 (patch) | |
tree | 08c946da5a14b1e98bf83234f625973ae7dd8c30 /src/qt/optionsdialog.cpp | |
parent | c14bfea8eee5498f3c7d4f582b6fb7ac18ec1a62 (diff) |
CMessageHeader sanity changes
- Remove spurious `pchCommand[1] = 1` in CMessageHeader()
- Make sure that pchCommand is zero-padded if length is shorter than
COMMAND_SIZE
- Use strnlen to determine length of pcmCommand in GetCommand
Diffstat (limited to 'src/qt/optionsdialog.cpp')
0 files changed, 0 insertions, 0 deletions