]> granicus.if.org Git - php/log
php
10 years agoFix wrong exec length on relative paths
Bob Weinand [Tue, 28 Oct 2014 12:27:20 +0000 (13:27 +0100)]
Fix wrong exec length on relative paths

10 years agoFix possibly unclosed <stream> tags
Bob Weinand [Tue, 28 Oct 2014 12:20:43 +0000 (13:20 +0100)]
Fix possibly unclosed <stream> tags

10 years agoFix potential segfaults and unresolved breaks
Bob Weinand [Tue, 28 Oct 2014 11:38:07 +0000 (12:38 +0100)]
Fix potential segfaults and unresolved breaks

10 years ago*Always* clean up and run destructors
Bob Weinand [Tue, 28 Oct 2014 11:27:19 +0000 (12:27 +0100)]
*Always* clean up and run destructors

10 years ago5.6.4 now
Julien Pauli [Tue, 28 Oct 2014 15:00:19 +0000 (16:00 +0100)]
5.6.4 now

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Tue, 28 Oct 2014 07:50:48 +0000 (08:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Ensure we have enough input data before parsing date

10 years agoEnsure we have enough input data before parsing date
Remi Collet [Tue, 28 Oct 2014 07:48:22 +0000 (08:48 +0100)]
Ensure we have enough input data before parsing date

This check have be removed in
http://git.php.net/?p=php-src.git;a=commit;h=ba2f87b50667f147c198abd31fc31eb09522f3d7
But the parser really need 17 char.
And the string need to be nul terminated for this check
So avoid reading random byte from memory.

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Stanislav Malyshev [Tue, 28 Oct 2014 02:07:32 +0000 (19:07 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix bug #68095 - invalid read in php_getopt()

10 years agoFix bug #68095 - invalid read in php_getopt()
Stanislav Malyshev [Tue, 28 Oct 2014 02:04:46 +0000 (19:04 -0700)]
Fix bug #68095 - invalid read in php_getopt()

It's a hacky solution and incomplete, but I don't see other way
without refactoring the whole getopt protocol.

10 years agoMerge phpdbg into PHP-5.6
Bob Weinand [Mon, 27 Oct 2014 13:07:26 +0000 (14:07 +0100)]
Merge phpdbg into PHP-5.6

10 years agoFix resolving breakpoints of already loaded files
Bob Weinand [Mon, 27 Oct 2014 12:55:20 +0000 (13:55 +0100)]
Fix resolving breakpoints of already loaded files

10 years agoNever exist xml mode...
Bob Weinand [Mon, 27 Oct 2014 12:27:54 +0000 (13:27 +0100)]
Never exist xml mode...

10 years agoMerge phpdbg into PHP-5.6
Bob Weinand [Mon, 27 Oct 2014 12:11:13 +0000 (13:11 +0100)]
Merge phpdbg into PHP-5.6

Conflicts:
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_prompt.c

10 years agoFix failing quit when quitting during execution
Bob Weinand [Mon, 27 Oct 2014 10:02:08 +0000 (11:02 +0100)]
Fix failing quit when quitting during execution

10 years agoFix segfault when cleaning without execution context
Bob Weinand [Mon, 27 Oct 2014 10:01:43 +0000 (11:01 +0100)]
Fix segfault when cleaning without execution context

10 years agoFix listening on port
Bob Weinand [Mon, 27 Oct 2014 09:44:01 +0000 (10:44 +0100)]
Fix listening on port

10 years agoMerge branch 'master' of github.com:krakjoe/phpdbg
Anatol Belski [Mon, 27 Oct 2014 09:19:59 +0000 (10:19 +0100)]
Merge branch 'master' of github.com:krakjoe/phpdbg

Conflicts:
phpdbg_prompt.c

10 years agoimprove the current sigio handling on win32
Anatol Belski [Mon, 27 Oct 2014 09:08:58 +0000 (10:08 +0100)]
improve the current sigio handling on win32

10 years agoNEWS
Remi Collet [Mon, 27 Oct 2014 06:51:50 +0000 (07:51 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Mon, 27 Oct 2014 06:50:42 +0000 (07:50 +0100)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Conflicts:
ext/gmp/gmp.c

10 years agoNEWS
Remi Collet [Mon, 27 Oct 2014 06:47:18 +0000 (07:47 +0100)]
NEWS

10 years agoFix bug #63595 GMP memory management conflicts with other libraries using GMP
Remi Collet [Mon, 27 Oct 2014 06:45:34 +0000 (07:45 +0100)]
Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

10 years agoDo not execute anything after quit or clean command
Bob Weinand [Sun, 26 Oct 2014 22:33:54 +0000 (23:33 +0100)]
Do not execute anything after quit or clean command

10 years agoFix last commit, and do not output unnecessary information
Bob Weinand [Sun, 26 Oct 2014 21:21:18 +0000 (22:21 +0100)]
Fix last commit, and do not output unnecessary information

10 years agoStabilize execution, always run destructors and extended file breakpoints
Bob Weinand [Sun, 26 Oct 2014 19:43:49 +0000 (20:43 +0100)]
Stabilize execution, always run destructors and extended file breakpoints

10 years agoFix nullptr dereference in clean without exec context
Bob Weinand [Sun, 26 Oct 2014 09:48:45 +0000 (10:48 +0100)]
Fix nullptr dereference in clean without exec context

10 years agoremove dodgy param parser, bring userland breakpoint api inline with PHP7
krakjoe [Sun, 26 Oct 2014 07:24:35 +0000 (07:24 +0000)]
remove dodgy param parser, bring userland breakpoint api inline with PHP7

10 years agodisable output buffering by default
krakjoe [Sun, 26 Oct 2014 07:08:29 +0000 (07:08 +0000)]
disable output buffering by default

10 years agoAdd question to reset execution in run/exec/clean
Bob Weinand [Sun, 26 Oct 2014 02:50:28 +0000 (03:50 +0100)]
Add question to reset execution in run/exec/clean

10 years agoDo not execute anything after quit or clean command
Bob Weinand [Sun, 26 Oct 2014 22:33:54 +0000 (23:33 +0100)]
Do not execute anything after quit or clean command

10 years agoFix last commit, and do not output unnecessary information
Bob Weinand [Sun, 26 Oct 2014 21:21:18 +0000 (22:21 +0100)]
Fix last commit, and do not output unnecessary information

10 years agoStabilize execution, always run destructors and extended file breakpoints
Bob Weinand [Sun, 26 Oct 2014 19:43:49 +0000 (20:43 +0100)]
Stabilize execution, always run destructors and extended file breakpoints

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Derick Rethans [Sun, 26 Oct 2014 14:54:09 +0000 (10:54 -0400)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years ago- Updated to version 2014.9 (2014i)
Derick Rethans [Sun, 26 Oct 2014 14:54:07 +0000 (10:54 -0400)]
- Updated to version 2014.9 (2014i)

10 years agoFix nullptr dereference in clean without exec context
Bob Weinand [Sun, 26 Oct 2014 09:48:45 +0000 (10:48 +0100)]
Fix nullptr dereference in clean without exec context

10 years agoremove dodgy param parser, bring userland breakpoint api inline with PHP7
krakjoe [Sun, 26 Oct 2014 07:24:35 +0000 (07:24 +0000)]
remove dodgy param parser, bring userland breakpoint api inline with PHP7

10 years agodisable output buffering by default
krakjoe [Sun, 26 Oct 2014 07:08:29 +0000 (07:08 +0000)]
disable output buffering by default

10 years agoAdd question to reset execution in run/exec/clean
Bob Weinand [Sun, 26 Oct 2014 02:50:28 +0000 (03:50 +0100)]
Add question to reset execution in run/exec/clean

10 years agoMerge phpdbg into PHP-5.6
Bob Weinand [Sat, 25 Oct 2014 16:59:48 +0000 (18:59 +0200)]
Merge phpdbg into PHP-5.6

10 years agoFix phpdbg output when outputting via php with active output handlers
Bob Weinand [Sat, 25 Oct 2014 16:48:43 +0000 (18:48 +0200)]
Fix phpdbg output when outputting via php with active output handlers

10 years agoSet engine back to initial state after fatal-ed ev command
Bob Weinand [Sat, 25 Oct 2014 13:29:54 +0000 (15:29 +0200)]
Set engine back to initial state after fatal-ed ev command

10 years agoFix eventual stack overflow after clean cmd
Bob Weinand [Sat, 25 Oct 2014 13:28:41 +0000 (15:28 +0200)]
Fix eventual stack overflow after clean cmd

10 years agoFix listing of files with no absolute path
Bob Weinand [Sat, 25 Oct 2014 13:06:34 +0000 (15:06 +0200)]
Fix listing of files with no absolute path

10 years agostdint will be included in the win32 variant, so don't do it twice
Anatol Belski [Sat, 25 Oct 2014 11:01:17 +0000 (13:01 +0200)]
stdint will be included in the win32 variant, so don't do it twice

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Sat, 25 Oct 2014 10:04:27 +0000 (12:04 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  updated libmagic.patch in 5.5

10 years agoupdated libmagic.patch in 5.6
Anatol Belski [Sat, 25 Oct 2014 10:03:49 +0000 (12:03 +0200)]
updated libmagic.patch in 5.6

10 years agoupdated libmagic.patch in 5.5
Anatol Belski [Sat, 25 Oct 2014 10:01:58 +0000 (12:01 +0200)]
updated libmagic.patch in 5.5

10 years agoNEWS
Remi Collet [Sat, 25 Oct 2014 09:30:53 +0000 (11:30 +0200)]
NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Remi Collet [Sat, 25 Oct 2014 09:30:29 +0000 (11:30 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  Fix bug #68283: fileinfo: out-of-bounds read in elf note headers

10 years agoNEWS
Remi Collet [Sat, 25 Oct 2014 09:29:53 +0000 (11:29 +0200)]
NEWS

10 years agoFix bug #68283: fileinfo: out-of-bounds read in elf note headers
Remi Collet [Wed, 22 Oct 2014 13:37:04 +0000 (15:37 +0200)]
Fix bug #68283: fileinfo: out-of-bounds read in elf note headers

Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0

CVE -2014-3710

(cherry picked from commit 1803228597e82218a8c105e67975bc50e6f5bf0d)

10 years agoAdded some NEWS
Bob Weinand [Fri, 24 Oct 2014 17:26:04 +0000 (19:26 +0200)]
Added some NEWS

10 years agoMerge phpdbg into PHP-5.6
Bob Weinand [Fri, 24 Oct 2014 17:22:45 +0000 (19:22 +0200)]
Merge phpdbg into PHP-5.6

10 years agoMake xml valid (missing space between attrs)
Bob Weinand [Fri, 24 Oct 2014 12:42:18 +0000 (14:42 +0200)]
Make xml valid (missing space between attrs)

10 years agoFix info classes file name in xml
Bob Weinand [Fri, 24 Oct 2014 12:29:06 +0000 (14:29 +0200)]
Fix info classes file name in xml

10 years agoAdd note about <eval> tag for errors in xml.md
Bob Weinand [Fri, 24 Oct 2014 12:18:02 +0000 (14:18 +0200)]
Add note about <eval> tag for errors in xml.md

10 years agoName the tag <eval> if the error id during ev cmd
Bob Weinand [Fri, 24 Oct 2014 12:16:49 +0000 (14:16 +0200)]
Name the tag <eval> if the error id during ev cmd

10 years agoDo not print out xml as PHP print...
Bob Weinand [Fri, 24 Oct 2014 11:11:14 +0000 (13:11 +0200)]
Do not print out xml as PHP print...

10 years agoFix output to wrong function
Bob Weinand [Fri, 24 Oct 2014 10:55:44 +0000 (12:55 +0200)]
Fix output to wrong function

10 years agoFixed parameter order on %.*s
Bob Weinand [Fri, 24 Oct 2014 10:32:48 +0000 (12:32 +0200)]
Fixed parameter order on %.*s

10 years agoToo much copypaste...
Bob Weinand [Thu, 23 Oct 2014 18:14:12 +0000 (20:14 +0200)]
Too much copypaste...

10 years agoAdd xml formatted deep dump of return value from ev
Bob Weinand [Thu, 23 Oct 2014 15:19:26 +0000 (17:19 +0200)]
Add xml formatted deep dump of return value from ev

10 years agoFix some compiler warnings
Bob Weinand [Thu, 23 Oct 2014 11:23:37 +0000 (13:23 +0200)]
Fix some compiler warnings

10 years agoMove phpdbg_print and helper functions to phpdbg_out.*
Bob Weinand [Thu, 23 Oct 2014 11:16:00 +0000 (13:16 +0200)]
Move phpdbg_print and helper functions to phpdbg_out.*

10 years agoDo not use int8_t when it is useless...
Bob Weinand [Thu, 23 Oct 2014 11:02:50 +0000 (13:02 +0200)]
Do not use int8_t when it is useless...

10 years agoFixed frame numbering in xml output
Bob Weinand [Thu, 23 Oct 2014 10:38:35 +0000 (12:38 +0200)]
Fixed frame numbering in xml output

10 years agoDo not display dots in xml output for i v/i d
Bob Weinand [Thu, 23 Oct 2014 10:23:48 +0000 (12:23 +0200)]
Do not display dots in xml output for i v/i d

10 years agoTry fixing 5.4 and 5.5 build, again
Bob Weinand [Wed, 22 Oct 2014 17:58:52 +0000 (19:58 +0200)]
Try fixing 5.4 and 5.5 build, again

10 years agoNEWS
Remi Collet [Wed, 22 Oct 2014 13:27:21 +0000 (15:27 +0200)]
NEWS

10 years agoFix bug #68224 buffer-overflow in /ext/fileinfo/libmagic/readcdf.c caught by AddressS...
Remi Collet [Wed, 22 Oct 2014 13:24:59 +0000 (15:24 +0200)]
Fix bug #68224 buffer-overflow in /ext/fileinfo/libmagic/readcdf.c caught by AddressSanitizer

Upstream commit
https://github.com/file/file/commit/f28fbb947e3aa55fc40b09820f59ebff6f66f213

10 years agoadd comment
Anatol Belski [Tue, 21 Oct 2014 15:43:23 +0000 (17:43 +0200)]
add comment

10 years agorestart listening on socket
Anatol Belski [Tue, 21 Oct 2014 14:56:06 +0000 (16:56 +0200)]
restart listening on socket

if remote sent somthing else than ctrl+c while performing something blocking

10 years agosome minor fixes
Anatol Belski [Tue, 21 Oct 2014 14:19:31 +0000 (16:19 +0200)]
some minor fixes

10 years agoadded phpdbg_eol.* sources
Anatol Belski [Tue, 21 Oct 2014 14:18:44 +0000 (16:18 +0200)]
added phpdbg_eol.* sources

10 years agobasic EOL implementation for CRLF
Anatol Belski [Tue, 21 Oct 2014 13:50:55 +0000 (15:50 +0200)]
basic EOL implementation for CRLF

10 years agostart sigio watcher only for run and eval for now
Anatol Belski [Tue, 21 Oct 2014 09:46:32 +0000 (11:46 +0200)]
start sigio watcher only for run and eval for now

there myght be more needing that

10 years agoreworked the current EOL stuff
Anatol Belski [Tue, 21 Oct 2014 09:29:18 +0000 (11:29 +0200)]
reworked the current EOL stuff

10 years agoprepare setting EOL with command or INI
Anatol Belski [Tue, 21 Oct 2014 08:35:20 +0000 (10:35 +0200)]
prepare setting EOL with command or INI

10 years agocorrect place to start the sigio watcher
Anatol Belski [Tue, 21 Oct 2014 07:55:22 +0000 (09:55 +0200)]
correct place to start the sigio watcher

plus started with the eol command

10 years agofurther improvements to windows/sigio
Anatol Belski [Mon, 20 Oct 2014 20:55:00 +0000 (22:55 +0200)]
further improvements to windows/sigio

10 years agobasic sigio surrogate for windows
Anatol Belski [Mon, 20 Oct 2014 20:12:58 +0000 (22:12 +0200)]
basic sigio surrogate for windows

10 years agoAlways show the prompt (now also: <prompt> tag)
Bob Weinand [Mon, 20 Oct 2014 20:05:05 +0000 (22:05 +0200)]
Always show the prompt (now also: <prompt> tag)

10 years agoFix off-by-one bug in text messages (msg/<phpdbg>)
Bob Weinand [Mon, 20 Oct 2014 19:52:47 +0000 (21:52 +0200)]
Fix off-by-one bug in text messages (msg/<phpdbg>)

10 years agoAdd xml.md info for info constants
Bob Weinand [Mon, 20 Oct 2014 19:22:16 +0000 (21:22 +0200)]
Add xml.md info for info constants

10 years agoEnsure that %.*s uses the full string (INCLUDING \0)
Bob Weinand [Mon, 20 Oct 2014 19:17:45 +0000 (21:17 +0200)]
Ensure that %.*s uses the full string (INCLUDING \0)

10 years agoAdd info constants (alias: i d) command
Bob Weinand [Mon, 20 Oct 2014 19:14:13 +0000 (21:14 +0200)]
Add info constants (alias: i d) command

10 years agoAdd values of scalars to info vars/globals
Bob Weinand [Mon, 20 Oct 2014 14:05:37 +0000 (16:05 +0200)]
Add values of scalars to info vars/globals

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Mon, 20 Oct 2014 13:54:33 +0000 (15:54 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  initialize lineno before calling compile file file in phar
  News entry for new curl constants

10 years agoinitialize lineno before calling compile file file in phar
Anatol Belski [Mon, 20 Oct 2014 13:53:32 +0000 (15:53 +0200)]
initialize lineno before calling compile file file in phar

10 years agoFix for ports >= 1<<15
Bob Weinand [Mon, 20 Oct 2014 07:47:35 +0000 (09:47 +0200)]
Fix for ports >= 1<<15

10 years agoFix reading from remote on some *nixes
Bob Weinand [Mon, 20 Oct 2014 06:46:22 +0000 (08:46 +0200)]
Fix reading from remote on some *nixes

10 years agoFix TSRMLS_* and a few warnings
Bob Weinand [Sun, 19 Oct 2014 19:20:43 +0000 (21:20 +0200)]
Fix TSRMLS_* and a few warnings

10 years agorevert PHP_EOL changes
Anatol Belski [Sun, 19 Oct 2014 18:09:39 +0000 (20:09 +0200)]
revert PHP_EOL changes

10 years agodon't use timeout for the remote prompt, recv() will block until input arrives
Anatol Belski [Sun, 19 Oct 2014 16:30:07 +0000 (18:30 +0200)]
don't use timeout for the remote prompt, recv() will block until input arrives

10 years agoimprove server sock creation and support ipv6
Anatol Belski [Sun, 19 Oct 2014 11:40:45 +0000 (13:40 +0200)]
improve server sock creation and support ipv6

10 years agoadd comment
Anatol Belski [Sun, 19 Oct 2014 09:16:56 +0000 (11:16 +0200)]
add comment

10 years agoincrease default recv timeout to 30 seconds
Anatol Belski [Sun, 19 Oct 2014 09:16:01 +0000 (11:16 +0200)]
increase default recv timeout to 30 seconds

10 years agomore EOL fixes
Anatol Belski [Sun, 19 Oct 2014 09:10:13 +0000 (11:10 +0200)]
more EOL fixes

10 years agouse MSG_PEEK flag for recv() everywhere
Anatol Belski [Sun, 19 Oct 2014 09:03:17 +0000 (11:03 +0200)]
use MSG_PEEK flag for recv() everywhere

10 years agofixed EOL transferred to the client side, fixed strftime fmt string
Anatol Belski [Sun, 19 Oct 2014 08:39:44 +0000 (10:39 +0200)]
fixed EOL transferred to the client side, fixed strftime fmt string

the windows telnet gets broken output when receiving no '\r'