lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-198301-13602-wv0g5CoUfT@https.bugzilla.kernel.org/>
Date:   Sat, 13 Jan 2018 19:49:16 +0000
From:   bugzilla-daemon@...zilla.kernel.org
To:     linux-ext4@...nel.org
Subject: [Bug 198301] ext4 fails to create symlink if target length is
 greater than block size (but smaller than PATH_MAX)

https://bugzilla.kernel.org/show_bug.cgi?id=198301

Josh Johnston (josh.johnston@...mail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |josh.johnston@...mail.com

--- Comment #2 from Josh Johnston (josh.johnston@...mail.com) ---
Created attachment 273589
  --> https://bugzilla.kernel.org/attachment.cgi?id=273589&action=edit
Proposed patch

Here's a proposed patch.  When the symlink's path length is longer than a
block, it uses the existing code to fall back on a slow symlink.  This is the
better behavior, rather than throwing an error.


Block size should only be a limitation on the path if using a fast symlink,
which includes the path in the inode.  More info on fast/slow symlinks at:

https://unix.stackexchange.com/questoins/147535/fast-and-slow-symlinks

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ