summaryrefslogtreecommitdiff
path: root/VERSION
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-06-28 17:58:03 -0400
committerRich Felker <dalias@aerifal.cx>2019-06-28 17:58:03 -0400
commit3d178a7e2b75066593fbd5705742c5808395d90d (patch)
treeda5f36fbd4c0508a62eca103c77bf2db7b15e15b /VERSION
parent54b7564b72c1edcc79fca083047521fb56eaea00 (diff)
downloadmusl-3d178a7e2b75066593fbd5705742c5808395d90d.tar.gz
musl-3d178a7e2b75066593fbd5705742c5808395d90d.tar.bz2
musl-3d178a7e2b75066593fbd5705742c5808395d90d.tar.xz
musl-3d178a7e2b75066593fbd5705742c5808395d90d.zip
cap getdents length argument to INT_MAX
the linux syscall treats this argument as having type int, so passing extremely long buffer sizes would be misinterpreted by the kernel. since "short reads" are always acceptable, just cap it down. patch based on report and suggested change by Florian Weimer.
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions