mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 00:45:17 -04:00
I misread the Tinderbox error; this should really unbreak 64-bit builds.
Pointy hats, yep, keep 'em coming. ;-/
This commit is contained in:
parent
c19af48f40
commit
91c3a77c57
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ _archive_write_data_block(struct archive *_a,
|
|||
|
||||
/* Write the data. */
|
||||
while (size > 0 && a->offset < a->filesize) {
|
||||
if (a->offset + size > a->filesize) {
|
||||
if ((off_t)(a->offset + size) > a->filesize) {
|
||||
size = (size_t)(a->filesize - a->offset);
|
||||
archive_set_error(&a->archive, errno,
|
||||
"Write request too large");
|
||||
|
|
|
|||
Loading…
Reference in a new issue