Page MenuHomeFreeBSD

vfs: Fix resource leaks in kern_symlinkat()
ClosedPublic

Authored by markj on Jul 6 2026, 1:38 PM.
Tags
None
Referenced Files
F174738912: D58053.id181355.diff
Mon, Oct 5, 3:27 PM
F174696999: D58053.id181366.diff
Mon, Oct 5, 7:14 AM
Unknown Object (File)
Sun, Oct 4, 1:10 PM
Unknown Object (File)
Sun, Oct 4, 7:53 AM
Unknown Object (File)
Sun, Oct 4, 3:59 AM
Unknown Object (File)
Sat, Oct 3, 1:09 PM
Unknown Object (File)
Fri, Oct 2, 8:53 PM
Unknown Object (File)
Thu, Oct 1, 1:56 PM
Subscribers

Details

Summary

Fixes: 2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74543
Build 71426: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jul 6 2026, 1:38 PM
kib added inline comments.
sys/kern/vfs_syscalls.c
1883

IMO it makes sense to move the VIRF_NAMEDIR check before vn_start_write(), but it would require more care for proper cleanup.

This revision is now accepted and ready to land.Jul 6 2026, 1:45 PM
This revision was automatically updated to reflect the committed changes.