about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-09-20 14:19:27 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-10-26 09:56:24 -0200
commit726d48ec96f8b8a27e17cffaacb83588589e2f78 (patch)
tree49ab897e23e6c65b2a01b5b4500744f252f1d1fe /ChangeLog
parente863cce57bff6cb795e6aad745ddf6235bca21ce (diff)
downloadglibc-726d48ec96f8b8a27e17cffaacb83588589e2f78.tar.gz
glibc-726d48ec96f8b8a27e17cffaacb83588589e2f78.tar.xz
glibc-726d48ec96f8b8a27e17cffaacb83588589e2f78.zip
Use read_int in vfscanf
The function read_int, from printf-parse.h, parses an integer from a string
while avoiding overflows.  It is used by other functions, such as vfprintf,
to avoid undefined behavior.

The function vfscanf (_IO_vfwscanf) parses an integer from the format
string, and can use read_int.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index de9056e92a..4b91b6ab70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+	* stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
+	integer from the format string.
+
 2016-10-26  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #19473]