From: foobar Date: Wed, 16 May 2001 04:50:49 +0000 (+0000) Subject: Fixed bugs: #10297, #10615, #10783, #10880 X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~400 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad366598a6589684c364d152169344a8e33e8a49;p=php Fixed bugs: #10297, #10615, #10783, #10880 --- diff --git a/ext/standard/image.c b/ext/standard/image.c index d15ff4d545..6ede7aa0c5 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -242,15 +242,6 @@ static unsigned int php_next_marker(int socketd, FILE *fp, int issock) { int c; - /* skip unimportant stuff */ - - c = FP_FGETC(socketd,fp,issock); - - while (c != 0xff) { - if ((c = FP_FGETC(socketd,fp,issock)) == EOF) - return M_EOI; /* we hit EOF */ - } - /* get marker byte, swallowing possible padding */ do { if ((c = FP_FGETC(socketd,fp,issock)) == EOF)