summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff3/diff3prog.c
diff options
context:
space:
mode:
authorbenno <benno@openbsd.org>2016-10-18 19:47:52 +0000
committerbenno <benno@openbsd.org>2016-10-18 19:47:52 +0000
commit72608fce57504bbf713881e715a5d4d72047a208 (patch)
tree428c3f9e92f41aef439283776baf821031cc6f23 /usr.bin/diff3/diff3prog.c
parentAdd the examine /m format, "display in unsigned hex with character (diff)
downloadwireguard-openbsd-72608fce57504bbf713881e715a5d4d72047a208.tar.xz
wireguard-openbsd-72608fce57504bbf713881e715a5d4d72047a208.zip
"Terminate the session after number prefixes have been received" means
that max-prefix 1 will close the session on the first prefix which is off by one to what one would expect. Change it to No. received > max-prefix, which is also in line with other implementations. Found by jbg@ and deraadt@. ok phessler@ deraadt@ henning@ claudio@
Diffstat (limited to 'usr.bin/diff3/diff3prog.c')
0 files changed, 0 insertions, 0 deletions