Re: git: 56ef9c872bc5 - main - nvi: use memmove to realign buffers
Date: Wed, 27 Nov 2024 18:22:34 UTC
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 Jess