| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 61e9b7354ff3b99613a395ad148acf2bdd293af5)
|
|
|
|
|
|
|
| |
Used hardcoded months in bug73858.phpt rather than the current and previous
month.
(cherry picked from commit 29333550d2237d472193ae2bf4aec53a7bc5648a)
|
|
|
|
| |
This reverts commit e9873d9853da2b6153776c2e5ed6858e87f0baa2.
|
|
|
|
| |
This reverts commit ff8a6b1232b78abe0ad7de5a44af4be2b8839728.
|
|
|
|
|
| |
gost-crypto hash was incorrect if input data contained long 0xFF
sequence, due to a carry-propagation bug.
|
| |
|
|
|
|
| |
Thanks to @brzuchal for the patch to xp_ssl.c and @DaveRandom for helping debug the problem.
|
| |
|
|
|
|
| |
arguments)
|
| |
|
|
|
|
| |
Include WSDL cache version number into file name
|
| |
|
|
|
|
|
| |
If getrandom syscall is unavailable (ENOSYS), try to fallback on
/dev/urandom.
|
|
|
|
| |
Strings aren't terminated here...
|
|
|
|
|
| |
Can't reference the function ptr after the closure has been
destroyed.
|
|
|
|
|
|
| |
The tests can sometimes fail because it chooses a passive port for ftp that
is already in use. This makes the test attempt multiple times to find a free
port.
|
| |
|
| |
|
|
|
|
| |
This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes:
- Fixed bug #72719 (Relative datetime format ignores weekday on sundays only).
- Fixed bug #73294 (DateTime wrong when date string is negative).
- Fixed bug #73489 (wrong timestamp when call setTimeZone multi times with UTC
offset).
- Fixed bug #73858 (first/last day of' flag is not being reset).
- Fixed bug #73942 ($date->modify('Friday this week') doesn't return a Friday
if $date is a Sunday).
- Fixed bug #74057 (wrong day when using "this week" in strtotime).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
|
|
|
|
| |
This reverts commit 9ea0949f43959ff0cf519e7a10ef9de7a538cde3.
|
|
|
|
|
|
| |
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
|
|
|
|
|
| |
This reverts commit 6988d070ea8c7d44452d8c98e594d65ea722a1d8, reversing
changes made to 75ad2b301a047209e7b5a6b5912eb589cfbc773d.
|
| |
|
| |
|
|
|
|
| |
Fix incorrect parameter count for imagepng function
|
| |
|
|
|
|
| |
This reverts commit 2fcf1259c6a9c1d70bcdfb96aeabc54c47e2a4a0.
|
|
|
|
| |
This reverts commit 62938bf08806129b42b17e74d79a450c30d4ff30.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The file_cache_only option causes the storage to be per process,
furthermore the arena is destroyed per request. Thus, zend_string's
can't survive between request and the permanent flag should not
be set. This is already done with the file cache part, but the
persistency part is used in various scenarios and should respect
this case as well. In this particular bug, the pcre pattern cache
needs to survive between requests and uses pattern strings as hash
keys. One more case relevant here would be various situations where
the flow disables the use of shared memory.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The environment variable "TRAVIS_COMMIT_MESSAGE" can contain multiple lines.
An example can be seen here https://travis-ci.org/php/php-src/jobs/195465293
|
|
|
|
| |
--enable-debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fix is based on the same strategy for handling namespace
declarations as used by getAttributeNode. Note that this strategy makes
these methods not return a DOMAttr for xmlns* attributes, but an
instance of the (undocumented) class DOMNameSpaceNode. This is not
really ideal, but at least this fix makes the behavior of
getAttributeNode and getAttributeNodeNS consistent.
A follow-up action would be to investigate whether DOMNameSpaceNode can
be made into a subclass of DOMAttr (which may be hard due to the way
libxml treats namespace declarations) or document this deviating return
value for xmlns* attributes.
|
| |
|
|
|
|
|
|
|
|
|
| |
This bug had already been fixed, but apparently there's no regression
test yet, so we add one.
Note that the expected image has black pixel artifacts, which are
another issue (perhaps bug #40158), and would have to be adressed
separately.
|
|
|
|
|
| |
The gdIOCtx struct should be zero filled with ecalloc.
emalloc does not zero fill the struct.
|
|
|
|
|
|
|
|
|
| |
We must take into account the line padding, when we're reading XBM
files.
We deliberately ignore the potential integer overflow here, because
that would be caught by gdImageCreate() or even earlier if `bytes==0`,
what happens in libgd00094.phpt which we adapt accordingly.
|
| |
|
| |
|
| |
|