Re: git: 56ef9c872bc5 - main - nvi: use memmove to realign buffers
- In reply to: Brooks Davis : "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:24:56 UTC
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