the bitrig natano_min branch has been created by natano. it is 0 commits behind master, and 3 commits ahead.
commit e8ae28a362e594c657bbd8446d61e124cd5c581c diff: https://github.com/bitrig/bitrig/commit/e8ae28a 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 6f0cf0ab0712b5b98ee4492b61693bcc78af7457 diff: https://github.com/bitrig/bitrig/commit/6f0cf0a 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 6d06fa70f72ed06a78409afbbdfbe5c98c4569c0 diff: https://github.com/bitrig/bitrig/commit/6d06fa7 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 sys/conf/files M sys/lib/libkern/libkern.h A sys/lib/libkern/szmax.c A sys/lib/libkern/szmin.c
