summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-12-14 11:09:32 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2010-12-14 11:10:45 -0800
commit14ad7a25505ec3127cd1f07001d54d94f51f1748 (patch)
tree27f044081c65cfe206b0571db0c1f7f260594a66 /src/tail.c
parent8f40ed634c9e6696a6bf05a4924dd6f8b7c834f6 (diff)
downloadcoreutils-14ad7a25505ec3127cd1f07001d54d94f51f1748.tar.xz
sort: fix very-unlikely buffer overrun when merging to input file
* src/sort.c (avoid_trashing_input): Fix a typo that could cause a buffer overrun in theory. In practice this is extremely unlikely, as it requires running out of file descriptors in a small merge, presumably because some other process is hogging all the OS's file descriptors.
Diffstat (limited to 'src/tail.c')
0 files changed, 0 insertions, 0 deletions