diff options
author | 2007-01-06 23:21:08 +0000 | |
---|---|---|
committer | 2007-01-06 23:21:08 +0000 | |
commit | 644708312c1cb0241a0c281f013cf0738ab230ba (patch) | |
tree | 95e9eb727bd448821ed6abd82f16033832e97773 /usr.bin/cvs/commit.c | |
parent | sync (diff) | |
download | wireguard-openbsd-644708312c1cb0241a0c281f013cf0738ab230ba.tar.xz wireguard-openbsd-644708312c1cb0241a0c281f013cf0738ab230ba.zip |
Fix options parsing. Last commit lost the proper length of the
incoming packet. But since we bzero() the packet buffer before
copying the incoming data into it, and the options are at the end, and
we use a fixed sized buffer, and 0's are ignored as pad options, and
proper option lists end with 0xff, it's simplier to always try to scan
the whole buffer.
Problem found by, and patch tested by kettenis@.
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions