diff options
Diffstat (limited to 'meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch index b94780f302..33a9e3f6e6 100644 --- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl/CVE-2019-19906.patch | |||
| @@ -18,7 +18,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | 19 | ||
| 20 | diff --git a/lib/common.c b/lib/common.c | 20 | diff --git a/lib/common.c b/lib/common.c |
| 21 | index 305311d..445c5d5 100644 | 21 | index d9104c8..fef82db 100644 |
| 22 | --- a/lib/common.c | 22 | --- a/lib/common.c |
| 23 | +++ b/lib/common.c | 23 | +++ b/lib/common.c |
| 24 | @@ -190,7 +190,7 @@ int _sasl_add_string(char **out, size_t *alloclen, | 24 | @@ -190,7 +190,7 @@ int _sasl_add_string(char **out, size_t *alloclen, |
| @@ -27,9 +27,9 @@ index 305311d..445c5d5 100644 | |||
| 27 | 27 | ||
| 28 | - addlen=strlen(add); /* only compute once */ | 28 | - addlen=strlen(add); /* only compute once */ |
| 29 | + addlen=strlen(add)+1; /* only compute once */ | 29 | + addlen=strlen(add)+1; /* only compute once */ |
| 30 | if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK) | 30 | if (_buf_alloc(out, alloclen, (*outlen)+addlen+1)!=SASL_OK) |
| 31 | return SASL_NOMEM; | 31 | return SASL_NOMEM; |
| 32 | 32 | ||
| 33 | -- | 33 | -- |
| 34 | 2.7.4 | 34 | 2.25.1 |
| 35 | 35 | ||
