Broken GIF Animations after uploading/BatchAdd Broken GIF Animations after uploading/BatchAdd
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Broken GIF Animations after uploading/BatchAdd

Started by Riox, January 11, 2009, 05:32:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Riox

I asked Stamm fist since I use his Modpack and found a little bug see: http://forum.coppermine-gallery.net/index.php/topic,56839.msg280740.html#msg280740

My Setup:
CPG 1.4.19 + Stamms Modpack - SMF 1.1.7 Brige
GD bundled (2.0.34 compatible)
GIF Read and Create Support

---

I used 1.4.10 for a long time and just did the security fixes by hand and GIF Animations worked finde, batch-add and phpupload.
Now on 1.4.19 all I get is the first frame ... I know that GD might not handle GIF Animations but why can't it keep his dirty hands from them?

I've also noticed that all images get forced through GD... is that some kind of protection against non image uploads like remoteshell.php.jpg ?

MD5 on my HDD
844dbab2ebebcf4bb0392fdd7adf45ba *SolarisMediaKit_Fake.jpg 1024x786x24b jpeg
and on the Server
2e5a93379a361ef81eba918624767d05 *SolarisMediaKit_Fake.jpg 1024x786x24b jpeg




Joachim Müller

Sounds like you have been hacked. Impossible to say more, as you failed to post details, i.e. a link to your gallery.

Riox

All files in use are true v1.4.19

Gallery URL: http://foxbox.cc/gallery/ (SFW)
login/pass: cpg/user (turns NSFW on login)

Joachim Müller

Upload settings are not as suggested per docs for upload troubleshooting purposes.

Riox

chmod is 777 and 755
debug is on
upload cut off to 1 file and 0 URLs

Joachim Müller

Admin approval is still on although it should be off for fast results. My two test uploads seem to have worked as expected, can't tell for sure though (as suggested, admin approval is "on").

MrTheme


Riox

Found in a uploaded GIF --> CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 80

I changed the Settings in CPG (Files and thumbnails settings -> Quality for JPEG files) to 81 and uploaded another GIF file

CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 81

ok, know we know that somehow all uploads and batch-add files get pushed through GD, converted to jpeg and that the outcome replaces the original file... why does CPG or Stamms Mod. to that? No, there is no resizing