about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-11-30 14:59:27 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-11-30 14:59:27 +0100
commit705a79f82560ff6472cebed86aa5db04cdea3bce (patch)
tree37c952d4411aa2bcccf0556110d78e4e289ec6b9 /NEWS
parent934fc4773eec45ec31b03a0244d391cade53f210 (diff)
downloadglibc-705a79f82560ff6472cebed86aa5db04cdea3bce.tar.gz
glibc-705a79f82560ff6472cebed86aa5db04cdea3bce.tar.xz
glibc-705a79f82560ff6472cebed86aa5db04cdea3bce.zip
libio: Limit buffer size to 8192 bytes [BZ #4099]
This avoids overly large buffers with network file systems which report
very large block sizes.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 9a45e730af..b2a0b0f1f8 100644
--- a/NEWS
+++ b/NEWS
@@ -80,6 +80,12 @@ Version 2.25
   affect the ABI of other libraries that use this type in their interfaces,
   if they are compiled or used with those options.
 
+* The buffer size for byte-oriented stdio streams is now limited to 8192
+  bytes by default.  Previously, on Linux, the default buffer size on most
+  file systems was 4096 bytes (and thus remains unchanged), except on
+  network file systems, where the buffer size was unpredictable and could be
+  as large as several megabytes.
+
 * The <sys/quota.h> header now includes the <linux/quota.h> header.  Support
   for the Linux quota interface which predates kernel version 2.4.22 has
   been removed.