]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: fails to diagnose invalid input
authorJim Meyering <meyering@redhat.com>
Wed, 4 Jul 2012 11:01:56 +0000 (13:01 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 4 Jul 2012 11:32:24 +0000 (13:32 +0200)
commitcc322ddd16607c0c8e978e5003008344e2710ec9
treeeceb3dd878d732733986ed1359654c9b110c6cb2
parent74427c76d7be2a5522a8d24e29bfa63c299dbbce
date: fails to diagnose invalid input

date -d "$(printf '\xb0')" would print 00:00:00 with today's date
rather than diagnosing the invalid input.  Now it reports this:
date: invalid date '\260'
* gnulib: Update submodule to latest for fixed parse-datetime.y.
* tests/misc/date [invalid-high-bit-set]: New test.
* NEWS (Bug fixes): Mention it.
* bootstrap, tests/init.sh: Also update to latest.
Reported by Peter Evans in http://bugs.gnu.org/11843
NEWS
THANKS.in
bootstrap
gnulib
tests/init.sh
tests/misc/date