about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-10 11:31:46 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-04-10 11:31:46 +0530
commitabe7f530bf5c741fe6f0658da7be59d8db168f7f (patch)
treeb57ba83c808a98b42b5b9d548afc51ae6962982d /NEWS
parent61c23e6234db0e94cd850e88536401910ac61516 (diff)
downloadglibc-abe7f530bf5c741fe6f0658da7be59d8db168f7f.tar.gz
glibc-abe7f530bf5c741fe6f0658da7be59d8db168f7f.tar.xz
glibc-abe7f530bf5c741fe6f0658da7be59d8db168f7f.zip
Accept leading and trailing spaces in getdate input string
Fixes #15346.

The POSIX description of getdate allows for extra spaces in the
getdate input string.  __getdate_r uses strptime internally, which
works fine with extra spaces between format strings (and hence within
an input string) but not with leading and trailing spaces.  So we trim
off the leading and trailing spaces before we pass it on to strptime.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5644a59a75..17a997aefa 100644
--- a/NEWS
+++ b/NEWS
@@ -14,7 +14,7 @@ Version 2.18
   14981, 14982, 14985, 14994, 14996, 15003, 15006, 15020, 15023, 15036,
   15054, 15055, 15062, 15078, 15160, 15214, 15232, 15234, 15283, 15285,
   15287, 15304, 15305, 15307, 15309, 15327, 15330, 15335, 15336, 15337,
-  15342.
+  15342, 15346.
 
 * CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
   #15078).