From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH block-tree] net: off by one in inet6_pton() Date: Fri, 14 Apr 2017 14:09:30 -0600 Message-ID: References: <20170413194231.GD591@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Cc: Wei Tang , Alexey Dobriyan , , , To: Dan Carpenter , "David S. Miller" , Sagi Grimberg Return-path: In-Reply-To: <20170413194231.GD591@mwanda> Sender: linux-block-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 04/13/2017 01:42 PM, Dan Carpenter wrote: > If "scope_len" is sizeof(scope_id) then we would put the NUL terminator > one space beyond the end of the buffer. Added, thanks Dan. -- Jens Axboe