Hi list,
I have an attachment that is getting stuck (using qscan w/ clamav btw, not
important here though) ripmime just hangs after 91138 bytes processed.
strace isn't helping me in this case (just stops suddenly I can't figure
out why, strace -p pid shows no output at all), gdb it runs and when I break
after it looks up I get this:
0x08054b89 in OLE_follow_chain (ole=0xbffec1e0, FAT_sector_start=0)
at ole.c:952
952 if (next_sector_location > (ole->FAT_limit -4)) break;
So I assume there is a loop here it can't break out of. Ok I looked at the
source, there is a do{}while block (line 947-969) it's stuck in just
looking at it I can't figure out what it's doing exactly.
Oh I just found --debug switch ... looks like it's looping forever here:
[snip]
ole.c:957:OLE_follow_chain:DEBUG: 0xA:10)->(0xB:11)
ole.c:957:OLE_follow_chain:DEBUG: 0xB:11)->(0xC:12)
ole.c:957:OLE_follow_chain:DEBUG: 0xC:12)->(0xA:10)
ole.c:957:OLE_follow_chain:DEBUG: 0xA:10)->(0xB:11)
ole.c:957:OLE_follow_chain:DEBUG: 0xB:11)->(0xC:12)
ole.c:957:OLE_follow_chain:DEBUG: 0xC:12)->(0xA:10)
etc
I have to admit lack of skill might be holding me back from cracking this
one, I offer the mail message here:
http://www.gloom.org/~gauze/ripmime-example
this file is 397526 bytes in size.
this is ripmime 1.4.0.0 btw. running with --verbose-defects produces no
output. Current dev tarball on site has no changes to this loop.
Please note this attachment could be a virus of some sort I have no idea I
just saw 2 copies of ripmime hung in my mail queue.
Thank you,
brian
--
Never be afraid to tell the world who you are.
-- Anonymous
10:00:02 up 20 days, 12 min, 10 users, load average: 0.49, 0.25, 0.20
_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
I have an attachment that is getting stuck (using qscan w/ clamav btw, not
important here though) ripmime just hangs after 91138 bytes processed.
strace isn't helping me in this case (just stops suddenly I can't figure
out why, strace -p pid shows no output at all), gdb it runs and when I break
after it looks up I get this:
0x08054b89 in OLE_follow_chain (ole=0xbffec1e0, FAT_sector_start=0)
at ole.c:952
952 if (next_sector_location > (ole->FAT_limit -4)) break;
So I assume there is a loop here it can't break out of. Ok I looked at the
source, there is a do{}while block (line 947-969) it's stuck in just
looking at it I can't figure out what it's doing exactly.
Oh I just found --debug switch ... looks like it's looping forever here:
[snip]
ole.c:957:OLE_follow_chain:DEBUG: 0xA:10)->(0xB:11)
ole.c:957:OLE_follow_chain:DEBUG: 0xB:11)->(0xC:12)
ole.c:957:OLE_follow_chain:DEBUG: 0xC:12)->(0xA:10)
ole.c:957:OLE_follow_chain:DEBUG: 0xA:10)->(0xB:11)
ole.c:957:OLE_follow_chain:DEBUG: 0xB:11)->(0xC:12)
ole.c:957:OLE_follow_chain:DEBUG: 0xC:12)->(0xA:10)
etc
I have to admit lack of skill might be holding me back from cracking this
one, I offer the mail message here:
http://www.gloom.org/~gauze/ripmime-example
this file is 397526 bytes in size.
this is ripmime 1.4.0.0 btw. running with --verbose-defects produces no
output. Current dev tarball on site has no changes to this loop.
Please note this attachment could be a virus of some sort I have no idea I
just saw 2 copies of ripmime hung in my mail queue.
Thank you,
brian
--
Never be afraid to tell the world who you are.
-- Anonymous
10:00:02 up 20 days, 12 min, 10 users, load average: 0.49, 0.25, 0.20
_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general