Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 18:24:56 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 56ef9c872bc5 - main - nvi: use memmove to realign buffers
Message-ID:  <Z0dj-MdKPYQjzdpg@spindle.one-eyed-alien.net>
In-Reply-To: <202411271820.4ARIKREu071280@gitrepo.freebsd.org>
References:  <202411271820.4ARIKREu071280@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 27, 2024 at 06:20:27PM +0000, Brooks Davis wrote:
> The branch main has been updated by brooks:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=56ef9c872bc5b086d73fed6317159e40be32d40e
> 
> commit 56ef9c872bc5b086d73fed6317159e40be32d40e
> Author:     Brooks Davis <brooks@FreeBSD.org>
> AuthorDate: 2024-11-27 17:38:42 +0000
> Commit:     Brooks Davis <brooks@FreeBSD.org>
> CommitDate: 2024-11-27 18:20:04 +0000
> 
>     nvi: use memmove to realign buffers
>     
>     Replace a rather convoluted realignment algorithm with memmove().  In
>     addition to being hard to understand, the code would read beyond the end
>     of the input buffer in certain conditions (found on CheriBSD).

This was merged upstream a bit over a year ago, but there hasn't been a
release since then.  I'm merging it here to loop back into CheriBSD were
it's occasionally a problem.

-- Brooks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z0dj-MdKPYQjzdpg>