<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/usr.bin/diff3, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/usr.bin/diff3?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/usr.bin/diff3?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-26T07:28:46Z</updated>
<entry>
<title>Fix merging of files that lack newlines for diff(3), OpenRCS, and OpenCVS.</title>
<updated>2020-06-26T07:28:46Z</updated>
<author>
<name>stsp</name>
<email>stsp@openbsd.org</email>
</author>
<published>2020-06-26T07:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c0c93af82c3cd03bb5d4a2c82b9679eb6f329afe'/>
<id>urn:sha1:c0c93af82c3cd03bb5d4a2c82b9679eb6f329afe</id>
<content type='text'>
Merges with a file that lacks newlines (\n) were triggering a fatal error.
This could be easily reproduced with merge(1) and diff3(1):
$ echo foo &gt; foo
$ echo bar &gt; bar
$ echo -n baz &gt; baz
$ merge -p foo bar baz
merge: failed to merge
$ diff3 -E foo bar baz
1a
=======
diff3prog: logic error
$

Fix this by properly handling short reads from the third file argument.
Only the third file argument triggered the problem. The other input
files were already handled correctly.

ok millert@
</content>
</entry>
<entry>
<title>Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor</title>
<updated>2019-09-28T17:30:07Z</updated>
<author>
<name>ajacoutot</name>
<email>ajacoutot@openbsd.org</email>
</author>
<published>2019-09-28T17:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1a49fa34ae3de435d3bc8be7cc75d47be4a71074'/>
<id>urn:sha1:1a49fa34ae3de435d3bc8be7cc75d47be4a71074</id>
<content type='text'>
X11R6).
Suggested by tb@

ok deraadt@ tb@ millert@
</content>
</entry>
<entry>
<title>I am retiring my old email address;  replace it with my OpenBSD one.</title>
<updated>2019-01-25T00:19:25Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2019-01-25T00:19:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bf198cc6eba0ca1f6d79f71e8e2243d386241fa8'/>
<id>urn:sha1:bf198cc6eba0ca1f6d79f71e8e2243d386241fa8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Using bitwise OR along with two assignments in the conditional of</title>
<updated>2016-10-18T21:06:52Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-10-18T21:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1c690bec2f8d115b6b179bfdda6bafd69d74f740'/>
<id>urn:sha1:1c690bec2f8d115b6b179bfdda6bafd69d74f740</id>
<content type='text'>
a while() loop is a trap for the unwary programmer (albeit a clever
trap).  Break this up into two separate assignments and using boolean
OR for clarity.  OK otto@
</content>
</entry>
<entry>
<title>Remove useless n=n assignment in the first parse of a for().</title>
<updated>2016-10-16T13:03:40Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2016-10-16T13:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bd1f19946165c11b292eb6916f7c95ca4bd8758d'/>
<id>urn:sha1:bd1f19946165c11b292eb6916f7c95ca4bd8758d</id>
<content type='text'>
It was already removed from the rcs version by nicm@.
</content>
</entry>
<entry>
<title>Change all tame callers to namechange to pledge(2).</title>
<updated>2015-10-09T01:37:06Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-10-09T01:37:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0bd1216cbfac4316d823b5f086842b66ddea2018'/>
<id>urn:sha1:0bd1216cbfac4316d823b5f086842b66ddea2018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tame "stdio rpath" or tame "stdio" suffices for all of these programs.</title>
<updated>2015-10-05T13:30:30Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-10-05T13:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=18cdc26982103640b171cb7ffc6bb8b153c21dc1'/>
<id>urn:sha1:18cdc26982103640b171cb7ffc6bb8b153c21dc1</id>
<content type='text'>
fairly easy to audit by running nm and noticing nothing beyond base
stdio except for fopen/freopen.  Then review all callpaths to those
functions, and place the tame() calls.
ok sthen
</content>
</entry>
<entry>
<title>Add brackets to clarify assignments that are the result of a test operator.</title>
<updated>2015-09-05T09:47:08Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2015-09-05T09:47:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d927f21f9c49cae2570fbd60317d0bf7ded5b7dc'/>
<id>urn:sha1:d927f21f9c49cae2570fbd60317d0bf7ded5b7dc</id>
<content type='text'>
ok deraadt@ looks correct millert@ jung@
</content>
</entry>
<entry>
<title>trivial reallocarray() use</title>
<updated>2014-12-01T06:36:32Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-12-01T06:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5302ee64421bdd32315e1a968606050d16544e0e'/>
<id>urn:sha1:5302ee64421bdd32315e1a968606050d16544e0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include unistd.h as it is the standard location for getopt().</title>
<updated>2013-11-15T22:20:04Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2013-11-15T22:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8929f197a799c6eb8f7d836041ad0e26b4b34bc6'/>
<id>urn:sha1:8929f197a799c6eb8f7d836041ad0e26b4b34bc6</id>
<content type='text'>
</content>
</entry>
</feed>
