Sebastian Pipping
d77291a482
Merge pull request #644 from libexpat/issue-642-release-2-4-9
...
Prepare release 2.4.9 (part of #642 )
2022-09-20 16:26:19 +02:00
Sebastian Pipping
869b3dea1c
Set release date for version 2.4.9
2022-09-19 16:20:44 +02:00
Sebastian Pipping
a7103d40d8
Bump version to 2.4.9
2022-09-19 16:20:44 +02:00
Sebastian Pipping
88462ba0fa
Bump version info from 9:8:8 to 9:9:8
...
See https://verbump.de/ for what these numbers do
2022-09-19 16:20:44 +02:00
Sebastian Pipping
f70d53f2f5
Changes: Document #592 #593 #594 #614 #619 #627 #633 #635 #636 #637
2022-09-19 16:20:44 +02:00
Sebastian Pipping
55b79f4d88
Sync file headers
2022-09-19 16:20:44 +02:00
Sebastian Pipping
86a4093aab
Resolve use of deprecated "fgrep" by "grep -F"
...
Related:
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html
2022-09-19 16:19:42 +02:00
Sebastian Pipping
7430d28769
win32/build_expat_iss.bat: Add -DEXPAT_WARNINGS_AS_ERRORS=ON
2022-09-19 16:19:42 +02:00
Sebastian Pipping
be3202513b
Merge pull request #643 from libexpat/clang-15
...
Upgrade Clang from 14 to 15
2022-09-15 15:46:42 +02:00
Sebastian Pipping
d139637bcb
Actions: Upgrade Clang from 14 to 15
2022-09-15 01:12:37 +02:00
Sebastian Pipping
d88c9510e2
tests: Address Clang 15 warning -Wstrict-prototypes
...
Symptom was:
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
2022-09-15 01:12:37 +02:00
Sebastian Pipping
a976e32abd
Merge pull request #640 from libexpat/issue-629-heap-use-after-free
...
[CVE-2022-40674] tests: Cover heap use-after-free issue in doContent (follow-up to #629 )
2022-09-14 19:56:38 +02:00
Sebastian Pipping
721169eeca
Changes: Document heap use-after-free CVE-2022-40674
2022-09-14 18:59:03 +02:00
Sebastian Pipping
a7ce80a013
tests: Cover heap use-after-free issue in doContent
2022-09-14 18:57:51 +02:00
Sebastian Pipping
a48c407000
Merge pull request #641 from libexpat/issue-626-static-library-symbol-visibility
...
Stop exporting API symbols when building a static library (fixes #626 )
2022-09-12 18:19:09 +02:00
Sebastian Pipping
107437adcd
Stop exporting API symbols when building a static library
2022-09-12 17:07:14 +02:00
Sebastian Pipping
dde178b976
Merge pull request #629 from RMJ10/missing-store-raw
...
Ensure raw tagnames are safe exiting internalEntityParser
2022-09-11 21:01:20 +02:00
Sebastian Pipping
528dbea4ee
Merge pull request #627 from libexpat/issue-597-cmake-migrate-set-cache-to-option
...
CMake: Unify inconsistent use of set() and option() (related to #597 )
2022-09-11 16:39:19 +02:00
Sebastian Pipping
67db2adbed
cmake: Mark _EXPAT_M32 and EXPAT_*_POSTFIX as advanced
2022-09-09 16:04:35 +02:00
Sebastian Pipping
cb10e651c0
cmake: Unify set(var default CACHE type desc) and option(var desc default)
...
.. into expat_shy_set(var default CACHE type desc).
Note that this new macro is intended to be used for all future options.
Also, because we are no longer using plain option(), wheter policy CMP0077
is active in mode OLD or NEW is no longer of importance.
Hence the code related to CMP0077 could could be dropped.
2022-09-09 16:04:33 +02:00
Sebastian Pipping
1cc2b29c47
Merge pull request #632 from libexpat/github-actions-off-deprecated-ubuntu-18-04
...
Get GitHub Actions CI off deprecated Ubuntu 18.04
2022-09-09 16:00:53 +02:00
Sebastian Pipping
0d2def4cce
Changes: Briefly document infra work
2022-09-09 01:53:05 +02:00
Sebastian Pipping
84bec8c72b
GitHub Actions: Pin remaining unpinned ubuntu-latest
2022-09-09 01:53:05 +02:00
Sebastian Pipping
55ebc6d04e
GitHub Actions: Stop installing Clang when not used
2022-09-09 01:53:05 +02:00
Sebastian Pipping
1156ae7dca
GitHub Actions: Avoid Ubuntu 20.04 for coverage collection
...
.. because its MinGW GCC 9.3.0 fails to create any .gcda files
at test runtime (while that works just fine on 18.04 and 22.04).
2022-09-09 01:53:05 +02:00
Sebastian Pipping
003ac7403f
coverage.sh|qa.sh: Fix copying of DLLs for Wine/MinGW for Ubuntu 22.04
...
Ubuntu 22.04 no longer has libgcc_s_sjlj-1.dll but needs
libgcc_s_dw2-1.dll now, instead.
2022-09-09 01:53:05 +02:00
Sebastian Pipping
6311d58530
GitHub Actions: Fix installation of 32bit Wine on Ubuntu 20.04
...
Same approach as https://github.com/uriparser/uriparser/pull/144
2022-09-09 01:53:05 +02:00
Sebastian Pipping
666a749f15
GitHub Actions: Get off deprecated Ubuntu 18.04
2022-09-09 01:53:05 +02:00
Sebastian Pipping
80e6c69140
cmake: Avoid error "windres: Command not found" with MinGW on Ubuntu 20.04
...
Related:
https://gitlab.kitware.com/cmake/cmake/-/issues/20500#note_720469
2022-09-09 01:46:33 +02:00
Sebastian Pipping
9d246a7225
Merge pull request #636 from neheb/patch-1
...
CMake: Drop leading whitespace from a #cmakedefine line in file expat_config.h.cmake to workaround issues with Meson
2022-08-28 15:26:30 +02:00
Sebastian Pipping
fa9f063fe4
Merge pull request #637 from neheb/cl
...
apply-clang-format.sh: Add support for BSD find
2022-08-28 15:21:17 +02:00
Sebastian Pipping
acf35f3f7c
Merge pull request #638 from libexpat/fix-xmltest-log-sh-drop-more-wine-bug-output
...
fix-xmltest-log.sh: Drop more Wine bug output
2022-08-28 15:20:50 +02:00
Sebastian Pipping
05e904118f
fix-xmltest-log.sh: Drop more Wine bug output
2022-08-28 01:38:43 +02:00
Sebastian Pipping
0b826ea202
Merge pull request #635 from libexpat/coverage-sh-fix-name-collision
...
coverage.sh: Fix name collision for -funsigned-char
2022-08-28 01:34:40 +02:00
Rosen Penev
2e4ff883f1
remove leading whitespace from config file
...
meson has a bug where #cmakedefine with leading whitespace is not transformed.
2022-08-27 16:25:49 -07:00
Rosen Penev
cf0072d274
apply-clang-format: add support for BSD find
...
Found with shellcheck:
SC2185: Some finds don't have a default path. Specify '.' explicitly.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-27 15:57:42 -07:00
Sebastian Pipping
fff6ef4c87
Merge pull request #634 from libexpat/fix-mingw-compilation
...
lib: Fix compilation for -D__USE_MINGW_ANSI_STDIO=0
2022-08-28 00:35:06 +02:00
Sebastian Pipping
6225970379
coverage.sh: Fix name collision for -funsigned-char
2022-08-27 23:40:24 +02:00
Sebastian Pipping
446688c6ca
lib: Fix compilation for -D__USE_MINGW_ANSI_STDIO=0
2022-08-27 23:37:04 +02:00
Sebastian Pipping
cc3ddda565
Merge pull request #633 from libexpat/coverage-sh-exclude-mingw-headers
...
coverage.sh: Exclude MinGW headers
2022-08-21 20:05:36 +02:00
Sebastian Pipping
9188cba7a5
coverage.sh: Exclude MinGW headers (stdio.h and stdlib.h)
2022-08-21 19:22:29 +02:00
Sebastian Pipping
230b490cbf
coverage.sh: Inline exclusion patterns (for upcoming change)
2022-08-21 19:18:45 +02:00
t-0
0a0418faf8
File expat/fuzz/.gitignore changed to not ignore already-committed source files ( fixes #630 ) ( #631 )
2022-08-20 23:37:46 +02:00
Rhodri James
4a32da87e9
Ensure raw tagnames are safe exiting internalEntityParser
...
It is possible to concoct a situation in which parsing is
suspended while substituting in an internal entity, so that
XML_ResumeParser directly uses internalEntityProcessor as
its processor. If the subsequent parse includes some unclosed
tags, this will return without calling storeRawNames to ensure
that the raw versions of the tag names are stored in memory other
than the parse buffer itself. If the parse buffer is then changed
or reallocated (for example if processing a file line by line),
badness will ensue.
This patch ensures storeRawNames is always called when needed
after calling doContent. The earlier call do doContent does
not need the same protection; it only deals with entity
substitution, which cannot leave unbalanced tags, and in any
case the raw names will be pointing into the stored entity
value not the parse buffer.
2022-08-17 18:26:18 +01:00
Sebastian Pipping
11598f34ed
Merge pull request #625 from libexpat/autotools-sync-cmake-files
...
Autotools: Get CMake templates back in sync with CMake of GitHub Actions image "ubuntu-20.04"
2022-08-11 18:19:07 +02:00
Sebastian Pipping
2d31043257
Changes: Document past Autotools Cmake template adjustments in more detail
2022-08-11 16:28:47 +02:00
Sebastian Pipping
c09cb677f6
autotools: Sync CMake templates with CMake 3.22
2022-08-11 16:28:47 +02:00
Sebastian Pipping
f97479d7c3
Merge pull request #624 from libexpat/issue-622-mingw-cmake-dll-filename
...
CMake: Produce libexpat-1.dll with MinGW in line with GNU Autotools (fixes #622 )
2022-08-03 13:45:54 +02:00
Sebastian Pipping
7731dd5b90
cmake: Produce libexpat-1.dll with MinGW in line with GNU Autotools
2022-08-03 00:10:50 +02:00
Sebastian Pipping
e12e9ffb95
Merge pull request #621 from libexpat/issue-512-windows-render-def-files-from-template
...
CMake: Render .def file from a template to fix linking (fixes #512 ) + apply .def file with MinGW
2022-08-02 00:13:04 +02:00