NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60037 (Const data storage type in npf reads unmapped memory)



Synopsis: Const data storage type in npf reads unmapped memory

State-Changed-From-To: open->analyzed
State-Changed-By: joe%NetBSD.org@localhost
State-Changed-When: Wed, 25 Feb 2026 11:48:04 +0000
State-Changed-Why:
Hi, your patch looks good. what was actually happening was that thhe content of the memory-mapped file wasn't sent for serialization  by the malloc'ed buffer and so the cdbr fails with EINVAL and returned NULL. (probably due to size of buffer). copying to make sure the contents of the of the file are sent to kernel by buffer is the right thing to do. looks fine to be committed and request pullup to 10 and 11 i guess.
:wq





Home | Main Index | Thread Index | Old Index