<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcurses/base, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcurses/base?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcurses/base?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-10T20:16:08Z</updated>
<entry>
<title>Don't return ERR if resize didn't change size</title>
<updated>2021-03-10T20:16:08Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2021-03-10T20:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e283eadffc2fbc7023a7e8ddc1f991ccc0a677a0'/>
<id>urn:sha1:e283eadffc2fbc7023a7e8ddc1f991ccc0a677a0</id>
<content type='text'>
This is a backport of the ncurses 5.9 20120707 patch.
Previously, getch() would return ERR if SIGWINCH was received but
the window didn't actually change size.  This can happen, for
example, when the xterm font is changed.  OK tb@
</content>
</entry>
<entry>
<title>Fix a segmentation fault in ncurses.</title>
<updated>2019-11-15T14:45:37Z</updated>
<author>
<name>fcambus</name>
<email>fcambus@openbsd.org</email>
</author>
<published>2019-11-15T14:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cd1d31776778e1642057fd799144422010ed5cb0'/>
<id>urn:sha1:cd1d31776778e1642057fd799144422010ed5cb0</id>
<content type='text'>
This is a backported patch [1] from ncurses-5.7-20100501. It takes begx
and begy values into account when calculating lengths, in order to avoid
writing data past the end of the buffer when calling memset in wredrawln().

From upstream NEWS file:

20100501
        + correct limit-check in wredrawln, accounting for begy/begx values
          (patch by David Benjamin).

[1] https://lists.gnu.org/archive/html/bug-ncurses/2010-04/msg00017.html

OK nicm@
</content>
</entry>
<entry>
<title>lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */</title>
<updated>2015-09-27T05:25:00Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-27T05:25:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7637b2e319e5dd5a9b7683b74c34a238a500553a'/>
<id>urn:sha1:7637b2e319e5dd5a9b7683b74c34a238a500553a</id>
<content type='text'>
(others require more care)
</content>
</entry>
<entry>
<title>Fix a potential memory leak in an error path (although in code we don't</title>
<updated>2010-10-18T18:22:35Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2010-10-18T18:22:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ad64522442c40205be2025de1d2d82fe33ca4527'/>
<id>urn:sha1:ad64522442c40205be2025de1d2d82fe33ca4527</id>
<content type='text'>
currently use), spotted by zinovik.
</content>
</entry>
<entry>
<title>Update to ncurses 5.7, with local changes reapplied.</title>
<updated>2010-01-12T23:21:58Z</updated>
<author>
<name>nicm</name>
<email>nicm@openbsd.org</email>
</author>
<published>2010-01-12T23:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=81d8c4e1e65ef590376b5b08744af794c42bd575'/>
<id>urn:sha1:81d8c4e1e65ef590376b5b08744af794c42bd575</id>
<content type='text'>
This is around eight years worth of changes (previously we were around ncurses
5.2), too many to list - many bug fixes and also a few new functions.

A major bump for libcurses, libpanel, libform and libmenu.

ok deraadt
</content>
</entry>
<entry>
<title>memory leaks, found by parfait; ok millert</title>
<updated>2009-11-11T18:34:10Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2009-11-11T18:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b1a67f4caca3531e3a81c5a8ce40ce14d8db6149'/>
<id>urn:sha1:b1a67f4caca3531e3a81c5a8ce40ce14d8db6149</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove "unused variable" warnings</title>
<updated>2007-10-17T20:10:44Z</updated>
<author>
<name>chl</name>
<email>chl@openbsd.org</email>
</author>
<published>2007-10-17T20:10:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c87a726c3e27d4be66a6aec694a7a7f0b5ef6bd8'/>
<id>urn:sha1:c87a726c3e27d4be66a6aec694a7a7f0b5ef6bd8</id>
<content type='text'>
tested by deraadt@ on a gcc2 arch

looks ok ray@ ok deraadt@
</content>
</entry>
<entry>
<title>lint warns about some fishy type conversion.</title>
<updated>2006-05-14T09:01:06Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2006-05-14T09:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b09fd9d58463afc6d21e47699f0051bb653098f2'/>
<id>urn:sha1:b09fd9d58463afc6d21e47699f0051bb653098f2</id>
<content type='text'>
Indeed, some ints can be silently shortened to unsigned short.
Since those functions can return errors, do not convert spurious
parameters to the wrong values, but return an error code instead.

Tested for ill effects without any noticeable problems.

okay millert@, otto@
</content>
</entry>
<entry>
<title>Use snprintf() and strlcpy() in the generated lib_keyname.c</title>
<updated>2003-03-17T21:54:44Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2003-03-17T21:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=026fd911bb6591b9257ee81dc2e97a8f4daa9162'/>
<id>urn:sha1:026fd911bb6591b9257ee81dc2e97a8f4daa9162</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use snprintf throughout</title>
<updated>2003-03-17T19:16:59Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2003-03-17T19:16:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4700aafe2c09e3bf7bb4124a014ef9cb49af64fe'/>
<id>urn:sha1:4700aafe2c09e3bf7bb4124a014ef9cb49af64fe</id>
<content type='text'>
</content>
</entry>
</feed>
