[PATCH] Teach rtems_tarfs_load() about symlinks
Nick Withers
nick.withers at anu.edu.au
Wed Dec 3 06:07:39 UTC 2014
Anyone be interested in committing this?
On Fri, 2014-03-07 at 14:37 +1100, Nick Withers wrote:
> Hi all,
>
> The attached patch teaches rtems_tarfs_load() about symlinks, as well as
> making it fail if it encounters an unsupported tar file entry type
> (e.g., hard links) rather than silently ignoring the 512 B block.
>
> It tries to be consistent with the existing code which doesn't e.g.
> check tar string field NUL termination or printf() on error.
--
Nick Withers
Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems_tarfs_load_symlinks.patch
Type: text/x-patch
Size: 3158 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20141203/3dc99c9d/attachment.bin>
More information about the devel
mailing list