From: Martin Wilck Subject: Re: [PATCH 4/4] libmpathpersist: ABI change: limit data-in/out size to 8192 bytes Date: Sun, 15 Mar 2020 21:45:58 +0100 Message-ID: References: <20200306230605.3473-1-mwilck@suse.com> <20200306230605.3473-5-mwilck@suse.com> <20200315001935.GU30153@octiron.msp.redhat.com> <78489690d69561da912f944ef072f18900e679f5.camel@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <78489690d69561da912f944ef072f18900e679f5.camel@suse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Benjamin Marzinski Cc: dm-devel@redhat.com, David Bond List-Id: dm-devel.ids On Sun, 2020-03-15 at 01:27 +0100, Martin Wilck wrote: > > A program written against the old API might assume that the length of > private_buffer was MPATH_MAX_PARAM_LEN, and call e.g. > memset(private_buffer, 0, MPATH_MAX_PARAM_LEN), overwriting > num_transportid. And programs compiled against old headers would obviously use the wrong offsets for num_transportids and trnptid_list. Similar for struct print_fulldescr_list.descriptors. So I this does indeed break the ABI. Perhaps we shouldn't apply this without implementing clean so numbering. Regards Martin