mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
8b7358ca43
validating the offset within a given memory buffer before handing the real work off to uiomove(9). Use uiomove_frombuf in procfs to correct several issues with integer arithmetic that could result in underflows/overflows. As a side-effect, the code is significantly simplified. Add additional sanity checks when computing a memory allocation size in pfs_read. Submitted by: rwatson (original uiomove_frombuf -- bugs are mine :-) Reported by: Joost Pol <joost@pine.nl> (integer underflows/overflows) |
||
---|---|---|
.. | ||
pseudofs_fileno.c | ||
pseudofs_internal.h | ||
pseudofs_vncache.c | ||
pseudofs_vnops.c | ||
pseudofs.c | ||
pseudofs.h |