]> git.proxmox.com Git - proxmox-backup.git/commit
src/pxar/decoder.rs: fix bug in decoder read
authorChristian Ebner <c.ebner@proxmox.com>
Mon, 16 Sep 2019 14:59:31 +0000 (16:59 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 20 Sep 2019 05:54:16 +0000 (07:54 +0200)
commit1c931823711a4d6c6e8c978f57958510790d9b86
tree8a820b1ee0d431be76d4582787e4ee05e587b552
parent2aba16bde1929b9366cf5924a94d9682b4e524ae
src/pxar/decoder.rs: fix bug in decoder read

`offset` points to the `PXAR_FILENAME`, therefore read the filename before
the `PXAR_ENTRY`.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/pxar/decoder.rs