Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
dovecot22
0001-auth-mech-rpa-Fail-on-zero-len-buffer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-auth-mech-rpa-Fail-on-zero-len-buffer.patch of Package dovecot22
From bd9d2fe7da833f0e4705a8280efc56930371806b Mon Sep 17 00:00:00 2001 From: Aki Tuomi <aki.tuomi@open-xchange.com> Date: Wed, 6 May 2020 13:40:36 +0300 Subject: [PATCH 1/3] auth: mech-rpa - Fail on zero len buffer --- src/auth/mech-rpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/mech-rpa.c b/src/auth/mech-rpa.c index 08298ebdd6..2de8705b4f 100644 --- a/src/auth/mech-rpa.c +++ b/src/auth/mech-rpa.c @@ -224,7 +224,7 @@ rpa_read_buffer(pool_t pool, const unsigned char **data, return 0; len = *p++; - if (p + len > end) + if (p + len > end || len == 0) return 0; *buffer = p_malloc(pool, len); -- 2.11.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor