cpio: extract "unsafe" symlinks the same way tar/unzip does
authorNatanael Copa <ncopa@alpinelinux.org>
Fri, 30 Mar 2018 18:18:12 +0000 (20:18 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 1 Apr 2018 11:04:11 +0000 (13:04 +0200)
commit08cbe510dd779106c03e0699dac9c8d0347cec6b
tree697b930d865c976bd547fcc0429f80c8281d47e7
parentaf874cc63e75f9c3b6f6715727a3a3e92a3b686f
cpio: extract "unsafe" symlinks the same way tar/unzip does

function                                             old     new   delta
cpio_main                                            588     596      +8

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/cpio.c