CVS: cvs.openbsd.org: src

2015-08-26 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/08/26 13:33:17 Modified files: lib/libexpat/lib: xmlparse.c Log message: Put back local changes (revisions 1.2 to 1.4), which unfortunately got lost in the last upgrade. ok deraadt@

CVS: cvs.openbsd.org: src

2015-08-26 Thread Miod Vallat
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/08/26 13:36:23 Modified files: lib/libexpat/lib: xmlparse.c Log message: More overflow checks in XML_GetBuffer(), adapted from FreeBSD security advisory FreeBSD-SA-15:20. Most of them were already

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 00:33:57 Modified files: sys/kern : kern_tame.c Log message: After a report from jsg about a memory leak (or was it a double free?), refactor the code around getcwd and canonpath, with some

CVS: cvs.openbsd.org: www

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:www Changes by: dera...@cvs.openbsd.org 2015/08/26 11:02:36 Modified files: . : 58.html Log message: mention errata 001 in the right place

CVS: cvs.openbsd.org: www

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:www Changes by: dera...@cvs.openbsd.org 2015/08/26 11:02:17 Modified files: . : errata58.html Log message: unfortunate errata, before 5.8 comes available. Luckily we made the choice the installer prompts for no by default. Inverted

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 16:33:24 Modified files: sys/dev: firmload.c Log message: two simple sizes to free()

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 16:28:57 Modified files: sys/dev: bio.c Log message: trivial size to free()

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 16:29:39 Modified files: sys/dev/ata: wd.c Log message: trivial size to free()

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 16:36:18 Modified files: sys/dev: vnd.c Log message: Simple size for free(). These are a pleasure to convert when the allocation is clearly spelled out as ptr = malloc(sizeof(*ptr), ...)

CVS: cvs.openbsd.org: src

2015-08-26 Thread Martin Pieuchot
CVSROOT:/cvs Module name:src Changes by: m...@cvs.openbsd.org2015/08/26 03:40:31 Modified files: sys/net: if_bridge.c Log message: Use the specialized m_copym2() preserving the alignment of the payload in bridge_localbroadcast() too. This should fix another

CVS: cvs.openbsd.org: src

2015-08-26 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2015/08/26 03:17:20 Modified files: sys/dev/pci: if_em.c if_em.h Log message: Get rid if em_align. This approach used to make sense, but now that the hardware rx mtu always gets set to the

CVS: cvs.openbsd.org: src

2015-08-26 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/08/26 08:49:20 Modified files: games/fortune/fortune: fortune.c Log message: remove #ifdef OK_TO_WRITE_DISK which isn't used by default. and few disambiguisations suggested by cc(1) - parentheses

CVS: cvs.openbsd.org: src

2015-08-26 Thread Sebastien Marie
CVSROOT:/cvs Module name:src Changes by: sema...@cvs.openbsd.org 2015/08/26 08:46:22 Modified files: lib/libc/sys : tame.2 sys/kern : kern_tame.c Log message: use ENAMETOOLONG instead of EINVAL for errno when string overflow occurs. document tame.2

CVS: cvs.openbsd.org: src

2015-08-26 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/08/26 07:56:04 Modified files: sys/arch/amd64/amd64: disksubr.c sys/arch/i386/i386: disksubr.c Log message: MBR must have priority over GPT. Found, fix tested thus ok ajacoutot@

CVS: cvs.openbsd.org: src

2015-08-26 Thread Mark Kettenis
CVSROOT:/cvs Module name:src Changes by: kette...@cvs.openbsd.org2015/08/26 07:59:24 Modified files: sys/arch/sparc64/sparc64: db_interface.c Log message: Kill code that tries to handle 32-bit code that we're never going to use.

CVS: cvs.openbsd.org: src

2015-08-26 Thread Jason McIntyre
CVSROOT:/cvs Module name:src Changes by: j...@cvs.openbsd.org2015/08/26 09:17:06 Modified files: lib/libc/sys : tame.2 Log message: tweak previous;

CVS: cvs.openbsd.org: src

2015-08-26 Thread YASUOKA Masahiko
CVSROOT:/cvs Module name:src Changes by: yasu...@cvs.openbsd.org 2015/08/26 19:02:35 Modified files: usr.sbin/radiusd: util.c util.h Log message: Add a boundary check for safety and use snprintf() to construct the IP address strings instead of strl{cpy,cat}(). Also make

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 15:21:57 Modified files: sys/kern : tty.c Log message: two simple free() sizes

CVS: cvs.openbsd.org: src

2015-08-26 Thread David Gwynne
CVSROOT:/cvs Module name:src Changes by: d...@cvs.openbsd.org2015/08/26 23:11:39 Modified files: usr.bin/grep : grep.c Log message: use strtonum to parse the number of lines of context. this provides better error messages. ok deraadt@ guenther@

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 23:48:40 Modified files: sys/dev/gpio : gpio.c Log message: simple sizes for free()

CVS: cvs.openbsd.org: src

2015-08-26 Thread Theo de Raadt
CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/08/26 23:49:23 Modified files: sys/dev/onewire: owctr.c Log message: simple size for free()

CVS: cvs.openbsd.org: src

2015-08-26 Thread Kenneth R Westerback
CVSROOT:/cvs Module name:src Changes by: k...@cvs.openbsd.org2015/08/26 09:36:46 Modified files: sys/kern : subr_disk.c Log message: Enhance setdisklabel() to ensure that the disk size and 'C' partition information of the in-memory disklabel remains correct.

CVS: cvs.openbsd.org: src

2015-08-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2015/08/26 22:37:58 Modified files: lib/libc/gen : nlist.c Log message: ELF uberalles: remove #ifdef _NLIST_DO_ELF tests

CVS: cvs.openbsd.org: src

2015-08-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2015/08/26 22:37:09 Modified files: include: db.h lib/libc/citrus: citrus_ctype.c citrus_ctype.h citrus_none.h citrus_utf8.h lib/libc/db/btree:

CVS: cvs.openbsd.org: src

2015-08-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2015/08/26 22:10:35 Modified files: libexec/ld.so/hppa: rtld_machine.c Log message: Use kbind for lazy binding GOT/PLT updates on hppa. Much discussion with and assistance from miod and deraadt ok

CVS: cvs.openbsd.org: src

2015-08-26 Thread Philip Guenther
CVSROOT:/cvs Module name:src Changes by: guent...@cvs.openbsd.org2015/08/26 22:33:31 Modified files: lib/libc/stdlib: rand48.h drand48.c lcong48.c lrand48.c mrand48.c seed48.c srand48.c Log message: Move the __rand48_* declarations into