libxbps: unpack: before extracting re-set entry_pname.
This commit is contained in:
parent
ba6a459786
commit
d38dfdd19a
@ -448,12 +448,12 @@ unpack_archive(struct xbps_handle *xhp,
|
|||||||
archive_read_data_skip(ar);
|
archive_read_data_skip(ar);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* Reset entry_pname again because if entry's pathname
|
* Reset entry_pname again because if entry's pathname
|
||||||
* has been changed it will become a dangling pointer.
|
* has been changed it will become a dangling pointer.
|
||||||
*/
|
*/
|
||||||
entry_pname = archive_entry_pathname(entry);
|
entry_pname = archive_entry_pathname(entry);
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
* Extract entry from archive.
|
* Extract entry from archive.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user