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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC