Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
dovecot23.10732
0002-fts-Fix-buffer-overflow-when-reading-overs...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-fts-Fix-buffer-overflow-when-reading-oversized-fts-h.patch of Package dovecot23.10732
From 696320b0f3644e928a9d0c71c063f603c3792dbb Mon Sep 17 00:00:00 2001 From: Timo Sirainen <timo.sirainen@open-xchange.com> Date: Mon, 4 Feb 2019 19:25:13 -0800 Subject: [PATCH 2/2] fts: Fix buffer overflow when reading oversized fts header --- src/plugins/fts/fts-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/fts/fts-api.c b/src/plugins/fts/fts-api.c index 5a5b2a919..4f8a1c125 100644 --- a/src/plugins/fts/fts-api.c +++ b/src/plugins/fts/fts-api.c @@ -425,7 +425,7 @@ bool fts_index_get_header(struct mailbox *box, struct fts_index_header *hdr_r) i_zero(hdr_r); ret = FALSE; } else { - memcpy(hdr_r, data, data_size); + memcpy(hdr_r, data, sizeof(*hdr_r)); ret = TRUE; } mail_index_view_close(&view); -- 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