On 2018.12.18 12:35, Jeff King wrote: > On Thu, Dec 13, 2018 at 11:43:55AM -0800, Josh Steadmon wrote: > > > Add a new fuzz test for the commit graph and fix a buffer read-overflow > > that it discovered. Additionally, fix the Makefile instructions for > > building fuzzers. > > > > Changes since V3: > > * Improve portability of the new test functionality. > > I thought there was some question about /dev/zero, which I think is > in this version (I don't actually know whether there are portability > issues or not, but somebody did mention it). > > -Peff I've only found one reference [1] (from 1999) of OS X Server not having a /dev/zero. It appears to be present as of 2010 though [2]. [1]: https://macosx-admin.omnigroup.narkive.com/sAxj0XeP/dev-zero-equivalent-in-mac-os-x [2]: https://serverfault.com/questions/143248/zeroing-a-disk-with-dd-vs-disk-utility