broken extraction/viewing fix from tarfs
me at pavelsh.pp.ru
me at pavelsh.pp.ru
Mon Nov 29 18:44:38 UTC 2004
Hello Jindrich,
Monday, November 29, 2004, 9:08:15 PM, you wrote:
JN> Hi,
JN> this patch fixes broken extraction and displaying of symlinks from
JN> tarfs, but possibly affects any vfs that uses vfs_s_readlink ().
JN> To see description and steps to reproduce please see:
JN> http://bugzilla.redhat.com/beta/show_bug.cgi?id=141065
JN> In vfs_s_readlink () there is incorrectly calculated length of buf
JN> instead of link name in the inode. The random size you may see when
JN> extracting symlinks from tarfs is caused by the fact that buf is mostly
JN> uninitialized so the link is truncated almost at random position.
Committed. Thx!
--
Best regards,
me mailto:me at pavelsh.pp.ru
More information about the mc-devel
mailing list