Skip to content

Fixed bug #62852 (Unserialize invalid DateTime causes crash) - #168

Merged
php-pulls merged 1 commit into
php:PHP-5.3from
reeze:fix-datatime-unserialize-crash
Aug 19, 2012
Merged

php-pulls merged 1 commit into
php:PHP-5.3from
reeze:fix-datatime-unserialize-crash

Conversation

@reeze

@reeze reeze commented Aug 19, 2012

Copy link
Copy Markdown
Contributor

See bug #62852 https://bugs.php.net/bug.php?id=62852

When wakeup from an invalid datetime it didn't complain but in inconsistant status.
This causes crash when access.

Thanks

@travisbot

Copy link
Copy Markdown

This pull request fails (merged b8a1c727 into 1a23d42).

@reeze

reeze commented Aug 19, 2012

Copy link
Copy Markdown
Contributor Author

updated, thanks,
and the previous conversation about the fix lost again by force-update :(

@travisbot

Copy link
Copy Markdown

This pull request fails (merged a92f53ed into 1a23d42).

@laruence

Copy link
Copy Markdown
Member

please do not do force-update... -_#

all the conversation are valuable... it reflects how your fix become a proper one...

@reeze

reeze commented Aug 19, 2012

Copy link
Copy Markdown
Contributor Author

hm…. that seems a bad style… I was intend to make the commit clean,
I will NOT do that AGAIN :)

reeze | http://reeze.cn

在 2012年8月19日星期日,下午5:57,Xinchen Hui 写道:

please do not do force-update... -_#
all the conversation are valuable... it reflects how your fix become a proper one...

—
Reply to this email directly or view it on GitHub (#168 (comment)).

@travisbot

Copy link
Copy Markdown

This pull request fails (merged 46a3f25 into 1a23d42).

@php-pulls
php-pulls merged commit 46a3f25 into php:PHP-5.3 Aug 19, 2012
heyJordanParker added a commit to heyJordanParker/php-sharp that referenced this pull request Oct 13, 2026
fix: an edit to a PHP# class, interface or enum header re-checks every file that reads it
heyJordanParker added a commit to heyJordanParker/php-sharp that referenced this pull request Oct 13, 2026
Problem: master moved 10 commits past f14c7b6, the last master this branch
merged: php#167 installs Lean on first use, and php#168 re-checks every file that
reads a class, interface or enum header after an edit to it.

Solution: merge d3adf51 with no rebase. Git merged every file on its own,
and no file both sides changed needed a hand resolution. One composition was
checked by reading: php#168 hashes each `Inheritance` entry as a `Hint`, and on
this branch a header entry with type arguments is a `Hint::Generic`, whose
fingerprint already hashes its type arguments. So an edit to
`Orders : Source<Order>` re-checks the files that read `Orders`.

Cargo.toml, Cargo.lock                              php#167's dependencies
crates/
├── fingerprint/src/class_like/mod.rs               php#168's header hash
├── orchestrator/src/service/incremental_analysis/  php#168's header edit test
└── sharp-lean/src/                                 php#167's Lean install
tests/compile.rs                                    php#167's missing-lean rows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants