]> granicus.if.org Git - libexpat/log
libexpat
7 years agoAdd unmodified siphash-20121104.h by William Ahern as siphash.h
Sebastian Pipping [Sat, 10 Jun 2017 22:49:05 +0000 (00:49 +0200)]
Add unmodified siphash-20121104.h by William Ahern as siphash.h

7 years agoDrop pre-X Mac OS MPW Makefile (issue #14)
Sebastian Pipping [Sat, 10 Jun 2017 20:52:52 +0000 (22:52 +0200)]
Drop pre-X Mac OS MPW Makefile (issue #14)

7 years agoChanges: Add missing details for 2.2.1
Sebastian Pipping [Wed, 7 Jun 2017 21:28:13 +0000 (23:28 +0200)]
Changes: Add missing details for 2.2.1

7 years agoChanges: Mention commits of important 2.2.1 fixes
Sebastian Pipping [Wed, 7 Jun 2017 19:36:32 +0000 (21:36 +0200)]
Changes: Mention commits of important 2.2.1 fixes

7 years agoChanges: Improve classification/order of existing entries for 2.2.1
Sebastian Pipping [Wed, 7 Jun 2017 18:48:20 +0000 (20:48 +0200)]
Changes: Improve classification/order of existing entries for 2.2.1

7 years agoexamples: Unify expat.h include
Sebastian Pipping [Wed, 7 Jun 2017 18:27:02 +0000 (20:27 +0200)]
examples: Unify expat.h include

7 years agoexamples|tests|xmlwf: Drop AmigaOS 4.x include (issue #14)
Sebastian Pipping [Wed, 7 Jun 2017 18:24:21 +0000 (20:24 +0200)]
examples|tests|xmlwf: Drop AmigaOS 4.x include (issue #14)

7 years agoMerge branch 'better-entropy' (pull request #30)
Sebastian Pipping [Wed, 7 Jun 2017 18:18:50 +0000 (20:18 +0200)]
Merge branch 'better-entropy' (pull request #30)

7 years agoAvoid implicit declaration of function ‘syscall’ with -std=c89
Sebastian Pipping [Wed, 7 Jun 2017 18:13:54 +0000 (20:13 +0200)]
Avoid implicit declaration of function ‘syscall’ with -std=c89

7 years agoMerge branch 'crossdev-mingw'
Sebastian Pipping [Sun, 4 Jun 2017 16:13:30 +0000 (18:13 +0200)]
Merge branch 'crossdev-mingw'

7 years agoAdd run.sh wrapper to run test suite with Wine for MinGW
Sebastian Pipping [Sun, 4 Jun 2017 15:43:47 +0000 (17:43 +0200)]
Add run.sh wrapper to run test suite with Wine for MinGW

7 years agoMakefile.in: Add missing @EXEEXT@ to runtests for MinGW
Sebastian Pipping [Sun, 4 Jun 2017 15:25:23 +0000 (17:25 +0200)]
Makefile.in: Add missing @EXEEXT@ to runtests for MinGW

7 years agoconfigure.ac: Disable auto-detection of libbsd
Sebastian Pipping [Thu, 1 Jun 2017 18:40:36 +0000 (20:40 +0200)]
configure.ac: Disable auto-detection of libbsd

7 years agoexpat.h: Fix version hint on XML_ERROR_INVALID_ARGUMENT
Sebastian Pipping [Wed, 31 May 2017 21:43:57 +0000 (23:43 +0200)]
expat.h: Fix version hint on XML_ERROR_INVALID_ARGUMENT

Introduced at commit 768613f801020dee30a0583ec6cd77ec401d747f.

7 years agoDetect and support syscall(SYS_getrandom, [..]) as well
Sebastian Pipping [Wed, 31 May 2017 21:23:37 +0000 (23:23 +0200)]
Detect and support syscall(SYS_getrandom, [..]) as well

7 years agoMake EXPAT_ENTROPY_DEBUG=1 print entropy source and bytes
Sebastian Pipping [Wed, 31 May 2017 10:40:28 +0000 (12:40 +0200)]
Make EXPAT_ENTROPY_DEBUG=1 print entropy source and bytes

7 years agoMerge branch 'parent-hash-salt' (fixes #31)
Sebastian Pipping [Tue, 30 May 2017 19:35:40 +0000 (21:35 +0200)]
Merge branch 'parent-hash-salt' (fixes #31)

7 years agoMake hash salt setter/getter go up to the very top (issue #31)
Sebastian Pipping [Tue, 30 May 2017 18:37:03 +0000 (20:37 +0200)]
Make hash salt setter/getter go up to the very top (issue #31)

7 years agoDetect XML_UNICODE_WCHAR_T with sizeof(wchar_t) != 2 (issue #33)
Sebastian Pipping [Sun, 28 May 2017 22:03:02 +0000 (00:03 +0200)]
Detect XML_UNICODE_WCHAR_T with sizeof(wchar_t) != 2 (issue #33)

7 years agoDetect overflow from len=INT_MAX call to XML_Parse
Sebastian Pipping [Sun, 28 May 2017 19:57:37 +0000 (21:57 +0200)]
Detect overflow from len=INT_MAX call to XML_Parse

Relevant only when XML_CONTEXT_BYTES not defined

7 years agoReject negative length call to XML_Parse
Sebastian Pipping [Sun, 28 May 2017 19:35:12 +0000 (21:35 +0200)]
Reject negative length call to XML_Parse

7 years agoSet errorCode for XML_Parse on NULL parser
Sebastian Pipping [Sun, 28 May 2017 19:28:59 +0000 (21:28 +0200)]
Set errorCode for XML_Parse on NULL parser

Related to 56c75720c2115deb9358a95670be5f9dd5f6e945

7 years agoAddress unused variable warning (for XML_CONTEXT_BYTES not defined)
Sebastian Pipping [Sun, 28 May 2017 18:50:43 +0000 (20:50 +0200)]
Address unused variable warning (for XML_CONTEXT_BYTES not defined)

7 years agoFix sharing of hash salt across parsers (issue #31)
Sebastian Pipping [Sun, 28 May 2017 15:14:44 +0000 (17:14 +0200)]
Fix sharing of hash salt across parsers (issue #31)

This affects when XML_ExternalEntityParserCreate was called
prior to XML_Parse.

7 years agoAddress warning "initializer element is not computable at load time"
Sebastian Pipping [Sun, 28 May 2017 13:02:19 +0000 (15:02 +0200)]
Address warning "initializer element is not computable at load time"

7 years agoPull out shared variable and is-unused marker
Sebastian Pipping [Thu, 25 May 2017 19:53:16 +0000 (21:53 +0200)]
Pull out shared variable and is-unused marker

7 years agoAutoconf: Add --(with|without)-libbsd for bypassing auto-detection
Sebastian Pipping [Thu, 25 May 2017 18:58:34 +0000 (20:58 +0200)]
Autoconf: Add --(with|without)-libbsd for bypassing auto-detection

7 years agoChanges: Mention use of high quality entropy sources
Sebastian Pipping [Thu, 25 May 2017 17:28:15 +0000 (19:28 +0200)]
Changes: Mention use of high quality entropy sources

7 years agoPull parser instance address out of entropy equation to not leak that information
Sebastian Pipping [Thu, 25 May 2017 16:27:15 +0000 (18:27 +0200)]
Pull parser instance address out of entropy equation to not leak that information

7 years agoStart using arc4random_buf with BSD and libbsd
Sebastian Pipping [Thu, 25 May 2017 16:21:57 +0000 (18:21 +0200)]
Start using arc4random_buf with BSD and libbsd

7 years agoStart using getrandom for entropy extraction with glibc 2.25+
Sebastian Pipping [Thu, 25 May 2017 15:46:42 +0000 (17:46 +0200)]
Start using getrandom for entropy extraction with glibc 2.25+

7 years agoStart using RtlGenRandom for entropy extraction on WinXP and later
Sebastian Pipping [Thu, 25 May 2017 18:07:01 +0000 (20:07 +0200)]
Start using RtlGenRandom for entropy extraction on WinXP and later

7 years agoMerge branch 'underscore-win32' (remake of pull request #10)
Sebastian Pipping [Thu, 25 May 2017 13:32:09 +0000 (15:32 +0200)]
Merge branch 'underscore-win32' (remake of pull request #10)

7 years agoChanges: Adjust indentation
Sebastian Pipping [Thu, 25 May 2017 13:17:39 +0000 (15:17 +0200)]
Changes: Adjust indentation

7 years agoChanges: Document move from WIN32 to _WIN32
Sebastian Pipping [Thu, 25 May 2017 13:24:43 +0000 (15:24 +0200)]
Changes: Document move from WIN32 to _WIN32

7 years agoVisual Studio 20xx: No longer define WIN32
Sebastian Pipping [Thu, 25 May 2017 13:15:08 +0000 (15:15 +0200)]
Visual Studio 20xx: No longer define WIN32

7 years agoCMake: No longer define WIN32
Sebastian Pipping [Thu, 25 May 2017 13:13:10 +0000 (15:13 +0200)]
CMake: No longer define WIN32

7 years agoReplace WIN32 by _WIN32 in code
Sebastian Pipping [Thu, 25 May 2017 13:06:28 +0000 (15:06 +0200)]
Replace WIN32 by _WIN32 in code

7 years agoPrevent use of uninitialised variable
Rhodri James [Tue, 25 Apr 2017 14:15:56 +0000 (15:15 +0100)]
Prevent use of uninitialised variable

I don't believe the value of 'next' is actually used if it is not
set by the tokenizer, but this is very hard to prove.  For safety,
we give it a safe default value.

7 years agoValidate parser parameter to XML_UseParserAsHandlerArg
Sebastian Pipping [Wed, 24 May 2017 19:09:23 +0000 (21:09 +0200)]
Validate parser parameter to XML_UseParserAsHandlerArg

7 years agoMerge branch 'null-checks'
Sebastian Pipping [Wed, 24 May 2017 19:04:08 +0000 (21:04 +0200)]
Merge branch 'null-checks'

7 years agoMake XML_GetInputContext parameter validation more flexible
Sebastian Pipping [Wed, 24 May 2017 18:52:16 +0000 (20:52 +0200)]
Make XML_GetInputContext parameter validation more flexible

7 years agoValidate parser parameter to XML_DefaultCurrent
Rhodri James [Tue, 25 Apr 2017 17:48:16 +0000 (18:48 +0100)]
Validate parser parameter to XML_DefaultCurrent

7 years agoValidate parser parameter to XML_MemFree
Rhodri James [Tue, 25 Apr 2017 17:46:51 +0000 (18:46 +0100)]
Validate parser parameter to XML_MemFree

7 years agoValidate parser parameter to XML_MemRealloc
Rhodri James [Tue, 25 Apr 2017 17:45:39 +0000 (18:45 +0100)]
Validate parser parameter to XML_MemRealloc

7 years agoValidate parser parameter to XML_MemMalloc
Rhodri James [Tue, 25 Apr 2017 17:44:41 +0000 (18:44 +0100)]
Validate parser parameter to XML_MemMalloc

7 years agoValidate parser parameter to XML_FreeContentModel
Rhodri James [Tue, 25 Apr 2017 17:43:18 +0000 (18:43 +0100)]
Validate parser parameter to XML_FreeContentModel

7 years agoValidate parser parameter to XML_GetCurrentColumnNumber
Rhodri James [Tue, 25 Apr 2017 17:37:37 +0000 (18:37 +0100)]
Validate parser parameter to XML_GetCurrentColumnNumber

7 years agoValidate parser parameter to XML_GetCurrentLineNumber
Rhodri James [Tue, 25 Apr 2017 17:35:11 +0000 (18:35 +0100)]
Validate parser parameter to XML_GetCurrentLineNumber

7 years agoValidate parameters to XML_GetInputContext
Rhodri James [Tue, 25 Apr 2017 17:32:34 +0000 (18:32 +0100)]
Validate parameters to XML_GetInputContext

7 years agoValidate parser parameter to XML_GetCurrentByteCount
Rhodri James [Tue, 25 Apr 2017 17:30:29 +0000 (18:30 +0100)]
Validate parser parameter to XML_GetCurrentByteCount

7 years agoValidate the parser parameter to XML_GetCurrentByteIndex
Rhodri James [Tue, 25 Apr 2017 17:28:35 +0000 (18:28 +0100)]
Validate the parser parameter to XML_GetCurrentByteIndex

7 years agoValidate parser parameter to XML_GetErrorCode
Rhodri James [Tue, 25 Apr 2017 17:24:09 +0000 (18:24 +0100)]
Validate parser parameter to XML_GetErrorCode

7 years agoValidate parser parameter for XML_GetParsingStatus
Rhodri James [Tue, 25 Apr 2017 17:18:57 +0000 (18:18 +0100)]
Validate parser parameter for XML_GetParsingStatus

7 years agoValidate parser parameter for XML_ResumeParser
Rhodri James [Tue, 25 Apr 2017 17:17:36 +0000 (18:17 +0100)]
Validate parser parameter for XML_ResumeParser

7 years agoValidate parser parameter for XML_StopParser
Rhodri James [Tue, 25 Apr 2017 17:16:13 +0000 (18:16 +0100)]
Validate parser parameter for XML_StopParser

7 years agoValidate parser parameter for XML_GetBuffer
Rhodri James [Tue, 25 Apr 2017 17:14:52 +0000 (18:14 +0100)]
Validate parser parameter for XML_GetBuffer

7 years agoValidate parser parameter for XML_ParseBuffer
Rhodri James [Tue, 25 Apr 2017 17:13:36 +0000 (18:13 +0100)]
Validate parser parameter for XML_ParseBuffer

7 years agoValidate "parser" and "s" parameters to XML_Parse
Rhodri James [Tue, 25 Apr 2017 17:10:58 +0000 (18:10 +0100)]
Validate "parser" and "s" parameters to XML_Parse

7 years agoValidate parser parameter to XML_SetHashSalt
Rhodri James [Tue, 25 Apr 2017 16:57:34 +0000 (17:57 +0100)]
Validate parser parameter to XML_SetHashSalt

7 years agoValidate parser parameter to XML_SetParamentityParsing
Rhodri James [Tue, 25 Apr 2017 16:55:57 +0000 (17:55 +0100)]
Validate parser parameter to XML_SetParamentityParsing

7 years agoValidate parser parameter to XML_SetXmlDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:52:04 +0000 (17:52 +0100)]
Validate parser parameter to XML_SetXmlDeclHandler

7 years agoValidate parser parameter to XML_SetEntityDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:50:20 +0000 (17:50 +0100)]
Validate parser parameter to XML_SetEntityDeclHandler

7 years agoValidate parser parameter to XML_SetAttlistDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:49:23 +0000 (17:49 +0100)]
Validate parser parameter to XML_SetAttlistDeclHandler

7 years agoValidate parser parameter to XML_SetElementDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:46:06 +0000 (17:46 +0100)]
Validate parser parameter to XML_SetElementDeclHandler

7 years agoValidate parser parameter to XML_SetUnknownEncodingHandler
Rhodri James [Tue, 25 Apr 2017 16:45:08 +0000 (17:45 +0100)]
Validate parser parameter to XML_SetUnknownEncodingHandler

7 years agoValidate parser parameter to XML_SetSkippedEntityHandler
Rhodri James [Tue, 25 Apr 2017 16:44:00 +0000 (17:44 +0100)]
Validate parser parameter to XML_SetSkippedEntityHandler

7 years agoValidate parser parameter to XML_SetExternalEntityRefHandlerArg
Rhodri James [Tue, 25 Apr 2017 16:42:55 +0000 (17:42 +0100)]
Validate parser parameter to XML_SetExternalEntityRefHandlerArg

7 years agoValidate parser parameter to XML_SetExternalEntityRefHandler
Rhodri James [Tue, 25 Apr 2017 16:41:47 +0000 (17:41 +0100)]
Validate parser parameter to XML_SetExternalEntityRefHandler

7 years agoValidate parser parameter to XML_SetNotStandaloneHandler
Rhodri James [Tue, 25 Apr 2017 16:40:49 +0000 (17:40 +0100)]
Validate parser parameter to XML_SetNotStandaloneHandler

7 years agoValidate parser parameter in XML_SetEndNamespaceDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:38:34 +0000 (17:38 +0100)]
Validate parser parameter in XML_SetEndNamespaceDeclHandler

7 years agoValidate parser parameter to XML_SetStartNamespaceDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:36:40 +0000 (17:36 +0100)]
Validate parser parameter to XML_SetStartNamespaceDeclHandler

7 years agoValidate parser parameter to XML_SetStartNamespaceDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:35:10 +0000 (17:35 +0100)]
Validate parser parameter to XML_SetStartNamespaceDeclHandler

7 years agoValidate parser parameter to XML_SetNotationDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:33:31 +0000 (17:33 +0100)]
Validate parser parameter to XML_SetNotationDeclHandler

7 years agoValidate parser parameter to XML_SetUnparsedEntityDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:32:04 +0000 (17:32 +0100)]
Validate parser parameter to XML_SetUnparsedEntityDeclHandler

7 years agoValidate parser parameter to XML_SetEndDoctypeDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:29:43 +0000 (17:29 +0100)]
Validate parser parameter to XML_SetEndDoctypeDeclHandler

7 years agoValidate parser parameter to XML_SetStartDoctypeDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:28:35 +0000 (17:28 +0100)]
Validate parser parameter to XML_SetStartDoctypeDeclHandler

7 years agoValidate parser parameter to XML_SetDoctypeDeclHandler
Rhodri James [Tue, 25 Apr 2017 16:27:00 +0000 (17:27 +0100)]
Validate parser parameter to XML_SetDoctypeDeclHandler

7 years agoValidate parser parameter to XML_SetDefaultHandlerExpand
Rhodri James [Tue, 25 Apr 2017 16:22:19 +0000 (17:22 +0100)]
Validate parser parameter to XML_SetDefaultHandlerExpand

7 years agoValidate parser parameter to XML_SetDefaultHandler
Rhodri James [Tue, 25 Apr 2017 16:20:31 +0000 (17:20 +0100)]
Validate parser parameter to XML_SetDefaultHandler

7 years agoValidate parser parameter to XML_SetEndCdataSectionHandler
Rhodri James [Tue, 25 Apr 2017 16:19:05 +0000 (17:19 +0100)]
Validate parser parameter to XML_SetEndCdataSectionHandler

7 years agoValidate parser parameter to XML_SetStartCdataSectionHandler
Rhodri James [Tue, 25 Apr 2017 16:17:26 +0000 (17:17 +0100)]
Validate parser parameter to XML_SetStartCdataSectionHandler

7 years agoValidate parser parameter to XML_SetCdataSectionHandler
Rhodri James [Tue, 25 Apr 2017 16:15:57 +0000 (17:15 +0100)]
Validate parser parameter to XML_SetCdataSectionHandler

7 years agoValidate parser parameter to XML_SetCommentHandler
Rhodri James [Tue, 25 Apr 2017 16:13:52 +0000 (17:13 +0100)]
Validate parser parameter to XML_SetCommentHandler

7 years agoValidate parser parameter to XML_SetProcssingInstructionHandler
Rhodri James [Tue, 25 Apr 2017 16:12:27 +0000 (17:12 +0100)]
Validate parser parameter to XML_SetProcssingInstructionHandler

7 years agoValidate parser parameter to XML_SetCharacterDataHandler
Rhodri James [Tue, 25 Apr 2017 16:10:49 +0000 (17:10 +0100)]
Validate parser parameter to XML_SetCharacterDataHandler

7 years agoValidate parser parameter to XML_SetEndElementHandler
Rhodri James [Tue, 25 Apr 2017 16:08:29 +0000 (17:08 +0100)]
Validate parser parameter to XML_SetEndElementHandler

7 years agoValidate parser parameter to XML_SetStartElementHandler
Rhodri James [Tue, 25 Apr 2017 16:06:36 +0000 (17:06 +0100)]
Validate parser parameter to XML_SetStartElementHandler

7 years agoValidate parser parameter to XML_SetElementHandler
Rhodri James [Tue, 25 Apr 2017 16:03:25 +0000 (17:03 +0100)]
Validate parser parameter to XML_SetElementHandler

7 years agoValidate parser parameter to XML_GetAttributeInfo
Rhodri James [Tue, 25 Apr 2017 16:02:04 +0000 (17:02 +0100)]
Validate parser parameter to XML_GetAttributeInfo

7 years agoValidate parser parameter to XML_GetIdAttributeIndex
Rhodri James [Tue, 25 Apr 2017 15:53:33 +0000 (16:53 +0100)]
Validate parser parameter to XML_GetIdAttributeIndex

7 years agoValidate parser parameter to XML_GetSpecifiedAttributeCount
Rhodri James [Tue, 25 Apr 2017 15:50:15 +0000 (16:50 +0100)]
Validate parser parameter to XML_GetSpecifiedAttributeCount

7 years agoValidate parser parameter to XML_GetBase
Rhodri James [Tue, 25 Apr 2017 15:37:34 +0000 (16:37 +0100)]
Validate parser parameter to XML_GetBase

7 years agoValidate parser parameter to XML_SetBase
Rhodri James [Tue, 25 Apr 2017 15:32:54 +0000 (16:32 +0100)]
Validate parser parameter to XML_SetBase

7 years agoValidate parser parameter to XML_SetUserData
Rhodri James [Tue, 25 Apr 2017 15:29:27 +0000 (16:29 +0100)]
Validate parser parameter to XML_SetUserData

7 years agoValidate parser parameter to XML_SetReturnNSTriplet
Rhodri James [Tue, 25 Apr 2017 15:26:20 +0000 (16:26 +0100)]
Validate parser parameter to XML_SetReturnNSTriplet

7 years agoValidate parser parameter to XML_UseForeignDTD.
Rhodri James [Tue, 25 Apr 2017 15:21:27 +0000 (16:21 +0100)]
Validate parser parameter to XML_UseForeignDTD.

7 years agoValidate oldParser parameter to XML_ExternalEntityParserCreate
Rhodri James [Tue, 25 Apr 2017 15:16:27 +0000 (16:16 +0100)]
Validate oldParser parameter to XML_ExternalEntityParserCreate

7 years agoValidate parser parameter to XML_SetEncoding
Rhodri James [Tue, 25 Apr 2017 14:49:05 +0000 (15:49 +0100)]
Validate parser parameter to XML_SetEncoding

7 years agoValidate parser parameter to XML_ParserReset()
Rhodri James [Tue, 25 Apr 2017 14:41:01 +0000 (15:41 +0100)]
Validate parser parameter to XML_ParserReset()