When executing function inflate_block of file "archival/libarchive", huft_build may be called in the form as "i = huft_build(ll, 19, 19, NULL, NULL, &inflate_codes_tl, &bl);" in about line 839, which will cause a segmentation fault. As the forth parameter passed to the function, NULL will be treated as an array of type const unsigned short, and one element of it will be assigned to a variable of type unsigned short(in about line 442). That the fault occurs. Execute tar command may encounter this problem.
Do you have a reproducer?
please show the exact commands you're running and the files you're working with