Bug #67118 [Asn->Csd]: DateTime constructor crash with invalid data

From: Date: Fri, 25 Apr 2014 15:28:22 +0000
Subject: Bug #67118 [Asn->Csd]: DateTime constructor crash with invalid data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185441@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67118&edit=1

 ID:                 67118
 Updated by:         ab@php.net
 Reported by:        per at interapp dot se
 Summary:            DateTime constructor crash with invalid data
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows 2008 R2
 PHP Version:        5.5.11
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c1aa9baf29d1a20fa60c1cef3979a80014f6677b
Log: Fixed bug #67118 DateTime constructor crash with invalid data


Previous Comments:
------------------------------------------------------------------------
[2014-04-25 12:00:33] ab@php.net

Eric,

I'm on it right now working on a fix. Man, i have to say you did a fantastic job chasing that
down no a couple of files! So no worries, the fix is on the way.

Cheers.

------------------------------------------------------------------------
[2014-04-25 11:55:42] per at interapp dot se

Hi,

Can we help somehow with this issue? Or a possible workaround?

BR

Eric

------------------------------------------------------------------------
[2014-04-25 09:08:22] per at interapp dot se

Appears to also be reproducible on 5.2.17 and 5.3.28.

BR Eric

------------------------------------------------------------------------
[2014-04-24 21:07:58] per at interapp dot se

Hi,

We can reproduce it every time with the following 2 php files, both through php-cgi as well as on
the command line:

http://blogg.jag.se/php5bug.zip

Best Regards

Eric

------------------------------------------------------------------------
[2014-04-24 20:01:09] per at interapp dot se

To reproduce you need the Drupal contrib module Date installed in the sites/all/modules:
https://drupal.org/project/date

Occurs in file /sites/all/modules/date/date.module:235.

You probably also need a content type with a date field on it, and some crappy data.

BR

Eric

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=67118


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=67118&edit=1


Thread (21 messages)

« previous php.bugs (#185441) next »