https://bugzilla.wikimedia.org/show_bug.cgi?id=25707

Bryan Tong Minh <bryan.tongm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tstarl...@wikimedia.org

--- Comment #10 from Bryan Tong Minh <bryan.tongm...@gmail.com> 2010-11-08 
07:48:08 UTC ---
(In reply to comment #9)
> Proposed solution:
> If we get a jpeg that fails the check, add about 255 bytes of whitespace,
> change the offsets for all the exif pointers, and see if it still fails the
> check. This of course would need to be tested to see if image viewers accept
> the arbitrary white space in practise and so on.

Sounds reasonable to me, but this is a major change from how we have previously
handled: previously your file after upload was more or less guaranteed to be
exactly equal to that before upload. Now we are essentially losing the original
file. I don't think we should care about this, but it is something to take in
mind.

cc Tim Starling for security review of the proposed solution

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to