tarkit
tarkit copied to clipboard
Buffer Overflow When Padding is Written at EOF
https://github.com/daltoniam/tarkit/blob/62d1c23eaf4cc222dffc5ff333ee83d68b590111/DCTar.m#L525-L529
Should have been:
[outputFileHandle writeData:[NSData dataWithBytes:buffer length:padding]];
Yeah. That looks like an error. Great catch! Can you create a PR to fix this @heshuimu ?