<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/fdisk/misc.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/misc.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/fdisk/misc.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-03T03:24:01Z</updated>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-03T03:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=515e489c3d599b9cfcdf9cf6842ac49f92e154d6'/>
<id>urn:sha1:515e489c3d599b9cfcdf9cf6842ac49f92e154d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Range check default values so that a range like</title>
<updated>2017-11-16T11:08:28Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2017-11-16T11:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=47b814cf713ca15f07fb2e6871bbb61828755144'/>
<id>urn:sha1:47b814cf713ca15f07fb2e6871bbb61828755144</id>
<content type='text'>
'[1 - 0] [1]' can no longer return '1'.

Issue reported by Alexi Malinin via bugs@. Thanks!
</content>
</entry>
<entry>
<title>When prompting for a GPT partition type, use the partition's current type as</title>
<updated>2015-11-26T08:15:07Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-11-26T08:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=145e5a872a9b83c8670aad345be452d26cf1d696'/>
<id>urn:sha1:145e5a872a9b83c8670aad345be452d26cf1d696</id>
<content type='text'>
default; OK krw@
</content>
</entry>
<entry>
<title>When prompting for an LBA, show the min and max values in the prompt; OK krw@</title>
<updated>2015-11-26T08:10:42Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-11-26T08:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=192e349726a154708a7b6a66e91689107852eccc'/>
<id>urn:sha1:192e349726a154708a7b6a66e91689107852eccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bring GPT partition editing into line with MBR partition editing</title>
<updated>2015-11-21T16:45:41Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-21T16:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=684c15929ab3ac3abbbcdba77d2d06b5fd9f917c'/>
<id>urn:sha1:684c15929ab3ac3abbbcdba77d2d06b5fd9f917c</id>
<content type='text'>
by presenting the existing offset and size as the defaults. Enhance
getuint64() to take a minimum value as ask_num() does. Use this to
ensure that GPT partitions are constrained to the valid area of the
disk. Leave MBR partition constraints alone for the moment.

Original problem(s) noted by tim@
</content>
</entry>
<entry>
<title>Reduce overburden of unnecessary #include's. Note that param.h is</title>
<updated>2015-11-19T16:14:08Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-19T16:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=729290c09912c0d5e7dd018b9160d224c99a3d99'/>
<id>urn:sha1:729290c09912c0d5e7dd018b9160d224c99a3d99</id>
<content type='text'>
included only for DEV_BSIZE.  Use INT64_MAX instead of LLONG_MAX
so stdint.h is enough.  General tidying up of #include sections.

ok GCC
</content>
</entry>
<entry>
<title>Simplify string_from_line(). No functional change.</title>
<updated>2015-11-12T17:54:50Z</updated>
<author>
<name>tim</name>
<email>tim@openbsd.org</email>
</author>
<published>2015-11-12T17:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3542f16852ed5405c15f5e1d917d989a54af1666'/>
<id>urn:sha1:3542f16852ed5405c15f5e1d917d989a54af1666</id>
<content type='text'>
OK krw@
</content>
</entry>
<entry>
<title>Avoid problems with pathological input during edit operations. i.e. never</title>
<updated>2015-11-12T15:07:41Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-12T15:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=72070960b809a8c0e77907ab82f1e22c27fc3fdf'/>
<id>urn:sha1:72070960b809a8c0e77907ab82f1e22c27fc3fdf</id>
<content type='text'>
attempt to use data past the end of the input.

Since the return value of ask_cmd() is never checked, make it void instead
of int.

Problems found, original diff from and ok tim@.
</content>
</entry>
<entry>
<title>Don't allow the user to enter GPT partition names too large to fit</title>
<updated>2015-11-03T14:20:00Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-11-03T14:20:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a033f675b042c0fb414e8e09d0b37f9dcd4e43f1'/>
<id>urn:sha1:a033f675b042c0fb414e8e09d0b37f9dcd4e43f1</id>
<content type='text'>
in the GPT partition structure. And don't run off the end of the
name buffer by confusing sizeof() with the number of elements in
an array.  Use the new GPTPARTNAMESIZE #define instead. While here,
zap the old partition name before setting the new one, lest a short
new name leave bits of an old long name in place.

Originally spotted by jsg@ and his friend cppcheck.

ok jsg@ for slightly different version.
</content>
</entry>
<entry>
<title>Add GPT editing. Based on GSOC 2014 work by Markus Muller.</title>
<updated>2015-10-26T15:08:26Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-10-26T15:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fba7235c8f065143ebcde5dd90e0f7eb8ce85042'/>
<id>urn:sha1:fba7235c8f065143ebcde5dd90e0f7eb8ce85042</id>
<content type='text'>
</content>
</entry>
</feed>
