]>
granicus.if.org Git - php/log
Etienne Kneuss [Tue, 27 Apr 2010 05:58:39 +0000 (05:58 +0000)]
Fix #51374 (Wrongly initialized object properties)
Pierrick Charron [Tue, 27 Apr 2010 05:56:56 +0000 (05:56 +0000)]
Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset
Etienne Kneuss [Tue, 27 Apr 2010 04:57:48 +0000 (04:57 +0000)]
Fix #49723 (Skip seek when unnecessary)
Kalle Sommer Nielsen [Mon, 26 Apr 2010 23:55:03 +0000 (23:55 +0000)]
Merge safe_mode changes into extensions that are in sync in both branches
Ilia Alshanetsky [Mon, 26 Apr 2010 18:35:54 +0000 (18:35 +0000)]
Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser
Pierre Joye [Mon, 26 Apr 2010 10:34:53 +0000 (10:34 +0000)]
- Fix #51582, Don't assume UINT64_C it's ever available
Felipe Pena [Sun, 25 Apr 2010 23:25:15 +0000 (23:25 +0000)]
- BFN #51624
Hannes Magnusson [Sun, 25 Apr 2010 18:55:06 +0000 (18:55 +0000)]
mention which setting!
Etienne Kneuss [Sun, 25 Apr 2010 05:18:42 +0000 (05:18 +0000)]
Fix #51532 (Invalid prototype for SplFileInfo::fscanf)
Felipe Pena [Sat, 24 Apr 2010 16:59:09 +0000 (16:59 +0000)]
- Fixed memory leak
Christopher Jones [Sat, 24 Apr 2010 00:44:56 +0000 (00:44 +0000)]
Initialize vars to prevent valgrind warnings in some cases
Andrey Hristov [Fri, 23 Apr 2010 13:54:40 +0000 (13:54 +0000)]
Fix for bug #51647 Certificate file without private key (pk in another file) doesn't work
Felipe Pena [Fri, 23 Apr 2010 13:32:03 +0000 (13:32 +0000)]
- Fixed compiler warnings
Felipe Pena [Thu, 22 Apr 2010 20:54:35 +0000 (20:54 +0000)]
- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile errors)
Andrey Hristov [Thu, 22 Apr 2010 16:28:50 +0000 (16:28 +0000)]
Change the way the allocator is called - through an abstraction
to give the possibility of pluggability. Thanks to the macros
already used the changes are not pervasive.
Andrey Hristov [Thu, 22 Apr 2010 16:22:56 +0000 (16:22 +0000)]
Fix problem spotted by Felipe.
Antony Dovgal [Thu, 22 Apr 2010 15:59:44 +0000 (15:59 +0000)]
revert most of the Andrey's patch that causes segfaults
(as agreed with Pierre)
Andrey Hristov [Thu, 22 Apr 2010 15:14:45 +0000 (15:14 +0000)]
adding what last commit was missing
Andrey Hristov [Thu, 22 Apr 2010 15:07:40 +0000 (15:07 +0000)]
Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).
Andrey Hristov [Thu, 22 Apr 2010 13:03:44 +0000 (13:03 +0000)]
Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.
Antony Dovgal [Thu, 22 Apr 2010 11:56:08 +0000 (11:56 +0000)]
initialize variable. this code still segfaults in OpenSSL, no idea why
Pierre Joye [Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 08:58:07 +0000 (08:58 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Adam Harvey [Thu, 22 Apr 2010 02:22:49 +0000 (02:22 +0000)]
Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
Felipe Pena [Wed, 21 Apr 2010 22:30:06 +0000 (22:30 +0000)]
- Changed order to FR
Felipe Pena [Wed, 21 Apr 2010 22:22:31 +0000 (22:22 +0000)]
- Fixed bug #51627 (script path not correctly evaluated)
Patch by: russell dot tempero at rightnow dot com
Felipe Pena [Wed, 21 Apr 2010 14:19:27 +0000 (14:19 +0000)]
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
Felipe Pena [Wed, 21 Apr 2010 12:52:24 +0000 (12:52 +0000)]
- Fix mem. leak
Andrey Hristov [Tue, 20 Apr 2010 20:02:32 +0000 (20:02 +0000)]
Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.
This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.
Andrey Hristov [Tue, 20 Apr 2010 19:09:56 +0000 (19:09 +0000)]
put the trigger in the right place
Andrey Hristov [Tue, 20 Apr 2010 18:04:24 +0000 (18:04 +0000)]
It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
Felipe Pena [Tue, 20 Apr 2010 16:45:46 +0000 (16:45 +0000)]
- Improve test
Felipe Pena [Tue, 20 Apr 2010 16:24:21 +0000 (16:24 +0000)]
- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)
Felipe Pena [Tue, 20 Apr 2010 15:59:01 +0000 (15:59 +0000)]
- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
Dmitry Stogov [Tue, 20 Apr 2010 15:41:35 +0000 (15:41 +0000)]
Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
Felipe Pena [Tue, 20 Apr 2010 14:11:53 +0000 (14:11 +0000)]
- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)
Felipe Pena [Tue, 20 Apr 2010 13:50:34 +0000 (13:50 +0000)]
- Fix copyrights
Antony Dovgal [Tue, 20 Apr 2010 12:50:02 +0000 (12:50 +0000)]
fix build
Dmitry Stogov [Tue, 20 Apr 2010 12:30:35 +0000 (12:30 +0000)]
Fixed bug #48781 (Cyclical garbage collector memory leak)
Felipe Pena [Tue, 20 Apr 2010 11:49:23 +0000 (11:49 +0000)]
- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
Antony Dovgal [Tue, 20 Apr 2010 10:04:26 +0000 (10:04 +0000)]
fix infinite loop in the test
Adam Harvey [Tue, 20 Apr 2010 04:31:11 +0000 (04:31 +0000)]
Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
Stanislav Malyshev [Tue, 20 Apr 2010 00:45:07 +0000 (00:45 +0000)]
fix 64-bit integer overflow in mhash_keygen_s2k
Felipe Pena [Sun, 18 Apr 2010 18:07:27 +0000 (18:07 +0000)]
- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)
Christopher Jones [Fri, 16 Apr 2010 22:34:25 +0000 (22:34 +0000)]
Add fix made previously
Christopher Jones [Fri, 16 Apr 2010 22:06:52 +0000 (22:06 +0000)]
Add attribution (thanks Felipe)
Christopher Jones [Fri, 16 Apr 2010 20:36:40 +0000 (20:36 +0000)]
Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
Christopher Jones [Fri, 16 Apr 2010 19:47:23 +0000 (19:47 +0000)]
Merge Kalle's tidy-up from trunk to keep files in sync
Christopher Jones [Thu, 15 Apr 2010 19:22:01 +0000 (19:22 +0000)]
Fix php.ini comment typo
Andrey Hristov [Thu, 15 Apr 2010 15:58:26 +0000 (15:58 +0000)]
Last batch of int/uint comparison fixes
Andrey Hristov [Thu, 15 Apr 2010 15:53:58 +0000 (15:53 +0000)]
More int/uint comparison warning fixes
Andrey Hristov [Thu, 15 Apr 2010 15:28:00 +0000 (15:28 +0000)]
Fix some int/uint comparison warnings
Andrey Hristov [Thu, 15 Apr 2010 15:22:56 +0000 (15:22 +0000)]
Remove unused file
Andrey Hristov [Thu, 15 Apr 2010 15:16:29 +0000 (15:16 +0000)]
more WS
Andrey Hristov [Thu, 15 Apr 2010 12:55:04 +0000 (12:55 +0000)]
CS + WS changes
Antony Dovgal [Thu, 15 Apr 2010 11:50:43 +0000 (11:50 +0000)]
final fix for long opts in getopt()
Andrey Hristov [Thu, 15 Apr 2010 11:01:30 +0000 (11:01 +0000)]
Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)
Antony Dovgal [Wed, 14 Apr 2010 15:49:38 +0000 (15:49 +0000)]
discard first TWO symbols of a long argument
Pierre Joye [Wed, 14 Apr 2010 09:45:37 +0000 (09:45 +0000)]
- #35638, add udate to imap_fetch_overview
Antony Dovgal [Tue, 13 Apr 2010 12:41:46 +0000 (12:41 +0000)]
simplify configure check for nanosleep()
Pierre Joye [Mon, 12 Apr 2010 19:57:07 +0000 (19:57 +0000)]
- begintransaction entry
Ilia Alshanetsky [Mon, 12 Apr 2010 14:04:45 +0000 (14:04 +0000)]
Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
Pierre Joye [Mon, 12 Apr 2010 13:10:05 +0000 (13:10 +0000)]
- [doc] merge stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices
Rob Richards [Fri, 9 Apr 2010 11:34:34 +0000 (11:34 +0000)]
fix bug #50828 (DOMNotation is not subclass of DOMNode)
Antony Dovgal [Thu, 8 Apr 2010 15:27:21 +0000 (15:27 +0000)]
make sure the actual length of the argument passed matches the
length of the argument declared
this fixes things like `php --zend-exten=1` or `php-fpm --fpm-con=conf`
Andrey Hristov [Thu, 8 Apr 2010 13:20:37 +0000 (13:20 +0000)]
Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
Andrey Hristov [Thu, 8 Apr 2010 13:18:52 +0000 (13:18 +0000)]
Fixing the second test
Andrey Hristov [Thu, 8 Apr 2010 10:53:38 +0000 (10:53 +0000)]
one more fix and both work with libmysql and mysqlnd
Antony Dovgal [Thu, 8 Apr 2010 09:56:18 +0000 (09:56 +0000)]
fix build
Andrey Hristov [Thu, 8 Apr 2010 09:01:21 +0000 (09:01 +0000)]
Fix for bug #51026 ssl not working
Pierre Joye [Thu, 8 Apr 2010 07:55:35 +0000 (07:55 +0000)]
- WS
Pierre Joye [Thu, 8 Apr 2010 07:50:05 +0000 (07:50 +0000)]
- WS
Andrey Hristov [Wed, 7 Apr 2010 18:28:46 +0000 (18:28 +0000)]
Another fix for the 16 chars user limitation of MySQL
Andrey Hristov [Wed, 7 Apr 2010 18:05:42 +0000 (18:05 +0000)]
Fix test. The usernames in the server are 16 chars long
Andrey Hristov [Tue, 6 Apr 2010 18:14:23 +0000 (18:14 +0000)]
Fix the Windows build (void* arithmetic) as well as --disable-zlib
build.
Andrey Hristov [Tue, 6 Apr 2010 14:33:55 +0000 (14:33 +0000)]
Stricly C
Antony Dovgal [Tue, 6 Apr 2010 13:42:21 +0000 (13:42 +0000)]
fix typo
Andrey Hristov [Tue, 6 Apr 2010 13:28:23 +0000 (13:28 +0000)]
Recommit with an Windows build fix:
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
Stanislav Malyshev [Sun, 4 Apr 2010 23:28:20 +0000 (23:28 +0000)]
change namespaced ctors - only __construct would work
Felipe Pena [Sun, 4 Apr 2010 17:21:27 +0000 (17:21 +0000)]
- Fix tests
Felipe Pena [Sun, 4 Apr 2010 16:57:44 +0000 (16:57 +0000)]
- Fix test
Felipe Pena [Sat, 3 Apr 2010 15:42:42 +0000 (15:42 +0000)]
- Fixed tests
Felipe Pena [Fri, 2 Apr 2010 21:44:09 +0000 (21:44 +0000)]
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
Rob Richards [Fri, 2 Apr 2010 20:08:15 +0000 (20:08 +0000)]
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)
Rasmus Lerdorf [Fri, 2 Apr 2010 18:27:48 +0000 (18:27 +0000)]
Fix tests
Rasmus Lerdorf [Fri, 2 Apr 2010 17:56:37 +0000 (17:56 +0000)]
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
Rob Richards [Fri, 2 Apr 2010 16:19:23 +0000 (16:19 +0000)]
fix WS
Rob Richards [Fri, 2 Apr 2010 16:15:06 +0000 (16:15 +0000)]
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN
Stanislav Malyshev [Thu, 1 Apr 2010 22:54:03 +0000 (22:54 +0000)]
fix #49192 - crash in GC when get_properties handler returns null
Pierre Joye [Thu, 1 Apr 2010 20:21:50 +0000 (20:21 +0000)]
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
Stanislav Malyshev [Thu, 1 Apr 2010 19:36:56 +0000 (19:36 +0000)]
fix #51394 - try harder to find script lineno when exception happens
Rasmus Lerdorf [Thu, 1 Apr 2010 18:04:57 +0000 (18:04 +0000)]
Add new full_special_chars filter to tests
Andrey Hristov [Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)]
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
Andrey Hristov [Thu, 1 Apr 2010 12:46:21 +0000 (12:46 +0000)]
Better fix for bug #51347 mysqli_close / connection memory leak
Ilia Alshanetsky [Thu, 1 Apr 2010 12:08:55 +0000 (12:08 +0000)]
On beginTransaction() reset error state
Andrey Hristov [Thu, 1 Apr 2010 11:50:24 +0000 (11:50 +0000)]
Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().
Pierre Joye [Thu, 1 Apr 2010 10:34:05 +0000 (10:34 +0000)]
- fix build
Rasmus Lerdorf [Wed, 31 Mar 2010 23:56:30 +0000 (23:56 +0000)]
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
Rasmus Lerdorf [Wed, 31 Mar 2010 22:59:09 +0000 (22:59 +0000)]
full_special_chars filter from trunk - approved by johannes
Johannes Schlüter [Tue, 30 Mar 2010 21:09:07 +0000 (21:09 +0000)]
It's 2010 already