CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2010/10/12 11:23:21
Modified files: usr.bin/hexdump: display.c hexdump.c hexdump.h Log message: If the input length was specified, use it to set the stdio buffer size for fread(). Otherwise, stdio will read as much as it can (using a very large buffer) which may cause a hang if the input comes from a blocking device such as /dev/srandom. OK deraadt@