]>
granicus.if.org Git - libexpat/log
Sebastian Pipping [Sat, 4 Jun 2016 20:07:22 +0000 (22:07 +0200)]
Ensure that unistd.h is included on Linux
(or anywhere except non-Cygwin Windows, to be precise)
Bug reported by László Böszörményi
Sebastian Pipping [Sat, 4 Jun 2016 20:00:16 +0000 (22:00 +0200)]
Handle lack of __func__ with ISO C90
Bug reported by László Böszörményi
Sebastian Pipping [Sat, 4 Jun 2016 15:37:39 +0000 (17:37 +0200)]
Improve autotools-related entries in upcoming release changes
Sebastian Pipping [Sat, 4 Jun 2016 15:20:18 +0000 (17:20 +0200)]
Mention recently assigned CVEs CVE-2012-6702 and CVE-2016-5300 in plaintext change log
Sebastian Pipping [Fri, 3 Jun 2016 21:35:16 +0000 (23:35 +0200)]
Sync plaintext changelog; HTML left to do
Sebastian Pipping [Mon, 30 May 2016 18:56:00 +0000 (20:56 +0200)]
qa.sh: Merge callgraphs into one
Sebastian Pipping [Mon, 30 May 2016 18:29:33 +0000 (20:29 +0200)]
qa.sh: Add egypt support (callgraphs)
Sebastian Pipping [Sat, 28 May 2016 17:52:31 +0000 (19:52 +0200)]
Sync .gitignore
Sebastian Pipping [Sat, 28 May 2016 17:38:59 +0000 (19:38 +0200)]
CMake: Add soversion, support -DNO_SONAME=yes to bypass (issue #536)
Sebastian Pipping [Wed, 25 May 2016 17:15:29 +0000 (19:15 +0200)]
Merge branch 'minbpc'
Sebastian Pipping [Tue, 24 May 2016 22:26:12 +0000 (00:26 +0200)]
Extract macros from end-of-input checking
Sebastian Pipping [Tue, 24 May 2016 21:11:29 +0000 (23:11 +0200)]
Take into account that CHAR_MATCHES may read >1 bytes
Sebastian Pipping [Tue, 24 May 2016 20:26:58 +0000 (22:26 +0200)]
Take into account that BYTE_TYPE may read >1 bytes
Sebastian Pipping [Tue, 24 May 2016 18:34:07 +0000 (20:34 +0200)]
qa.sh: Add ncc/nccnav support
Sebastian Pipping [Tue, 24 May 2016 18:33:13 +0000 (20:33 +0200)]
qa.sh: Polish and make more flexible
Sebastian Pipping [Fri, 13 May 2016 20:40:15 +0000 (22:40 +0200)]
Fix uninitialized read of size 1 in little2_updatePosition
Reported by Pascal Cuoq
Valgrind's view:
==4416== Conditional jump or move depends on uninitialised value(s)
==4416== at 0x41F187: little2_updatePosition (xmltok_impl.c:1748)
==4416== by 0x405F85: XML_GetCurrentColumnNumber (xmlparse.c:1931)
==4416== by 0x402F7B: reportError (xmlfile.c:67)
==4416== by 0x403041: processFile (xmlfile.c:84)
==4416== by 0x403752: filemap (unixfilemap.c:61)
==4416== by 0x403523: XML_ProcessFile (xmlfile.c:239)
==4416== by 0x402EBC: main (xmlwf.c:847)
Sebastian Pipping [Fri, 20 May 2016 20:46:51 +0000 (22:46 +0200)]
Merge branch 'improve-partial-utf8-handling'
Sebastian Pipping [Fri, 20 May 2016 20:28:18 +0000 (22:28 +0200)]
Fix UTF-8 auto alignment
Sebastian Pipping [Fri, 20 May 2016 20:20:19 +0000 (22:20 +0200)]
Cover UTF-8 limit correction; some tests fail
Failing tests are:
[-] UTF-8 case 3: Expected movement by -1 chars, actually moved by 0 chars: "\xdf"
[-] UTF-8 case 4: Expected movement by 0 chars, actually moved by -1 chars: "\xdf\xbf"
[-] UTF-8 case 5: Expected movement by -1 chars, actually moved by 0 chars: "\xef"
[-] UTF-8 case 6: Expected movement by -2 chars, actually moved by -1 chars: "\xef\xbf"
[-] UTF-8 case 7: Expected movement by 0 chars, actually moved by -2 chars: "\xef\xbf\xbf"
[-] UTF-8 case 8: Expected movement by -1 chars, actually moved by 0 chars: "\xf7"
[-] UTF-8 case 9: Expected movement by -2 chars, actually moved by -1 chars: "\xf7\xbf"
[-] UTF-8 case 10: Expected movement by -3 chars, actually moved by -2 chars: "\xf7\xbf\xbf"
[-] UTF-8 case 11: Expected movement by 0 chars, actually moved by -3 chars: "\xf7\xbf\xbf\xbf"
Sebastian Pipping [Fri, 20 May 2016 18:33:39 +0000 (20:33 +0200)]
Extract function align_limit_to_full_utf8_characters
Sebastian Pipping [Tue, 17 May 2016 19:08:21 +0000 (21:08 +0200)]
Merge branch 'cve-2016-0718-fix-2-2-1'
Conflicts:
expat/lib/xmltok.c
Pascal Cuoq [Sun, 15 May 2016 18:05:50 +0000 (20:05 +0200)]
Do not compare an out-of-bounds pointer. See https://lwn.net/Articles/278137/
Pascal Cuoq [Sun, 15 May 2016 17:11:55 +0000 (19:11 +0200)]
Avoid undefined behavior when computing larger blockSize. The compiler might reason that (end - start)*2 is negative only if (end - start) is negative, see https://godbolt.org/g/wVEoTM
Pascal Cuoq [Sun, 15 May 2016 07:05:46 +0000 (09:05 +0200)]
Avoid relying on undefined behavior in CVE-2015-1283 fix. It does not really work: https://godbolt.org/g/Zl8gdF
Sebastian Pipping [Sun, 15 May 2016 12:11:11 +0000 (14:11 +0200)]
Makefile.in: Extend target "qa"
Sebastian Pipping [Sun, 15 May 2016 11:02:40 +0000 (13:02 +0200)]
Fix left shift signed overflow
lib/xmltok.c:1407:11: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
lib/xmltok.c:1409:16: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Sebastian Pipping [Sun, 15 May 2016 11:50:06 +0000 (13:50 +0200)]
Makefile.in: Respect CXXFLAGS if given
Björn Lindahl [Sat, 14 May 2016 16:56:36 +0000 (18:56 +0200)]
Added suffix "d" to lib/dll to differentiate Debug from Release output so they don't overwrite each other.
Fixes #323
Sebastian Pipping [Wed, 11 May 2016 18:04:17 +0000 (20:04 +0200)]
Never hide official symbols (for -fvisibility=hidden)
Based on expat-visibility.patch by
Cristian Rodríguez <crrodriguez@opensuse.org>
Cristian Rodríguez [Wed, 11 May 2016 17:55:19 +0000 (19:55 +0200)]
Annotate memory allocators for GCC
Sebastian Pipping [Sat, 7 May 2016 14:45:58 +0000 (16:45 +0200)]
Address all "unused parameter" warnings
Sebastian Pipping [Fri, 6 May 2016 18:59:17 +0000 (20:59 +0200)]
doc/Makefile: Resolve use of "$<" for bmake
Ryo ONODERA [Fri, 6 May 2016 19:01:48 +0000 (21:01 +0200)]
Do not use GNU make extension
Sebastian Pipping [Fri, 6 May 2016 18:54:50 +0000 (20:54 +0200)]
Fix "make install" for Git clone
Sebastian Pipping [Fri, 6 May 2016 01:14:16 +0000 (03:14 +0200)]
Makefile: Add target "qa"
Sebastian Pipping [Sun, 1 May 2016 21:57:49 +0000 (23:57 +0200)]
Complete XmlConvert return value handling
Sebastian Pipping [Sun, 1 May 2016 21:55:02 +0000 (23:55 +0200)]
Do not grow pool to out-of-memory for incomplete input
Sebastian Pipping [Sun, 1 May 2016 21:51:26 +0000 (23:51 +0200)]
Make converters tell state on termination (v3)
Sebastian Pipping [Sun, 1 May 2016 21:40:05 +0000 (23:40 +0200)]
Prevent out-of-bounds access in text conversion
* big2_toUtf8
* little2_toUtf8
* utf8_toUtf8
* utf8_toUtf16
Gustavo Grieco [Sun, 1 May 2016 22:35:34 +0000 (00:35 +0200)]
Fix two integer overflows
Karl Waclawek [Sun, 1 May 2016 22:02:44 +0000 (00:02 +0200)]
Fix overflow (v2)
(Some post-processing by Sebastian Pipping)
Sebastian Pipping [Sun, 1 May 2016 14:01:51 +0000 (16:01 +0200)]
Have "make run-xmltest" report on expected output
Sebastian Pipping [Sun, 1 May 2016 13:59:23 +0000 (15:59 +0200)]
Fix "make run-xmltest" more
Sebastian Pipping [Sat, 30 Apr 2016 19:11:02 +0000 (21:11 +0200)]
Fix "make run-xmltest"
Sebastian Pipping [Thu, 31 Mar 2016 18:46:46 +0000 (20:46 +0200)]
Tests: Cover CDATA sections
Sebastian Pipping [Thu, 31 Mar 2016 16:13:51 +0000 (18:13 +0200)]
Tests: Parse XML one byte at a time
Sebastian Pipping [Mon, 28 Mar 2016 20:23:43 +0000 (22:23 +0200)]
Sync change log
Sebastian Pipping [Mon, 28 Mar 2016 19:35:55 +0000 (21:35 +0200)]
Address warning "missing initializer for field"
Sebastian Pipping [Mon, 28 Mar 2016 19:24:36 +0000 (21:24 +0200)]
Address "comparison between signed and unsigned integer" warnings
Sebastian Pipping [Mon, 28 Mar 2016 19:18:29 +0000 (21:18 +0200)]
Address warnings on const correctness
Sebastian Pipping [Mon, 28 Mar 2016 18:42:31 +0000 (20:42 +0200)]
Merge branch 'resolve-srand'
Sebastian Pipping [Mon, 28 Mar 2016 17:21:44 +0000 (19:21 +0200)]
Windows: Handling missing getpid and headers
Sebastian Pipping [Mon, 28 Mar 2016 14:33:49 +0000 (16:33 +0200)]
Use GetSystemTimeAsFileTime on Non-Cygwin-Windows with no gettimeofday
Sebastian Pipping [Mon, 28 Mar 2016 16:08:58 +0000 (18:08 +0200)]
Define COMPILING_FOR_WINDOWS with CMake on Windows
Sebastian Pipping [Mon, 28 Mar 2016 16:17:45 +0000 (18:17 +0200)]
Turn COMPILED_FROM_DSP into COMPILING_FOR_WINDOWS
.. since it is used with that semantic by now
Sebastian Pipping [Mon, 21 Mar 2016 19:05:27 +0000 (20:05 +0100)]
Use a prime that fits 32bits on 32bit platforms
Bug reported by Yann Droneaud, thanks!
https://bugzilla.redhat.com/show_bug.cgi?id=
1197087 #c21
Sebastian Pipping [Mon, 21 Mar 2016 18:56:05 +0000 (19:56 +0100)]
Extract entropy from XML_Parser address
Idea by Yann Droneaud, thanks!
https://bugzilla.redhat.com/show_bug.cgi?id=
1197087 #c21
Sebastian Pipping [Sun, 20 Mar 2016 19:26:27 +0000 (20:26 +0100)]
Extract method gather_time_entropy
Sebastian Pipping [Wed, 16 Mar 2016 14:30:12 +0000 (15:30 +0100)]
Resolve call to srand, use more entropy
Since commit
e3e81a6d9f0885ea02d3979151c358f314bf3d6d
(released with Expat 2.1.0) Expat called srand by itself
from inside generate_hash_secret_salt for an instance
of XML_Parser if XML_SetHashSalt was either (a) not called
for that instance or if (b) salt 0 was passed to XML_SetHashSalt
prior to parsing. That call to srand passed (rather litle)
entropy extracted from the current time as a seed for srand.
That call to srand (1) broke repeatability for code calling
srand with a non-random seed prior to parsing with Expat,
and (2) resulted in a rather small set of hashing salts in
Expat in total.
For a short- to mid-term fix, the new approach avoids calling
srand altogether, extracts more entropy out of the clock and
adds some additional entropy from the process ID, too.
For a long term fix, we may want to read sizeof(long) bytes
from a source like getrandom(..) on Linux, and from similar
sources on other supported architectures.
https://bugzilla.redhat.com/show_bug.cgi?id=
1197087
Sebastian Pipping [Mon, 14 Mar 2016 18:12:52 +0000 (19:12 +0100)]
Merge branch 'patch-90'
tbeu [Sat, 12 Mar 2016 19:16:39 +0000 (20:16 +0100)]
Fix VS2010 compilation
Avoid C99 style declaration (MSVC)
Karl Waclawek [Sat, 12 Mar 2016 21:12:42 +0000 (16:12 -0500)]
Updated copyright year in Win32 setup script.
Sergei Nikulov [Sat, 12 Mar 2016 16:12:25 +0000 (17:12 +0100)]
Fix for BUILD_shared=OFF case on MSVC
Sebastian Pipping [Sat, 12 Mar 2016 16:09:47 +0000 (17:09 +0100)]
CMakeLists.txt: Move code for upcoming change
Sebastian Pipping [Sat, 12 Mar 2016 04:21:28 +0000 (05:21 +0100)]
Fix source code permissions
Files had executable flag turn on, previously.
https://bugzilla.redhat.com/show_bug.cgi?id=
1247348
Sebastian Pipping [Sat, 12 Mar 2016 03:21:09 +0000 (04:21 +0100)]
Fill release date
Sebastian Pipping [Sat, 12 Mar 2016 03:04:24 +0000 (04:04 +0100)]
make-release.sh: Move from gzip to bzip2
Sebastian Pipping [Sat, 12 Mar 2016 02:33:57 +0000 (03:33 +0100)]
htdocs/index.html: Mention Git before CVS
Sebastian Pipping [Sat, 12 Mar 2016 02:31:55 +0000 (03:31 +0100)]
htdocs/index.html: Fix broken SF.net links
Sebastian Pipping [Sat, 12 Mar 2016 01:59:53 +0000 (02:59 +0100)]
examples/elements.c: Address compile warning on sign mismatch
examples/elements.c: In function ‘main’:
examples/elements.c:54:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
done = len < sizeof(buf);
^
Sebastian Pipping [Sat, 12 Mar 2016 01:57:41 +0000 (02:57 +0100)]
Mention issue #502 in 2.1.1 change log
Gaurav [Sat, 12 Mar 2016 01:53:04 +0000 (02:53 +0100)]
Fix potential null pointer dereference (issue #502)
Sebastian Pipping [Sat, 12 Mar 2016 01:41:00 +0000 (02:41 +0100)]
Replace caddr_t by "void *" for -std=c99 (issue #506)
Gilles Espinasse [Sat, 12 Mar 2016 01:31:29 +0000 (02:31 +0100)]
Remove pre-2.0.0 leftovers of using "check" unit testing library
Sebastian Pipping [Sat, 12 Mar 2016 01:07:50 +0000 (02:07 +0100)]
Address XML_Parse return type mis-match warning (issue #512)
(Function XML_Parse returns enum XML_Status, not enum XML_Error.)
Sebastian Pipping [Sat, 12 Mar 2016 00:08:32 +0000 (01:08 +0100)]
lib/libexpat*.def: Fix version in comment
Sebastian Pipping [Wed, 2 Mar 2016 17:59:36 +0000 (18:59 +0100)]
Bump version to 2.1.1
Sebastian Pipping [Wed, 2 Mar 2016 17:44:13 +0000 (18:44 +0100)]
Write 2.1.1 change log
Sebastian Pipping [Wed, 9 Mar 2016 19:33:46 +0000 (20:33 +0100)]
doc/xmlwf.1: Generate from sources using docbook2X
As aside effect the mistaken content
BUGS
According to the W3C standard, an XML file without a
declaration at the beginning is not considered well-formed.
However, xmlwf allows this to pass.
disappears from the man page. This is related to bug 470
https://sourceforge.net/p/expat/bugs/470/ or
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412786
in Debian.
Ardo van Rangelrooij [Fri, 11 Mar 2016 22:57:13 +0000 (23:57 +0100)]
doc/xmlwf.sgml: Address GROFF issue
GROFF expects a macro name after a leading point. So remove
the linebreak and avoid the warning.
Sebastian Pipping [Fri, 11 Mar 2016 22:32:11 +0000 (23:32 +0100)]
doc/xmlwf.sgml: Fix typos
This is backport of commit
4d84c6e89720523161031f3515adf35d1b07e156
from doc/xmlwf.1 to doc/xmwlf.sgml
Sebastian Pipping [Wed, 2 Mar 2016 18:20:45 +0000 (19:20 +0100)]
Fix RPM .spec file
Sebastian Pipping [Wed, 2 Mar 2016 17:09:57 +0000 (18:09 +0100)]
Makefile.in: Call libtool with --verbose for Debian
Raphael Bossek [Wed, 2 Mar 2016 17:06:41 +0000 (18:06 +0100)]
Install expat_config.h as well
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302191
Sebastian Pipping [Wed, 2 Mar 2016 17:00:43 +0000 (18:00 +0100)]
make-release.sh: Move from Git to CVS
Sebastian Pipping [Wed, 2 Mar 2016 15:36:32 +0000 (16:36 +0100)]
CMakeLists.txt: Align binary locations with Autotools
Target "xmlwf" even collided with the source folder of the
same name, previously:
$ cmake . && make
...
[ 82%] Linking C executable xmlwf
.../ld: cannot open output file xmlwf: Is a directory
collect2: error: ld returned 1 exit status
...
Sebastian Pipping [Wed, 2 Mar 2016 15:14:17 +0000 (16:14 +0100)]
Add CMake things to .gitignore
Sebastian Pipping [Wed, 2 Mar 2016 12:53:18 +0000 (13:53 +0100)]
xmlwf: Sync usage help with man page and code
Eric Rahm [Wed, 2 Mar 2016 12:31:21 +0000 (13:31 +0100)]
CVE-2015-1283 Sanity check size calculations. r=peterv, a=abillings
https://sourceforge.net/p/expat/bugs/528/
Sebastian Pipping [Wed, 2 Mar 2016 12:24:13 +0000 (13:24 +0100)]
Extend .gitignore
Sebastian Pipping [Wed, 2 Mar 2016 12:19:06 +0000 (13:19 +0100)]
buildconf.sh: Create missing conftools/install-sh
Otherwise configure will fail with:
configure: error: cannot find install-sh, install.sh, or shtool in conftools "."/conftools
Sebastian Pipping [Wed, 2 Mar 2016 12:13:48 +0000 (13:13 +0100)]
buildconf.sh: Fix variable mis-nomer/collision
Sebastian Pipping [Wed, 2 Mar 2016 11:55:49 +0000 (12:55 +0100)]
Rename configure.in to .ac
.. as requested by aclocal:
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Karl Waclawek [Tue, 15 May 2012 00:28:15 +0000 (00:28 +0000)]
Karl Waclawek [Sun, 6 May 2012 00:10:00 +0000 (00:10 +0000)]
Fred L. Drake, Jr. [Sat, 14 Apr 2012 19:56:38 +0000 (19:56 +0000)]
update news for www.libexpat.org
Fred L. Drake, Jr. [Sat, 14 Apr 2012 19:51:29 +0000 (19:51 +0000)]
fix typo
Karl Waclawek [Sat, 24 Mar 2012 19:06:25 +0000 (19:06 +0000)]
Final release notes.
Karl Waclawek [Sun, 18 Mar 2012 22:18:10 +0000 (22:18 +0000)]
Changed version of XML test suite used to
20080827 .
Karl Waclawek [Sun, 11 Mar 2012 05:54:36 +0000 (05:54 +0000)]
Typo in README fixed.