mirror of
https://github.com/git/git.git
synced 2024-11-01 14:57:52 +01:00
Merge branch 'maint-2.7' into maint
* maint-2.7: archive-tar: convert snprintf to xsnprintf
This commit is contained in:
commit
adbcfe6547
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ static void prepare_header(struct archiver_args *args,
|
|||
memcpy(header->magic, "ustar", 6);
|
||||
memcpy(header->version, "00", 2);
|
||||
|
||||
snprintf(header->chksum, sizeof(header->chksum), "%07o", ustar_header_chksum(header));
|
||||
xsnprintf(header->chksum, sizeof(header->chksum), "%07o", ustar_header_chksum(header));
|
||||
}
|
||||
|
||||
static int write_extended_header(struct archiver_args *args,
|
||||
|
|
Loading…
Reference in a new issue