Menu

#45 Xarchiver crashes with -x --extract-to=destination params

open
nobody
None
5
2011-02-07
2011-02-07
No

In a situation where extracting from the command line, a nonexistant folder is supplied as the destination folder path preferably the same name as the archive name with a forward slash at the end, xarchiver crashes with a segfault. Removing the forward slash doesn't produce the crash though.

Example execution (the archive exists but not the folder):
$] xarchiver -x --extract-to=destination yersinia-0.7.1.tar.gz/
Xarchiver 0.5.2 (©)2005-2008 Giuseppe Torelli
Segmentation fault

Backtrace is attached.

Discussion

  • Ravindra Singh

    Ravindra Singh - 2011-02-07

    Backtrace generated with 'catchsegv'

     
  • Ravindra Singh

    Ravindra Singh - 2011-02-07

    Seems like xarchiver is not processing the parameters properly, it should technically throw an error as both parameters -x and --extract-to=destination is there, also the input file is not given. Fault seems to lie with the parameter handling.

     

Log in to post a comment.

MongoDB Logo MongoDB