1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

security/clamav: incorrect type size on amd64 in pcre2.

PR:		223945
Submitted by:	coyote@bks.tv
This commit is contained in:
Larry Rosenman 2017-11-29 02:56:26 +00:00
parent 84c48f745e
commit 56b5c974a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455091
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= clamav
PORTVERSION= 0.99.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/downloads/production/

View File

@ -0,0 +1,12 @@
--- libclamav/regex_pcre.c~ 2017-11-28 14:40:56.484208243 +0100
+++ libclamav/regex_pcre.c 2017-11-28 14:41:07.301207800 +0100
@@ -112,7 +112,8 @@ int cli_pcre_addoptions(struct cli_pcre_
#if USING_PCRE2
int cli_pcre_compile(struct cli_pcre_data *pd, long long unsigned match_limit, long long unsigned match_limit_recursion, unsigned int options, int opt_override)
{
- int errornum, erroffset;
+ int errornum;
+ size_t erroffset;
pcre2_general_context *gctx;
pcre2_compile_context *cctx;