the bitrig natano_min branch has been created by natano. it is 0 commits behind master, and 10 commits ahead.
commit af7c659e9973be2be29162978955c4f24ace2e7a diff: https://github.com/bitrig/bitrig/commit/af7c659 author: Martin Natano <[email protected]> date: Mon Mar 9 22:05:49 2015 +0100 Some obvious szmin() conversions; no functional change intended. M sys/arch/amd64/amd64/mem.c M sys/arch/arm/arm/mem.c M sys/dev/isa/spkr.c M sys/kern/uipc_socket.c commit a45cc328b6724abff9cda1b9235956bb91faa821 diff: https://github.com/bitrig/bitrig/commit/a45cc32 author: Martin Natano <[email protected]> date: Mon Mar 9 22:05:06 2015 +0100 Prevent (too) short read in nvramread(). M sys/arch/amd64/amd64/nvram.c commit e754d8397748b0db803a1ad98ef6ef0785eaec41 diff: https://github.com/bitrig/bitrig/commit/e754d83 author: Martin Natano <[email protected]> date: Mon Mar 9 21:26:14 2015 +0100 Prevent endless loop in cuio_copydata, cuio_copyback and cuio_apply. M sys/crypto/criov.c commit 5d5bc291a85589599c5edb578275b3f4233398da diff: https://github.com/bitrig/bitrig/commit/5d5bc29 author: Martin Natano <[email protected]> date: Mon Mar 9 21:23:18 2015 +0100 Prevent short ulptwrite(). M sys/dev/usb/ulpt.c commit 1080cdca940d6370d0ce66b4ef998733f282ffa2 diff: https://github.com/bitrig/bitrig/commit/1080cdc author: Martin Natano <[email protected]> date: Mon Mar 9 21:19:56 2015 +0100 Prevent endless loop in uhidread() and use uiomove for size_t. M sys/dev/usb/uhid.c commit 4f9ba065df97b964e0d069c74575e5372608799b diff: https://github.com/bitrig/bitrig/commit/4f9ba06 author: Martin Natano <[email protected]> date: Mon Mar 9 21:15:59 2015 +0100 Prevent short ios and endless loops in ugenread/write. M sys/dev/usb/ugen.c commit 3ec6e876709420c241cd269493680574e89f5a55 diff: https://github.com/bitrig/bitrig/commit/3ec6e87 author: Martin Natano <[email protected]> date: Mon Mar 9 20:37:51 2015 +0100 Avoid early (short) return in lptwrite by avoiding an integer truncation. Also: Use uiomove(), not uiomovei() - the size variable is a size_t! M sys/dev/ic/lpt.c commit 64fb67f4d64fd82b07290a23bd68abd123dfcaec diff: https://github.com/bitrig/bitrig/commit/64fb67f author: Martin Natano <[email protected]> date: Mon Mar 9 20:01:40 2015 +0100 Prevent randomread()/randomwrite() from entering an endless loop. Those functions could be tricked into entering an endless loop by performing a read of exactly 2**32 bytes. Due to an integer overflow the chunck size for the loop iteration would get stuck at 0, and thus the loop would never advance. M sys/dev/rnd.c commit 2f1ec46011593f37343838c5b2d2d0bdfe706f41 diff: https://github.com/bitrig/bitrig/commit/2f1ec46 author: Martin Natano <[email protected]> date: Mon Mar 9 19:44:40 2015 +0100 Add szmin() and szmax() to libkern. The ulmin() function is misused in a lot of places for size_t values. Add corresponding utility functions for size_t, to aid code correctness. M share/man/man9/kern.9 M sys/lib/libkern/libkern.h commit cfbfbfada4b7c34b1f016f90d75e27e56208d08d diff: https://github.com/bitrig/bitrig/commit/cfbfbfa author: Martin Natano <[email protected]> date: Wed Mar 11 21:38:33 2015 +0100 Remove non-inline *min and *max functions from libkern. They are not used anyways. M sys/conf/files D sys/lib/libkern/imax.c D sys/lib/libkern/imin.c D sys/lib/libkern/lmax.c D sys/lib/libkern/lmin.c D sys/lib/libkern/max.c D sys/lib/libkern/min.c D sys/lib/libkern/ulmax.c D sys/lib/libkern/ulmin.c
