Re: git: 56ef9c872bc5 - main - nvi: use memmove to realign buffers
- In reply to: Jessica Clarke : "Re: git: 56ef9c872bc5 - main - nvi: use memmove to realign buffers"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Nov 2024 18:26:36 UTC
On Wed, Nov 27, 2024 at 06:22:34PM +0000, Jessica Clarke wrote: > On 27 Nov 2024, at 18:20, Brooks Davis <brooks@FreeBSD.org> 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). > > > > Sponsored by: DARPA > > Pull Request: https://github.com/lichray/nvi2/pull/122 > > Also needs https://github.com/lichray/nvi2/commit/25c4d7db4ea638a31ac458b733a3b67b0a0ff634 Oops, will fix. Apparently I should have just done a snapshot vendor import... -- Brooks