Releases: libwbxml/libwbxml
libwbxml 0.11.10 release notes
Major Changes
A huge CMake cleanup is the most noticable change of this release. If you build software with CMake and libwbxml is a dependency, this should lead to a better dependency management. libwbxml comes now with a config and version file. The find module was removed.
- Updated the cmake package information by replacing the find module with proper cmake config and version files.
- Removed all cmake find modules of third party dependencies.
- Replaced proprietary FindCheck.cmake with standard usage of PkgConfig.
- Removed proprietary Testing.cmake.
- Added workaround for buggy FindEXPAT in cmake 3.27-3.29.
- Enabled --output-on-failure in GitHub runner config of ctest.
Internal Changes
- Removed a few unused variables which gcc reported during building with -Wall compiler option. A notable case was in function decode_wv_datetime where a memory allocation failure was ignored (pull request #92 by Petr Pisar).
Thanks
Very special thanks goes to @hosiet (Boyuan Yang). He reported the CMake issue more than three years ago and when I (@bellmich) picked up the issue, he answered at the same day. Wow!
The other special thank you goes to @ppisar (Petr Písař). After I created a fresh release after a pause of more than two years, he reported a patch for some build issues within a week.
libwbxml-0.11.9: Merge pull request #89 from bellmich/master
libwbxml 0.11.9 release notes
Security Changes
Simon Koski and Alex Zhang from ACM Cyber at UCLA did some fuzz testing of the library. This led to some findings which could be used to cause a SIGABRT or a SIGSEGV. If the library is used by a server, this could potentially be used for a denial of service attack. All the changes are part of pull request #88).
- Removed assert in function wbxml_tree_clb_xml_end_element of
wbxml_tree_clb_xml.c. The function had already the correct error handling
implemented. The library no longer crashes but returns an error. The usage
of assert.h was removed from wbxml_tree_clb_xml.c. - Fixed SIGSEGV during parsing of malformed WV document in wbxml_parser.c.
(SIGSEGV from Simon Koski & Alex Zhang) - Fixed the handling of a wrong Unicode character in the function
parse_entity of wbxml_parser.c. The library no longer crashes but returns
an error. Therefore, a new error was defined in wbxml_errors.h. The usage
of assert.h was removed from wbxml_parser.c.
(SIGABRT from Simon Koski & Alex Zhang) - Added missing NULL pointer check in function decode_opaque_content of
wbxml_parser.c (SIGSEGV from Simon Koski & Alex Zhang).
Minor Changes
- Added new elements for support of ActiveSync v16.1 (Boris Shmarin, pull request #86).
Internal Changes
- Added a directory for and with fuzz tests which crash(ed) the library.
(Thanks goes to Simon Koski & Alex Zhang for the tests.) - Modify wbxml_getopt return opt type to int. This makes wbxml_getopt fully compatible with POSIX.
(yangchenguang, pull request #87) - Check for normalize_xml.pl failures in the tests (pull request #84).
Thanks
This time I would like to give a big thank you to the four people who actively contributed new stuff or error corrections to the library:
- Simon Koski
- Alex Zhang
- Boris Shmari
- yangchenguang (This is from GitHub. I have no better transcription of this name. If I get a better or correct one, I will replace this immediately with the correct name.)
libwbxml v0.11.8
libwbxml 0.11.8 release notes
Security Changes
- Changed the default internal namespace separator from the colon to the pipe
(issue #76 from Sebastian Pipping, fixed in pull request #78 from Slávek Banko).
This solves compatibility with libexpat >= 2.4.5 after fix the security
problem CVE-2022-25236. - Removed copy of libexpat in macosx directory (issue #77).
Internal Changes
- Migrated from Travis CI to GitHub actions for testing.
libwbxml v0.11.7
libwbxml 0.11.7 release notes
Major Changes
- Added WBXML_INSTALL_FULL_HEADERS cmake flag to expose internal API
headers; changes library version for compatibility (e.g. 2.6.1 -> 20601.0.0)
(pull request #67 from David Llewellyn-Jones)
Minor Changes
- Link to libexpat correctly (private). Therefore the tools wbxml2xml
and xml2wbxml do no longer link directly to libexpat.
(pull request #65 from Peter Keresztes Schmidt) - Fixed several memory leaks and leak-sanitizer issues.
(pull requests #61, #62, #63 and #64 from Gaurav Gupta)
Internal Changes
- During build use headers which come with source code and not the
installed headers. (pull request #66 from David Llewellyn-Jones)
libwbxml v0.11.6
libwbxml 0.11.6 release notes
Download: https://sourceforge.net/projects/libwbxml/files/libwbxml/0.11.6/
Major Changes
None.
Minor Changes
- Fixed/changed the encoding of element Content in CodePage
AirSyncBase (0x11) to WBXML_BINARY_OPTION for Microsoft ActiveSync.
This element is used when the clients send a request to save a draft email.
An example can be found in:
http://interoperability.blob.core.windows.net/files/MS-ASEMAIL/[MS-ASEMAIL].pdf
(4.4 Adding a Draft Email with Attachments).
Reference:
https://msdn.microsoft.com/en-us/library/mt563406%28v=exchg.80%29.aspx
(issue #58 from Thomas Führer)
Internal Changes
- Added a testcase for Microsoft ActiveSync EAS Provisioning (clarifies issue #56).
libwbxml v0.11.5
libwbxml 0.11.5 release notes
Download: https://sourceforge.net/projects/libwbxml/files/libwbxml/0.11.5/
Major Changes
None.
Minor Changes
- Fixed ActiveSync element data of code pages ResolveRecipients and
GAL (issue #52 from Thomas Führer, fixed in pull request #53). - Added definitions of ActiveSync protocoll v16.0
(pull request #32 from Gil Hartmann). - Added support to build a static library
(issue #22 and pull requests #23, #24, #25, #26 and #27
from Gaurav Gupta).
Internal Changes
- Added support for MacOS X to Travis CI environment.
- Added support for ccache (pull request #44 from Gaurav Gupta).
- Fixed some memory leaks (pull requests #43 and #45 from Renu Tyagi).
- Avoid malloc typecasts (pull requests #31, #33, #34, #35, #36,
#37, #38, #39 and #40 from Gaurav Gupta). - Added support for automated testing with travis-ci.org
- Fixed memory leak in function wbxml_strtbl_collect_words
of wbxml_encoder (pull request #21 from Gaurav Gupta). - Fixed memory leak in function wbxml_strtbl_check_references
of wbxml_encoder (pull request #20 from Gaurav Gupta). - If pkg-config is used then use the provided ldflags
(pull request #19 from Jeroen Dekkers).
libwbxml v0.11.4
libwbxml 0.11.4 release notes
Download: https://sourceforge.net/projects/libwbxml/files/libwbxml/0.11.4/
Major Changes
None.
Minor Changes
- If there is no CHECK support then the API tests must not be
executed (GitHub issue #18). - Get rid of the useless file MANIFEST (cmake don't need it).
- Removed AUTHORS because the more complete information is in
the file THANKS. - Removed NEWS because the content is already in ChangeLog.
- Fixed CMakeLists.txt to get rid of the files AUTHORS and NEWS
(GitHub issue #17).
Internal Changes
- Fixed RELEASE instructions for GitHub.
Special thanks goes to Petr Pisar for the fast testing of the release 0.11.3,
libwbxml v0.11.3
libwbxml 0.11.3 release notes
Download: https://sourceforge.net/projects/libwbxml/files/libwbxml/0.11.3/
Major Changes
- libwbxml is now fully independent from the OpenSync infrastructure.
This includes the migration of the sources to GitHub. - Setup a framework for testing the private API.
Added the first test suites:- src/wbxml_lists.h.
- src/wbxml_buffers.h
- src/wbxml_base64.h
- src/wbxml_charset.h
- src/wbxml_conv.h
- src/wbxml_encoder_internals.h
- src/wbxml_errors.h
- src/wbxml_parser_internals.h
Minor Changes
- Fixed a memory leak of wbxml_tree_clb_xml_end_element in
src/wbxml_tree_clb_xml.c.
The patch was supplied by Gaurav Gupta from Samsung. - The code of the function wbxml_tree_clb_xml_end_element to handle
binary tags used variables which were only defined if the SyncML
code is enabled. The file wbxml_tree_clb_xml.c was fixed
(ticket #85).
Internal Changes
- Added a sanity check to make some tools happy in
wbxml_strtbl_collect_strings in src/wbxml_encoder.c.
The patch was supplied by Gaurav Gupta from Samsung. - Added some sanity checks to detect the wrong usage of
wbxml_fill_header in src/wbxml_encoder.c.
The patch was supplied by Gaurav Gupta from Samsung. - Introduced a single test directory.
Special thanks goes to Gaurav Gupta (@ya1gaurav) for code analysis and bug fixing.