]> git.ipfire.org Git - thirdparty/coreutils.git/commit
stdbuf: improve size checking
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Oct 2019 21:31:52 +0000 (14:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Oct 2019 22:04:43 +0000 (15:04 -0700)
commited2db6886bc4dfa5be7c0a3a72a45024fdafe29f
tree4c6f8c3d55305f1894aef432e2039d7918588a18
parent74163ea677b6daf129b8bc03f8a9058a77ef3702
stdbuf: improve size checking

* bootstrap.conf (gnulib_modules): Add minmax.
* src/libstdbuf.c: Include stdint.h, minmax.h.
(apply_mode): Don’t assume SIZE_MAX <= ULONG_MAX.
Improve checking for invalid sizes.
bootstrap.conf
src/libstdbuf.c