microtar
microtar copied to clipboard
A lightweight tar library written in ANSI C
I modified the library to make it fit for my use and I thought I share it here. The `name` and `linkname` fields in the `mtar_header_t` struct are both 100...
Steps: 1. Write zero files to an archive. The archive file is created successfully. 2. Use `mtar_open()` to read the archive file. Expected result: `mtar_open()` succeeds. Actual result: `mtar_open()` fails...
It is possible to cause stack-overflow while calling `mtar_write_file_header` and passing name of the file larger than 100. Inside microtar.c `strcpy` is called which results in overwriting more data than...
I've added 2 public API and improved writing performance by reduce loops.
I am getting checksum and other errors when trying to read a tar.xz. Is it not supported ?
Hi, Library is so nice. I want to integrate it in my application. Do you have any small example to extract tar file in my current directory? Thanks, PG
https://github.com/netpipe/LunaLibs/tree/master/mtar been working on this works on windows fine still trying to get linux version working.
### Preamble Tar is a very simple format, which makes it possible to very easily find a pointer to a packed file. Using `mmap`, I added the ability to directly...
I am wondering how easy it is to overwrite a single file within a tar without re-creating it? If modify doesn't work, what about deleting the record and appending a...
Any idea how I can bypass the character limit (99) of the file name ? I have some extra long file names, and their names cannot be changed.