Merge lp:~hexmode/ubuntu/lucid/php5/php5.fix-php-bug-33210 into lp:ubuntu/lucid-proposed/php5

Proposed by Mark A. Hershberger
Status: Work in progress
Proposed branch: lp:~hexmode/ubuntu/lucid/php5/php5.fix-php-bug-33210
Merge into: lp:ubuntu/lucid-proposed/php5
Diff against target: 29 lines (+17/-0)
2 files modified
debian/patches/fix-bug-33210.patch (+16/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~hexmode/ubuntu/lucid/php5/php5.fix-php-bug-33210
Reviewer Review Type Date Requested Status
Clint Byrum (community) Needs Fixing
Review via email: mp+90548@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Mark, thanks for the quick patch effort.

Just two quick things.

1. This patch needs documentation in the "DEP3" format:

http://dep.debian.net/deps/dep3/

At the very minimum, it needs an Origin: header and a link to the Ubuntu and PHP bugs. Adding your name/email would be nice, but is not 100% required for such a small patch.

This is necessary so that the patch, as its own unit, is readable and traceable as the package evolves over time.

2. Please run 'dch -i' and add a changelog entry. I'll have to port it forward as the lp:ubuntu/lucid-proposed/php5 branch is out of date, but its important that we have your changelog entry. It should explain in human readable terms what the bug it fixes is, and include a launchpad bug reference in the format of (LP: #922650). This will also make sure that you receive proper credit when the fix is uploaded. The version number should be 5.3.2-1ubuntu4.12 , and the pocket should be 'lucid-proposed' (instead of lucid, or lucid-security).

So close!

review: Needs Fixing
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Oh and make sure to change the status back to 'Needs Review' when you have pushed up your changes so it appears on the sponsorship queue again.

Unmerged revisions

67. By Mark A. Hershberger

fix for PHP Bug#33210

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'debian/patches/fix-bug-33210.patch'
2--- debian/patches/fix-bug-33210.patch 1970-01-01 00:00:00 +0000
3+++ debian/patches/fix-bug-33210.patch 2012-01-27 22:12:29 +0000
4@@ -0,0 +1,16 @@
5+--- a/ext/standard/image.c 2010/06/30 11:28:42 300880
6++++ b/ext/standard/image.c 2010/06/30 12:21:35 300881
7+@@ -402,12 +402,7 @@
8+ last_marker = M_PSEUDO; /* stop skipping non 0xff for M_COM */
9+ }
10+ }
11+- if (++a > 25)
12+- {
13+- /* who knows the maxim amount of 0xff? though 7 */
14+- /* but found other implementations */
15+- return M_EOI;
16+- }
17++ a++;
18+ } while (marker == 0xff);
19+ if (a < 2)
20+ {
21
22=== modified file 'debian/patches/series'
23--- debian/patches/series 2010-08-16 11:50:19 +0000
24+++ debian/patches/series 2012-01-27 22:12:29 +0000
25@@ -55,3 +55,4 @@
26 fix-mysql-badmem.patch
27 session_save_path.patch
28 lp564920-fix-big-files.patch
29+fix-bug-33210.patch

Subscribers

People subscribed via source and target branches