Sydarkivera / RecursiveTar

A command line tool for extracting files in nested tar archives
GNU General Public License v3.0
0 stars 0 forks source link

listTarFile calls a malloc of size 0 when indentation is 0 #14

Closed lxutopia closed 1 day ago

lxutopia commented 3 days ago

https://github.com/Sydarkivera/RecursiveTar/blob/da10a2ce7ab84e34a04d2e888bcf3ebc5d0304b7/viewtar.c#L416-L419 https://github.com/Sydarkivera/RecursiveTar/blob/da10a2ce7ab84e34a04d2e888bcf3ebc5d0304b7/viewtar.c#L149 https://github.com/Sydarkivera/RecursiveTar/blob/da10a2ce7ab84e34a04d2e888bcf3ebc5d0304b7/viewtar.c#L178-L181