FS#29322 - [libtar] tar_append_file crashes
Attached to Project:
Arch Linux
Opened by Yannick (yannickp) - Saturday, 07 April 2012, 11:20 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 08 April 2012, 11:54 GMT
Opened by Yannick (yannickp) - Saturday, 07 April 2012, 11:20 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 08 April 2012, 11:54 GMT
|
Details
Description:
tar_append_file() crashes Additional info: * package version : extra/libtar 1.2.11-3 * Same bug reported here * https://bugzilla.redhat.com/show_bug.cgi?id=538770 Steps to reproduce: int main( void ) { TAR *tar; char* filename ="file.txt" tar_open(&tar, "archive.tar", NULL, O_WRONLY | O_CREAT, 0644,TAR_GNU); tar_append_file(tar, tar_append_file, filename, filename ); tar_close(tar); return 0; } |
This task depends upon
Please try and let me know if it is fixed now, so I can close this bug report.
Thanks.
Thanks