nicholasbishop / ext4-view-rs

Rust library for reading ext2/ext4 filesystems
https://crates.io/crates/ext4-view
Apache License 2.0
8 stars 2 forks source link

inode: Check for empty symlink target #121

Closed nicholasbishop closed 3 months ago

nicholasbishop commented 3 months ago

Per https://www.man7.org/linux/man-pages/man2/symlink.2.html, attempting to create a symlink with an empty target should return ENOENT. Treat an empty symlink as corrupt.