commit | 30cf439efcea9732d0ecd33b7955666ce264129b | [log] [tgz] |
---|---|---|
author | David Kilzer <ddkilzer@kilzer.net> | Mon Jul 14 22:29:56 2014 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Mon Jul 14 22:29:56 2014 +0800 |
tree | 3128f06a5d08dde85b9af52a85cedf446c0ae2bc | |
parent | e036cb3160378d7c46f99434de07c065ebb05bc9 [diff] |
Check for tmon in _xmlSchemaDateAdd() is incorrect For https://bugzilla.gnome.org/show_bug.cgi?id=732705 In _xmlSchemaDateAdd(), the check for |tmon| should be the following since MAX_DAYINMONTH() expects a month in the range [1,12]: if (tmon < 1) tmon = 1; Regression introduced in https://git.gnome.org/browse/libxml2/commit/?id=14b5643947845df089376106517c4f7ba061e4b0