diff options
author | Eric Blake <ebb9@byu.net> | 2009-11-05 16:48:09 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-11-07 10:10:28 -0700 |
commit | 56b85e035b77e48e7ec241b54da3f9c9d19e77d5 (patch) | |
tree | 952adbea1809337271c1857d3bc20cfc5a639a5a /THANKS | |
parent | c768e2231b89901a2e29c3bf96c027b64f8646d9 (diff) | |
download | coreutils-56b85e035b77e48e7ec241b54da3f9c9d19e77d5.tar.xz |
build: consistently use freopen-safer
cat, head, ptx, shuf, tac, tail, tee, tr, and uniq used freopen
on stdout, and were potentially vulnerable. dircolors, du, and
tsort only used it on stdin, which is unaffected by freopen_safer,
but this covers all uses for consistency.
* cfg.mk (sc_require_stdio_safer): New rule.
* gl/modules/xfreopen (Depends-on): Add freopen-safer.
* gl/lib/xfreopen.c (includes): Use stdio--.h.
* src/ptx.c (includes): Likewise.
* src/shuf.c (includes): Likewise.
* src/uniq.c (includes): Likewise.
* src/dircolors.c (includes): Likewise.
* src/du.c (includes): Likewise.
* src/tsort.c (includes): Likewise.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions