The following bug report was filed as bug 774961 in the Debian BTS:
lsar dereferences null pointer while trying to list files from the
attached tar archive:
$ lsar crash.tar
crash.tar: Segmentation fault
Traceback:
#0 0x0816e6cd in nsUTF8Prober::HandleData (this=0x8324b60, aBuf=0x0, aLen=1)
at universalchardet/nsUTF8Prober.cpp:53
#1 0x0816c92a in nsMBCSGroupProber::HandleData (this=0x8324b10, aBuf=0x0,
aLen=0) at universalchardet/nsMBCSGroupProber.cpp:159
#2 0x0816e425 in nsUniversalDetector::HandleData (this=0x8317ac0, aBuf=0x0,
aLen=0) at universalchardet/nsUniversalDetector.cpp:226
#3 0x08169ffb in UniversalDetectorHandleData (detectorptr=0x8317ac0, data=0x0,
length=0) at WrappedUniversalDetector.cpp:91
#4 0x08169d71 in -[UniversalDetector analyzeBytes:length:] (self=0x83174b0,
_cmd=0x8273308 <_OBJC_SELECTOR_TABLE+72>, data=0x0, len=0) at
UniversalDetector.m:54
#5 0x08169d4b in -[UniversalDetector analyzeData:] (self=0x83174b0,
_cmd=0x8207018 <_OBJC_SELECTOR_TABLE+344>, data=0x8326468) at
UniversalDetector.m:49
#6 0x080e17cb in -[XADStringSource analyzeData:] (self=0x8316b40,
_cmd=0x81f4670 <_OBJC_SELECTOR_TABLE+112>, data=0x8326468) at XADString.m:343
#7 0x080b9b4d in +[XADPath analyzedPathWithData:source:separators:]
(self=0x81f45c0 <_OBJC_Class_XADPath>, _cmd=0x81d6d80
<_OBJC_SELECTOR_TABLE+1024>, bytedata=0x8326468, stringsource=0x8316b40,
pathseparators=0x8183983 "/") at XADPath.m:89
#8 0x08070fae in -[XADArchiveParser XADPathWithCString:separators:]
(self=0x83152e0, _cmd=0x820f130 <_OBJC_SELECTOR_TABLE+176>, cstring=0xffffd522
"", separators=0x8183983 "/") at XADArchiveParser.m:1120
#9 0x080f900f in -[XADTarParser parseGenericTarHeader:toDict:]
(self=0x83152e0, _cmd=0x820f1c8 <_OBJC_SELECTOR_TABLE+328>, header=0x8322dd8,
dict=0x8323010) at XADTarParser.m:194
#10 0x080fb976 in -[XADTarParser parseWithSeparateMacForks] (self=0x83152e0,
_cmd=0x81ed2f8 <_OBJC_SELECTOR_TABLE+56>) at XADTarParser.m:559
#11 0x080a5ed6 in -[XADMacArchiveParser parse] (self=0x83152e0, _cmd=0x81d6de0
<_OBJC_SELECTOR_TABLE+1120>) at XADMacArchiveParser.m:76
#12 0x080713c0 in -[XADArchiveParser parseWithoutExceptions] (self=0x83152e0,
_cmd=0x82034f0 <_OBJC_SELECTOR_TABLE+368>) at XADArchiveParser.m:1195
#13 0x080db324 in -[XADSimpleUnarchiver parse] (self=0x831ad30, _cmd=0x81c7a78
<_OBJC_SELECTOR_TABLE+312>) at XADSimpleUnarchiver.m:324
#14 0x0804d228 in main (argc=2, argv=0xffffd8a4) at lsar.m:288
Original issue reported on code.google.com by kr...@ftbfs.org on 6 Mar 2015 at 3:00
Original issue reported on code.google.com by
kr...@ftbfs.org
on 6 Mar 2015 at 3:00Attachments: