Fix #75857#3078
Closed
carusogabriel wants to merge 1 commit intophp:PHP-7.1from
carusogabriel:fix-75857
Closed
Conversation
Member
|
If a test is supposed to fail, it should have an XFAIL section. Wrt. the actual bugfix: I wonder why there are hard-coded lengths at all. It seems to me that |
Contributor
Author
|
@cmb69 Sorry, I didn't put it to fail and we discuss a solution, but sorry, I'll put next time.
Hm, makes sense, like php-src/ext/interbase/ibase_query.c Lines 1335 to 1345 in c73e8a0 ? |
Member
|
Target the lowest applicable branch that exhibits the behaviour. Also, the test doesn't seem to fail anymore, so what's the current status of this patch ? |
Contributor
Author
Use sizeof buffer instead of hard-coded lenghts
nikic
approved these changes
Feb 10, 2018
|
Comment on behalf of cmb at php.net: Thanks, @carusogabriel! Applied via f706937. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a failing test case for https://bugs.php.net/bug.php?id=75857
The error is maybe in:
php-src/ext/date/php_date.c
Lines 1205 to 1210 in 39c5857
Should we simply change the
lensize to 33 or so?Also, was reported in
7.2.2RC1, but should we target7.1?