From: mwilck@suse.com Subject: [PATCH 0/4] libmpathpersist allocation size fixes Date: Sat, 7 Mar 2020 00:06:01 +0100 Message-ID: <20200306230605.3473-1-mwilck@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui , Benjamin Marzinski Cc: dm-devel@redhat.com, Martin Wilck , David Bond List-Id: dm-devel.ids From: Martin Wilck Hi Christophe, We recently found a problem with mpathpersist using an allocation length of > 8192 bytes for PERSISTENT RESERVE IN/OUT commands. This patch set tries to fix it. The last patch would change the ABI for external programs, it's optional. (Christophe, to avoid misunderstanding: This set is not meant to be included in the upcoming merge). Reviews and comments welcome. Regards, Martin Martin Wilck (4): libmpathpersist: limit PRIN allocation length to 8192 bytes libmpathpersist: format_transportids(): avoid PROUT overflow libmpathpersist: mpath_format_readfullstatus(): use real buffer size libmpathpersist: ABI change: limit data-in/out size to 8192 bytes libmpathpersist/mpath_persist.h | 15 ++++++++---- libmpathpersist/mpath_pr_ioctl.c | 40 +++++++++++++++++++++++++++----- 2 files changed, 45 insertions(+), 10 deletions(-) -- 2.25.1