Update uriparser to 0.9.0. 2018-10-27 -- 0.9.0 >>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * Fixed: Out-of-bounds write in uriComposeQuery* and uriComposeQueryEx* Commit 864f5d4c127def386dd5cc926ad96934b297f04e Thanks to Google Autofuzz team for the report! * Fixed: Detect integer overflow in uriComposeQuery* and uriComposeQueryEx* Commit f76275d4a91b28d687250525d3a0c5509bbd666f Thanks to Google Autofuzz team for the report! * Fixed: Protect uriResetUri* against acting on NULL input Commit f58c25069cf4a986fe17a80c5b38687e31feb539 >>>>>>>>>>>>> SECURITY >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * Fixed: Be fully compliant to C89 (GitHub #28) and C++98 in test code * Fixed: Fix off-by-one in uriComposeQueryCharsRequired* and ...Ex* Reported space requirements were 1 byte bigger than necessary * Changed: Marked as deprecated: Deprecated functions: uriNormalizeSyntaxMaskRequired[AW] uriParseUri[AW] uriParseUriEx[AW] * Added: Add convenience functions to ease user code to parse a single URI New functions: uriParseSingleUri[AW] uriParseSingleUriEx[AW] uriParseSingleUriExMm[AW] * Added: Support for custom memory managers (GitHub #26, #35), see Doxygen New functions (as extension of existing ones): uriAddBaseUriExMm[AW] uriComposeQueryMallocExMm[AW] uriDissectQueryMallocExMm[AW] uriFreeQueryListMm[AW] uriFreeUriMembersMm[AW] uriNormalizeSyntaxExMm[AW] uriParseSingleUriExMm[AW] uriRemoveBaseUriMm[AW] New functions (for convenience): uriCompleteMemoryManager uriEmulateCalloc uriEmulateReallocarray uriTestMemoryManager New error codes: URI_ERROR_MEMORY_MANAGER_FAULTY URI_ERROR_MEMORY_MANAGER_INCOMPLETE New types: UriFuncCalloc UriFuncFree UriFuncMalloc UriFuncRealloc UriFuncReallocarray UriMemoryManager * Added: Add non-void versions of uriNormalizeSyntaxMaskRequired* New functions: uriNormalizeSyntaxMaskRequiredEx[AW] * Changed: Migrate test suite from CppTest to GoogleTest 1.8.1 * Improved: Make test suite free of memory leaks (GitHub #31) Thanks to AddressSanitizer! * Removed: Support for pointless define URI_SIZEDOWN (GitHub #29) Related configure option --enable-sizedown has also been removed. * Soname: 1:23:0diff -r1.10 -r1.11 pkgsrc/textproc/uriparser/Makefile
(bsiegert)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2018/09/29 18:47:51 wiedi Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2018/10/29 16:17:25 bsiegert Exp $ | |
2 | 2 | |||
3 | DISTNAME= uriparser-0.8.6 | 3 | DISTNAME= uriparser-0.9.0 | |
4 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=uriparser/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=uriparser/} | |
6 | GITHUB_RELEASE= ${DISTNAME} | 6 | GITHUB_RELEASE= ${DISTNAME} | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://uriparser.github.io/ | 10 | HOMEPAGE= https://uriparser.github.io/ | |
11 | COMMENT= URI parsing library | 11 | COMMENT= URI parsing library | |
12 | LICENSE= modified-bsd | 12 | LICENSE= modified-bsd | |
13 | 13 | |||
14 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | CONFIGURE_ARGS+= --disable-doc | 15 | CONFIGURE_ARGS+= --disable-doc | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2018/08/20 05:23:08 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.9 2018/10/29 16:17:25 bsiegert Exp $ | |
2 | 2 | |||
3 | SHA1 (uriparser-0.8.6.tar.bz2) = 5e0bece039a7ae5b666b710a6db02138da2a1ef5 | 3 | SHA1 (uriparser-0.9.0.tar.bz2) = 9b5d849e2fc8f96c1b832c4510ca05d092d02ba6 | |
4 | RMD160 (uriparser-0.8.6.tar.bz2) = dfa7676bf771b638b80255a63a30b73b002b99cd | 4 | RMD160 (uriparser-0.9.0.tar.bz2) = f4d1c357b1ca6c79acc2a657ddd822bf4bc7f1d4 | |
5 | SHA512 (uriparser-0.8.6.tar.bz2) = b95e6d7c7f835002f6ea1a9c0962f4d385cd16519c40b921e9a9679140fd5d6cd326002b452fc73431aa2f36d049ae510c034a423eca143a6285f9b4b3dd7b83 | 5 | SHA512 (uriparser-0.9.0.tar.bz2) = 8ad631726c59d244b945221e803dcb13daa6df6550b3de94da19745f4b4d53a5ce17dba54280273181479f2803dea4ca7b0154ac3b54ca39fc4eda2c8a03e3f7 | |
6 | Size (uriparser-0.8.6.tar.bz2) = 360214 bytes | 6 | Size (uriparser-0.9.0.tar.bz2) = 371895 bytes | |
7 | SHA1 (patch-aa) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd | 7 | SHA1 (patch-aa) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd |