Closed Bug 980488 Opened 12 years ago Closed 12 years ago

Update in-tree libpng to version 1.6.10

Categories

(Core :: Graphics: ImageLib, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: glennrp+bmo, Assigned: glennrp+bmo)

References

()

Details

Attachments

(1 file, 2 obsolete files)

libpng-1.6.10 was released today. This is not urgently needed because the security issue that it address has already been fixed in bug #974825.
Needs try server run.
Flags: needinfo?(ryanvm)
The patch restores the png_error handling that was changed in bug #969814. J. Kew, please see if it works for you.
Flags: needinfo?(jfkthame)
I pushed this to tryserver, and it appears to build fine on all platforms, so I'm OK with it.
Flags: needinfo?(jfkthame)
Sorry, meant to include a link to the try run: https://tbpl.mozilla.org/?tree=Try&rev=5bb2e7a63ec4
Looks like you ignored the linux.c hunk that failed to apply? unable to find 'media/libpng/arm/linux.c' for patching patching file media/libpng/arm/linux.c 1 out of 1 hunks FAILED -- saving rejects to file media/libpng/arm/linux.c.rej Also, libpng updates can and have broken tests, so a build-only Try run just means we're going to have to do another push anyway.
Flags: needinfo?(ryanvm)
Looks like the only reason this didn't burn was that arm/linux.c wasn't added to moz.build either.
Oops - yes, it looks like I missed that. I know it failed to apply cleanly, but I thought I'd fixed up the issues before pushing. Apparently not. :(
linux.c is actually an "included" file (not a header but a snippet of executable code) that is only conditionally included, so failing to add it did not hurt anything. The v01 patch puts the "new file mode 100644" in the right place -- it was off by one. I was thinking the file would be more appropriately named arm_linux.c or arm_linux.h but for now I've left it as it's called in libpng16.
Attachment #8387777 - Attachment is obsolete: true
Flags: needinfo?(ryanvm)
Comment on attachment 8388455 [details] [diff] [review] v01 952505 update in-tree ibpng to version 1.6.10 Only one red "R", for Windows-8, that seems to be unrelated.
Attachment #8388455 - Flags: review?(jmuizelaar)
Sets limit on dimensions to 32767 instead of 1000000 in mozpngconf.h. I don't think this needs another tryserver run.
Attachment #8388455 - Attachment is obsolete: true
Attachment #8388455 - Flags: review?(jmuizelaar)
Attachment #8394383 - Flags: review?(jmuizelaar)
Blocks: 986795
Comment on attachment 8394383 [details] [diff] [review] v02-952505 update in-tree ibpng to version 1.6.10 Review of attachment 8394383 [details] [diff] [review]: ----------------------------------------------------------------- FWIW, it would be nicer to read these patches if they didn't include so much boiler plate churn. e.g. The "Last changed in libpng ..." information can easily be obtained from git log.
Attachment #8394383 - Flags: review?(jmuizelaar) → review+
(In reply to Glenn Randers-Pehrson from comment #11) > I don't think this needs another tryserver run. Funny story: https://tbpl.mozilla.org/php/getParsedLog.php?id=36621854&tree=Mozilla-Inbound Pushed a follow-up: https://hg.mozilla.org/integration/mozilla-inbound/rev/db4bcc7605be
Depends on: 987625
I've posted a patch for the MOZ_PNG_MAX_DIMENSION defines to bug #987625.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Depends on: 1003632
Blocks: 1021713
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: