Skip to content

Fix FreeBSD nullfs path buffer overflow - #386

Merged
jiegec merged 1 commit into
lsof-org:masterfrom
hugojosealmeida:fix/freebsd-nullfs-path-overflow
Nov 13, 2026
Merged

jiegec merged 1 commit into
lsof-org:masterfrom
hugojosealmeida:fix/freebsd-nullfs-path-overflow

Conversation

@hugojosealmeida

@hugojosealmeida hugojosealmeida commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

FreeBSD nullfs handling rewrites a file path using the underlying mount path and copies it into a fixed-size buffer without checking its length. Add a bounds check and report “nullfs path too long” when it doesn’t fit.

@hugojosealmeida
hugojosealmeida force-pushed the fix/freebsd-nullfs-path-overflow branch from 8bea975 to 6ccc477 Compare November 12, 2026 21:02
@jiegec
jiegec merged commit c08c6ac into lsof-org:master Nov 13, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants