Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489390 - Gentoo's bugzilla messes the files I upload
Summary: Gentoo's bugzilla messes the files I upload
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Bugzilla Admins
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 17:54 UTC by Olivier Diotte
Modified: 2013-10-25 18:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Diotte 2013-10-25 17:54:00 UTC
As described here: https://bugs.gentoo.org/show_bug.cgi?id=485538#c4 uploading/downloading the file then comparing it to the original shows the copy to be identical to the original with the exception that it is about twice as big and is padded with zeroes.

Compare with the PDF file uploaded here: https://bugs.kde.org/show_bug.cgi?id=326617#c1

Reproducible: Always

Steps to Reproduce:
1. Download the file[1] from bugs.kde.org
2. Upload it in a bug report on bugs.gentoo.org
3. Download the bugs.gentoo.org file[2]

Actual Results:  
-"ls -sh1 [1] [2]" shows [2] is 256K to [1]'s 140K

-"xxd [1] > 1.xxd; xxd [2] > 2.xxd; head -n $(wc -l 1.xxd) 2.xxd > 2.cut.xxd; diff 1.xxd 2.cut.xxd" shows the second file to be identical to 1.xxd up to the end of 1.xxd (there's an extra 0000 on the last line of 2.xxd). The rest of 2.xxd is only 0000

Expected Results:  
The files are identical
Comment 1 Ben Kohler gentoo-dev 2013-10-25 18:03:46 UTC
I fetch from both sources and the file is identical at 139422 bytes.  What are you using to download?
Comment 2 Olivier Diotte 2013-10-25 18:34:22 UTC
Ben:

I just found another corrupted PDF on my computer. The file was never uploaded to Gentoo's bugzilla.

It seems the bug is either my hard drive (that's pretty alarming) or firefox (as both files were downloaded through firefox).

Therefore, this bug is invalid. Thanks for looking into it nevertheless.