[PATCH] Teach rtems_tarfs_load() about symlinks

Nick Withers nick.withers at anu.edu.au
Fri Mar 7 03:37:18 UTC 2014


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.

Happy Friday for those in the "right" time-zones!
-- 
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: 3223 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140307/44ea3597/attachment.bin>


More information about the devel mailing list