On Wed, Jun 5, 2024 at 5:03 PM Christian Brauner <brauner@xxxxxxxxxx> wrote: > > On Tue, Jun 04, 2024 at 05:52:57PM +0200, Mateusz Guzik wrote: > > Check for an error while copying and no path in one branch. > > Fine to move that check up but we need to redo it after we recopied. > It's extremely unlikely but the contents could've changed iirc. I can > fix that up though. Oh I see, you mean the buffer might have initially been too big so it landed in the zmalloc fallback, but by that time userspace might have played games and slapped a NUL char in there. Fair, but also trivial to fix up, so I would appreciate if you sorted it out, especially since you offered :) -- Mateusz Guzik <mjguzik gmail.com>