php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66060
Patch proposal.patch revision 2013-11-08 17:12 UTC by remi@php.net
Patch proposal.path revision 2013-11-08 17:11 UTC by remi@php.net

Patch proposal.path for Reproducible crash Bug #66060

Patch version 2013-11-08 17:11 UTC

Return to Bug #66060 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: remi@php.net

--- ext/date/lib/parse_iso_intervals.re.old	2013-11-08 18:09:18.815549958 +0100
+++ ext/date/lib/parse_iso_intervals.re	2013-11-08 18:09:34.461608419 +0100
@@ -348,7 +348,7 @@
 					break;
 			}
 			ptr++;
-		} while (*ptr);
+		} while (!s->errors->error_count && *ptr);
 		s->have_period = 1;
 		TIMELIB_DEINIT;
 		return TIMELIB_PERIOD;
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 00:01:21 2014 UTC