Hi,

I've noticed that for some pictures posted as multiple parts, pan will
fail to display the complete picture - seems it only shows what is
contained in the first part, with the rest black or occasionally
containing garbled parts of other pictures (i.e. smells of uninitialized
memory).

If I "save attachments" for such a post, it always gets the complete
picture, i.e. it seems the logic for combining the multiple parts
differs between display and save. Also it doesn't happen for *all*
multipart posts - I don't know what the "trigger" is, but here are two
examples (totally random, only hunted down for the purpose of this
message:-) from alt.binaries.pictures.wallpaper: Both are simple/dumb
split uuencoding, which I guess is pretty common, but one fails to
display while the other works fine:

Fails:

$ egrep '^(Subject|Message-ID)' pan-multipart-bad
Subject: (4_Harley_Fan enjoy a few walls - [orange county choppers 
wallpaper.jpg (1/3) -- [file 18 of 18) - 908 KB
Message-ID: <[EMAIL PROTECTED]>
Subject: (4_Harley_Fan enjoy a few walls - [orange county choppers 
wallpaper.jpg (2/3) -- [file 18 of 18) - 908 KB
Message-ID: <[EMAIL PROTECTED]>
Subject: (4_Harley_Fan enjoy a few walls - [orange county choppers 
wallpaper.jpg (3/3) -- [file 18 of 18) - 908 KB
Message-ID: <[EMAIL PROTECTED]>

Works:

$ egrep '^(Subject|Message-ID)' pan-multipart-ok 
Subject: BitTorrent Biking - Aspen Ride, Telluride, Colorado.jpg (1/2)
Message-ID: <[EMAIL PROTECTED]>
Subject: BitTorrent Biking - Aspen Ride, Telluride, Colorado.jpg (2/2)
Message-ID: <[EMAIL PROTECTED]>

(And no, the difference isn't two-vs-more parts, two-part posts may fail
to display too.)

Is this a known/unavoidable limitation of the display code, or just a
plain bug? (Hoping for the latter...:-) FWIW, I've seen this both in
0.14.x and 0.10x (the above example was with 0.106), though in 0.14.x I
had applied a patch for improved content-type guessing (was posted to
the list) and so thought that this might be the culprit, but apparently
not.

--Per Hedeland


_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to